diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2024-05-30 21:50:05 +0200 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-06-06 18:53:30 +0000 |
| commit | 765d61593a088902debbffb62ed8ffb459643ce1 (patch) | |
| tree | 552ca54e092c6658c9d40d9290108fd7e91c6331 /lib | |
| parent | 82b68bc3583d2446c7bc28934a96903d634c6101 (diff) | |
[rubygems/rubygems] Remove per uri options constant
I don't think we should add more of these.
https://github.com/rubygems/rubygems/commit/9eee9948cc
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/bundler/settings.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb index 6318c7c761..4cd189af12 100644 --- a/lib/bundler/settings.rb +++ b/lib/bundler/settings.rb @@ -523,16 +523,14 @@ module Bundler YAMLSerializer end - PER_URI_OPTIONS = %w[ - fallback_timeout - ].freeze + FALLBACK_TIMEOUT_URI_OPTION = "fallback_timeout" NORMALIZE_URI_OPTIONS_PATTERN = / \A (\w+\.)? # optional prefix key (https?.*?) # URI - (\.#{Regexp.union(PER_URI_OPTIONS)})? # optional suffix key + (\.#{FALLBACK_TIMEOUT_URI_OPTION})? # optional suffix key \z /ix |
