summaryrefslogtreecommitdiff
path: root/lib/bundler/rubygems_integration.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-12-18 14:53:19 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-12-18 14:53:19 +0900
commitefbc0d499c0dc5b74698418c76e58098c6c113e1 (patch)
tree006ae0b7dc322164a0b74549bc263f67494c70f9 /lib/bundler/rubygems_integration.rb
parentfa7fa5c86b0674eca233922045e4d3dd4ee49cb7 (diff)
Merge bundler-2.1.1 from bundler/bundler
Diffstat (limited to 'lib/bundler/rubygems_integration.rb')
-rw-r--r--lib/bundler/rubygems_integration.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb
index bb63209632..88fcd4d9e0 100644
--- a/lib/bundler/rubygems_integration.rb
+++ b/lib/bundler/rubygems_integration.rb
@@ -525,6 +525,14 @@ module Bundler
end
end
+ def plain_specs
+ Gem::Specification._all
+ end
+
+ def plain_specs=(specs)
+ Gem::Specification.all = specs
+ end
+
def fetch_specs(remote, name)
path = remote.uri.to_s + "#{name}.#{Gem.marshal_version}.gz"
fetcher = gem_remote_fetcher