summaryrefslogtreecommitdiff
path: root/lib/bundler/source
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2021-07-31 16:39:20 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-08-31 19:06:14 +0900
commit97de4c02adf2c32c801eec5a683ae7d0c6dd6615 (patch)
tree5d7623f404359f1520eba1655a693d558d3ea97d /lib/bundler/source
parent0e01ad881a94d0195dcea36783f0bb525d054e7a (diff)
[rubygems/rubygems] Remove now unnecessary code
https://github.com/rubygems/rubygems/commit/d74830d00b
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4789
Diffstat (limited to 'lib/bundler/source')
-rw-r--r--lib/bundler/source/rubygems.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/bundler/source/rubygems.rb b/lib/bundler/source/rubygems.rb
index 2e0ecb1aa6..298ff98e24 100644
--- a/lib/bundler/source/rubygems.rb
+++ b/lib/bundler/source/rubygems.rb
@@ -26,12 +26,6 @@ module Bundler
Array(options["remotes"]).reverse_each {|r| add_remote(r) }
end
- def local_only!
- @specs = nil
- @allow_local = true
- @allow_remote = false
- end
-
def local!
return if @allow_local