summaryrefslogtreecommitdiff
path: root/lib/bundler/dependency.rb
Commit message (Collapse)AuthorAgeFilesLines
* Extract `expanded_platforms`David Rodríguez2019-07-101-1/+5
|
* Added Ruby 2.6 to dsl.ruby26Hiroshi SHIBATA2019-05-021-0/+6
|
* Merge #7127Bundlerbot2019-04-231-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7127: Add git and branch options to `bundle add` r=deivid-rodriguez a=tokachev Closes #6841 These changes will allow to add a gem with the git or branch options. ``` bundle add redis --git "https://github.com/redis/redis-rb" --branch "staging" ``` The result in Gemfile will be: ``` gem "redis", "~> 4.0", :git => "https://github.com/redis/redis-rb", :branch => "staging" ``` Co-authored-by: Baumgarten <baumgarten@localhost.localdomain>
| * Add git and branch options to `bundle add`Baumgarten2019-04-131-1/+3
| |
* | Prefer `require_relative` for internal requiresDavid Rodríguez2019-04-191-2/+2
|/ | | | | | | | Due to the way rubygems monkey-patched require interacts with default gems, and given that bundler is a default gem, and that bundler manipulates the LOAD_PATH in very intricated ways, we can reduce the risk of "leaking" to a different copy of `bundler` by using `require_relative` for internal requires.
* Add TruffleRuby to Bundler::Dependency::PLATFORM_MAPBenoit Daloze2018-09-091-0/+1
|
* Add gemfile method to dependencyAgrim Mittal2018-06-281-2/+2
|
* [RuboCop] Enable Layout/EmptyLineAfterMagicComment copKoichi ITO2017-07-161-0/+1
|
* [Definition] Only sort platforms once in expand_dependenciesseg-bundler-2-specific-platformSamuel Giddins2017-07-051-7/+5
|
* Support :mri_25 platform and its variationsAkira Matsuda2016-12-261-0/+6
|
* Auto merge of #5170 - amatsuda:mri_24, r=segiddinsHomu2016-12-251-1/+7
| | | | | | | | | | | | | | | | Support :mri_24 platform Current ruby trunk is versioned as "2.4.0". % ruby -ve 'p RUBY_VERSION' ruby 2.4.0dev (2016-11-15 trunk 56792) [x86_64-darwin15] "2.4.0" We'd like to run tests on some gems against ruby-trunk or 2.4 pre-releases, so here's a support for MRI 2.4. (This is Ruby 2.4 version of #3865) (cherry picked from commit aa9414e78f527ee2066d21783abb7d52a55f68a9)
* Compatibility with frozen string literalsSamuel Giddins2016-01-311-0/+1
|
* Revert "Revert "When loading a gem from a gemspec, restrict to the platforms ↵Mike Virata-Stone2015-12-151-0/+9
| | | | | | defined in the gemspec"" This reverts commit 812fd738412997a6815eac1be8cb6696d38718b0.
* Revert "When loading a gem from a gemspec, restrict to the platforms defined ↵Andre Arko2015-12-131-9/+0
| | | | | | | | in the gemspec" This reverts commit 4b7a940f668d1884d9266946a48ba55a80c4d513. fixes #4150
* Auto merge of #4124 - bundler:seg-rubocop, r=indirectHomu2015-11-271-5/+3
|\ | | | | | | More rubocop_todo cleanup
| * [RuboCop] Enable Style/IfUnlessModifierSamuel Giddins2015-11-261-3/+1
| |
| * [RuboCop] Enable Style/BlockDelimitersSamuel Giddins2015-11-261-2/+2
| |
* | When loading a gem from a gemspec, restrict to the platforms defined in the ↵Mike Virata-Stone2015-11-181-0/+9
|/ | | | | | gemspec This fixes #4102
* Support :mri_23 platform and its variationsAkira Matsuda2015-07-221-1/+7
|
* Add mswin_22 and mswin64_22 to the platform mapAkira Matsuda2015-07-221-0/+2
| | | | see: e6bc48eb5ffcfd9f208597fc772c75a7b086b3e2 and 3472286166e1626fbfbf5d3bbe16e22e9cea496f
* [RuboCop] Enable Style/StringLiteralsSamuel E. Giddins2015-07-151-6/+6
|
* [RuboCop] Enable Style/SymbolProcSamuel E. Giddins2015-07-151-1/+1
|
* [DSL] Add install_if method / optionseg-install-ifSamuel E. Giddins2015-05-021-6/+7
|
* Merge tag 'v1.7.12'Andre Arko2015-01-241-1/+4
|\ | | | | | | | | | | | | | | | | Version 1.7.12 Conflicts: CHANGELOG.md lib/bundler/fetcher.rb spec/cache/platform_spec.rb
| * Teach Bundler to recognize (x64_)mingw_22 platformAlex Coles2014-12-301-1/+3
| | | | | | | | | | | | See e6bc48eb. Signed-off-by: Alex Coles <alex@alexbcoles.com>
| * Teach Bundler to recognize mri_22 platformAlex Coles2014-12-301-0/+1
| | | | | | | | | | | | See e6bc48eb. Signed-off-by: Alex Coles <alex@alexbcoles.com>
| * Added ruby_22? and friends to CurrentRuby.Thomas Drake-Brockman2014-12-141-0/+1
| |
* | add `:ruby_22` platform optionAbdelkader Boudih2014-09-251-0/+1
| |
* | Fixing Extraneous Blank lineRory McCune2014-05-121-1/+0
| | | | | | Fixing an issue on pullreview.com, instance of extraneous Blank Line
* | Revert "Merge pull request #2988 from mvz/issue-2774-rbx-deps"Andre Arko2014-05-051-1/+1
| | | | | | | | | | | | | | | | | | As seen in later tests, Rubygems does not recognize a Rubinius platform. That makes this infeasible. We either need to add Rubinius to Rubygems as a platform, or come up with another way to exclude Rubinius-only gems. This reverts commit 20892c8d6741cf99ac5307d8a07055a3cd1a77f3, reversing changes made to abcb4237f3dec316c42d58ec9037929c12a8da91.
* | Add rubinius as a seperate generic platformMatijs van Zuijlen2014-04-201-1/+1
| |
* | Mswin64 support.U.Nakamura2014-04-111-0/+8
|/
* Avoid threequals operator where possibleAntonio Scandurra2014-03-211-2/+2
|
* Merge pull request #2611 from mcfiredrill/jruby18and19André Arko2013-09-261-0/+2
|\ | | | | add jruby_18 and jruby_19 to platforms
| * add jruby_18 and jruby_19 to platformsTony Miller2013-08-241-0/+2
| |
* | adding platform support for ruby 2.1Brandon Black2013-09-241-1/+5
|/ | | | | * added new platform and ruby version helpers * updated man file and tests
* Add proper support for x64-mingw32 platform.Lars Kanis2013-08-101-1/+3
| | | | This fixes github issue #2356 .
* Extract Current Ruby version/platform detection from dependency.rbHemant Kumar2013-07-181-81/+3
| | | | | | That can be reused across several places in bundler and hence extracted that code which is responsible for properly detecting current ruby version.
* Implement Dependency#specific? for use with rubygems <= 1.7.2Ryan Ahearn2013-05-291-0/+7
|
* distinguish between 1.9 and 2.0 correctlyAndre Arko2013-01-061-9/+21
| | | | via @spastorino
* add ABI platforms :ruby_20 and :mri_20Andre Arko2012-12-201-1/+17
| | | closes #2151
* Revert "Ruby 2.0 (trunk ruby) is not Ruby 1.9"Andre Arko2012-08-151-2/+2
| | | | | | As discussed in #1539 and #2056, Bundler uses platforms to distinguish Ruby ABI versions. That means the known (and ATM supported) use cases for the ruby_19 platform include Ruby 2.0. This reverts commit dcfb640c2c78671a90ab10ce4c8d98a157ad975c.
* Ruby 2.0 (trunk ruby) is not Ruby 1.9Aaron Patterson2011-11-161-2/+2
|
* Add support for MagLev.Tim Felgentreff2011-09-211-1/+5
|
* remove double-implementation of Dependency#to_lockAndre Arko2011-09-171-8/+1
|
* Allow overriding development deps loaded by #gemspecLars Gierth2011-08-091-1/+2
| | | | closes #1245
* Safer check for RubiniusRalph Bodenner2011-05-191-1/+1
|
* Fix #1050: no platform for rubiniusRalph Bodenner2011-05-191-0/+5
|
* force unsorted requirements order in lockfile for backwards RG compatAndre Arko2011-03-171-1/+2
|
* Add mingw_18 and mingw19 as platform for mingw with 1.8 or 1.9 RUBY version.serge2010-11-141-9/+20
| | | | Closes #845