bundler 1.9.8 → 1.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/bundler/settings.rb +7 -1
- data/lib/bundler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf055201358fcab37f264d22ef08af2f16e77d8c
|
|
4
|
+
data.tar.gz: 8c959876ea6130c363ff1845f5e7fd9b3cdadc73
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef7e1207d0fa65fc096fbd4bb014fdd90ad7763f8b1d41d3d54dd7c859f0ad7864d0d11e3d3a1ec08b61c89c041b20c61def2dc69d1ead214652b94ea18a1f4e
|
|
7
|
+
data.tar.gz: 6727fb09b8cae643932fbf6cddbb73840d51ad0743e4d08a9a65fb4244e57f431e12bac1268c7719fa85c036ae41aae584c79f6722cbc942dc1801eeaa1b242f
|
data/CHANGELOG.md
CHANGED
data/lib/bundler/settings.rb
CHANGED
|
@@ -178,7 +178,7 @@ module Bundler
|
|
|
178
178
|
config_regex = /^(BUNDLE_.+): (['"]?)(.*(?:\n(?!BUNDLE).+)?)\2$/
|
|
179
179
|
config_pairs = config_file.read.scan(config_regex).map do |m|
|
|
180
180
|
key, _, value = m
|
|
181
|
-
[key, value.gsub(/\s+/, " ").tr('"', "'")]
|
|
181
|
+
[convert_to_backward_compatible_key(key), value.gsub(/\s+/, " ").tr('"', "'")]
|
|
182
182
|
end
|
|
183
183
|
Hash[config_pairs]
|
|
184
184
|
else
|
|
@@ -186,6 +186,12 @@ module Bundler
|
|
|
186
186
|
end
|
|
187
187
|
end
|
|
188
188
|
|
|
189
|
+
def convert_to_backward_compatible_key(key)
|
|
190
|
+
key = "#{key}/" if key =~ /https?:/i && key !~ %r[/\Z]
|
|
191
|
+
key = key.gsub(".", "__") if key.include?(".")
|
|
192
|
+
key
|
|
193
|
+
end
|
|
194
|
+
|
|
189
195
|
# TODO: duplicates Rubygems#normalize_uri
|
|
190
196
|
# TODO: is this the correct place to validate mirror URIs?
|
|
191
197
|
def normalize_uri(uri)
|
data/lib/bundler/version.rb
CHANGED
|
@@ -2,5 +2,5 @@ module Bundler
|
|
|
2
2
|
# We're doing this because we might write tests that deal
|
|
3
3
|
# with other versions of bundler and we are unsure how to
|
|
4
4
|
# handle this better.
|
|
5
|
-
VERSION = "1.9.
|
|
5
|
+
VERSION = "1.9.9" unless defined?(::Bundler::VERSION)
|
|
6
6
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bundler
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.9.
|
|
4
|
+
version: 1.9.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- André Arko
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2015-05-
|
|
14
|
+
date: 2015-05-17 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: mustache
|