aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/source
diff options
context:
space:
mode:
authorMartin Emde <martin.emde@gmail.com>2023-09-01 15:47:58 -0700
committergit <svn-admin@ruby-lang.org>2023-09-12 19:42:46 +0000
commitd43765c3a9d006599895538be12b5b45c1873085 (patch)
tree76a803b9d78807c6f6c6e22ddf764b19977659da /lib/bundler/source
parent0ae7f2d1ac354cd92d513f934aede0cabd6dbc9f (diff)
downloadruby-d43765c3a9d006599895538be12b5b45c1873085.tar.gz
[rubygems/rubygems] Unify LockfileParser loading of SPECS section
Ensure unrecognized SPECS types are ignored https://github.com/rubygems/rubygems/commit/5b33e91075
Diffstat (limited to 'lib/bundler/source')
-rw-r--r--lib/bundler/source/rubygems.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/source/rubygems.rb b/lib/bundler/source/rubygems.rb
index 44102c47c8..3d4d2eeec1 100644
--- a/lib/bundler/source/rubygems.rb
+++ b/lib/bundler/source/rubygems.rb
@@ -88,6 +88,7 @@ module Bundler
end
def self.from_lock(options)
+ options["remotes"] = Array(options.delete("remote")).reverse
new(options)
end