bundler 1.9.8 → 1.9.9

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bundler might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45186da32356437ac12b0b4cf9657973f3cd21ab
4
- data.tar.gz: 64a0d27a9934beb82fea4847e59ca56622124e06
3
+ metadata.gz: cf055201358fcab37f264d22ef08af2f16e77d8c
4
+ data.tar.gz: 8c959876ea6130c363ff1845f5e7fd9b3cdadc73
5
5
  SHA512:
6
- metadata.gz: e3086bd56d5513eb7e27c2d3c83e4b80094ac58afb37f12d54c98a11bfb81673b20b437edb4b294d34f3b9260692e76508cc6eae903e6da5edc8ff2770e54d7d
7
- data.tar.gz: c87709a4631afa86c504541e9f923f6cab7be0c89b1a999103bb85ca76377128d5f86a08ccf1fcf3431a6b6f4774f11eed2fe182ddd7a23cbf60894a656f7fff
6
+ metadata.gz: ef7e1207d0fa65fc096fbd4bb014fdd90ad7763f8b1d41d3d54dd7c859f0ad7864d0d11e3d3a1ec08b61c89c041b20c61def2dc69d1ead214652b94ea18a1f4e
7
+ data.tar.gz: 6727fb09b8cae643932fbf6cddbb73840d51ad0743e4d08a9a65fb4244e57f431e12bac1268c7719fa85c036ae41aae584c79f6722cbc942dc1801eeaa1b242f
@@ -1,3 +1,9 @@
1
+ ## 1.9.9 (2015-05-16)
2
+
3
+ Bugfixes:
4
+
5
+ - read mirror and credential settings from older versions (#3557, @Strech)
6
+
1
7
  ## 1.9.8 (2015-05-12)
2
8
 
3
9
  Bugfixes:
@@ -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)
@@ -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.8" unless defined?(::Bundler::VERSION)
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.8
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-13 00:00:00.000000000 Z
14
+ date: 2015-05-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: mustache