diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-07-30 11:48:46 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-08-31 19:06:14 +0900 |
commit | 23c27d2c7b10431ab806d25a7ea4ff5fc87691d3 (patch) | |
tree | 52e1911bfbb5cc582a1c463690fb66e3f2d7a47b /lib/bundler | |
parent | 0ab160e2e0b959054c28b06f1ada3f015c9f3bc3 (diff) | |
download | ruby-23c27d2c7b10431ab806d25a7ea4ff5fc87691d3.tar.gz |
[rubygems/rubygems] Don't sort materialized specs when not necessary
This should fix a weird flaky spec failure, given that the code
producing the error will be no longer run.
https://github.com/rubygems/rubygems/commit/a171965409
Diffstat (limited to 'lib/bundler')
-rw-r--r-- | lib/bundler/spec_set.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/spec_set.rb b/lib/bundler/spec_set.rb index 4e252b45a7..7be4fcca87 100644 --- a/lib/bundler/spec_set.rb +++ b/lib/bundler/spec_set.rb @@ -92,7 +92,7 @@ module Bundler end def missing_specs - select {|s| s.is_a?(LazySpecification) } + @specs.select {|s| s.is_a?(LazySpecification) } end def merge(set) |