summaryrefslogtreecommitdiff
path: root/lib/bundler/source
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-12-21 14:50:44 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-12-21 15:27:05 +0900
commit69dc2ea46538f47ff5edda3bb16863034bd19069 (patch)
treea4c545640fbdf31ab90f02a7def173840944806b /lib/bundler/source
parentad450c9fe51c51626dd07f6e766f47d839cae3ba (diff)
Merge RubyGems-3.3.0 and Bundler-2.3.0
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5317
Diffstat (limited to 'lib/bundler/source')
-rw-r--r--lib/bundler/source/metadata.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source/metadata.rb b/lib/bundler/source/metadata.rb
index 50b65ce0ea..8bdbaa5527 100644
--- a/lib/bundler/source/metadata.rb
+++ b/lib/bundler/source/metadata.rb
@@ -25,7 +25,7 @@ module Bundler
s.loaded_from = File.expand_path("..", __FILE__)
end
- if local_spec = Bundler.rubygems.find_name("bundler").find {|s| s.version.to_s == VERSION }
+ if local_spec = Bundler.rubygems.find_bundler(VERSION)
idx << local_spec
end