summaryrefslogtreecommitdiff
path: root/lib/bundler/dep_proxy.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix DepProxy#hash calculationChristian Bruckmayer2018-08-231-1/+1
| | | | | | | | | According to the official Ruby documentation, "the eql? method returns true if obj and other refer to the same hash key." This was not the case as the hash key of a DepProxy instance was only calculated based on the dep object but in the eql? method dep and platform attributes were computed. This caused that equal objects returned different hash keys. https://ruby-doc.org/core-2.5.1/Object.html#method-i-eql-3F
* Fix DepProxy#== undefind method errorChristian Bruckmayer2018-08-231-1/+1
| | | | | | | | | | | | DepProxy#== crashed with an undefind method error for anything other than a DepProxy class or nil as parameter. This was caused that it was assumed only DepProxy instances or nil can get passed as parameter. This commit implements checking the class as well and returns false if the classes are not the same. Fixes jruby/jruby#5280 travis-ci/travis-ci#9994
* [DepProxy] Allow == nilSamuel Giddins2017-08-011-0/+1
|
* [RuboCop] Enable Layout/EmptyLineAfterMagicComment copKoichi ITO2017-07-161-0/+1
|
* Compatibility with frozen string literalsSamuel Giddins2016-01-311-0/+1
|
* Fix Style/OpMethodVictor Koronen2015-08-141-2/+2
|
* Merge pull request #3904 from esasse/rubocop-fixAndré Arko2015-08-131-1/+2
|\ | | | | Fix Style/ParallelAssignment
| * Fix Style/ParallelAssignmentErick Sasse2015-08-021-1/+2
| |
* | Auto merge of #3862 - bundler:seg-resolver-error-formatting, r=segiddinsHomu2015-08-021-3/+6
|\ \ | |/ |/| | | | | | | Resolver error formatting Closes https://github.com/bundler/bundler/issues/3803
| * Get rid of clean_req in favor of a nicer #to_s in DepProxySamuel E. Giddins2015-07-221-1/+4
| |
| * [DepProxy] Also forward block args to the depSamuel E. Giddins2015-07-201-2/+2
| |
* | Fix Style/AliasErick Sasse2015-07-231-1/+1
|/
* [RuboCop] Enable Style/EmptyLinesSamuel E. Giddins2015-07-151-2/+0
|
* [Resolver] Start migration to MolinilloSamuel E. Giddins2014-11-241-2/+2
|
* name and requirement methods are needed, so define them to avoidAaron Patterson2011-12-051-0/+8
| | | | method_missing.
* pull GemHelpers and MatchPlatform modules into filesAndre Arko2011-10-011-0/+35