зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Truly ignore commented out settings
https://github.com/rubygems/rubygems/commit/e31df2d6ef
This commit is contained in:
Родитель
4d29d219b9
Коммит
61a80bd10d
|
@ -538,7 +538,7 @@ module Bundler
|
||||||
key.gsub!("-", "___")
|
key.gsub!("-", "___")
|
||||||
key.upcase!
|
key.upcase!
|
||||||
|
|
||||||
key.prepend("BUNDLE_")
|
key.gsub(/\A([ #]*)/, '\1BUNDLE_')
|
||||||
end
|
end
|
||||||
|
|
||||||
# TODO: duplicates Rubygems#normalize_uri
|
# TODO: duplicates Rubygems#normalize_uri
|
||||||
|
|
|
@ -447,7 +447,7 @@ E
|
||||||
it "does not make bundler crash and ignores the configuration" do
|
it "does not make bundler crash and ignores the configuration" do
|
||||||
bundle "config list --parseable"
|
bundle "config list --parseable"
|
||||||
|
|
||||||
expect(out).to eq("#mirror.https://rails-assets.org/=http://localhost:9292")
|
expect(out).to be_empty
|
||||||
expect(err).to be_empty
|
expect(err).to be_empty
|
||||||
|
|
||||||
ruby(<<~RUBY)
|
ruby(<<~RUBY)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче