summaryrefslogtreecommitdiff
path: root/lib/bundler/rubygems_integration.rb
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2019-12-17 22:32:52 +0000
committerBundlerbot <bot@bundler.io>2019-12-17 22:32:52 +0000
commit8bd21aa0f5dc92fce4df277715f4eab546d30a7f (patch)
treeb2ab1e41a1f24405d4fbf30e25e2daf06eaf7c8a /lib/bundler/rubygems_integration.rb
parent683fe9799e37bff81e53f1a7e97d3a19896b8fc9 (diff)
parent0a5db7e274cac1198d7e22d4e302dd9002342eae (diff)
downloadbundler-8bd21aa0f5dc92fce4df277715f4eab546d30a7f.tar.gz
Merge #7502v2.1.1
7502: Release 2.1.1 r=deivid-rodriguez a=deivid-rodriguez ### What was the end-user problem that led to this PR? The problem was I want to get regression fixed as soon as possible to reduce impact. ### What is your fix for the problem, implemented in this PR? My fix is to release what we have already fixed as soon as possible. Co-authored-by: Bundlerbot <bot@bundler.io> Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
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