bundler 1.6.5 → 1.6.6

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: b7fccfcec378505ae78a308e9f840497a8a6593f
4
- data.tar.gz: 36f474d0d2bd87d1d4883e7b452dc3b9f44a8e84
3
+ metadata.gz: bea44bed0acb6398c570a3ff7e7aa290b3e52a50
4
+ data.tar.gz: 121da52822f43b573e430a7df36670ee33dd3c9b
5
5
  SHA512:
6
- metadata.gz: 7052ec5a2415965569c0a85a1c403b40b37eaa642fc3bb512cd80690505661dc1cf658bfd24100d1146faa28c904e94074e5be64783845b1be139248d449981f
7
- data.tar.gz: 6cfc213cafa8e3c381dd52c04b20a6eec60dc6471c4d197694893834ce5cad1d97fec10c723432a352b2393c24d3e29387bfbab2864338c3c62339742c589375
6
+ metadata.gz: c2eac51c09a25749f854980cede45a0054c10b635384938fcf30e546bc28c4f79aaf8bbe79462b09211905289f22dbbbc4aa128af7fbb851b143dea04272ed75
7
+ data.tar.gz: bba562fb670cecb13c93baed2f98c35be0c1949a5f8fc1503c59c0b9e964354e27c82cf7453aa570ca41332c3f3138b95584152b21738d00ca9a665c2c6db96d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.6.6 (2014-08-23)
2
+
3
+ Bugfixes:
4
+
5
+ - restore Gemfile credentials to Gemfile.lock (@indirect)
6
+
1
7
  ## 1.6.5 (2014-07-23)
2
8
 
3
9
  Bugfixes:
@@ -186,7 +186,7 @@ module Bundler
186
186
  end
187
187
 
188
188
  def suppress_configured_credentials(remote)
189
- remote_nouser = remote.tap { |uri| uri.user = uri.password = nil }.to_s
189
+ remote_nouser = remote.dup.tap { |uri| uri.user = uri.password = nil }.to_s
190
190
  if remote.userinfo && remote.userinfo == Bundler.settings[remote_nouser]
191
191
  remote_nouser
192
192
  else
@@ -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.6.5" unless defined?(::Bundler::VERSION)
5
+ VERSION = "1.6.6" unless defined?(::Bundler::VERSION)
6
6
  end
@@ -75,6 +75,7 @@ describe "the lockfile format" do
75
75
 
76
76
  install_gemfile(<<-G, :artifice => "endpoint_strict_basic_authentication", :quiet => true)
77
77
  source "http://localgemserver.test/"
78
+ source "http://user:pass@othergemserver.test/"
78
79
 
79
80
  gem "rack-obama", ">= 1.0"
80
81
  G
@@ -82,6 +83,7 @@ describe "the lockfile format" do
82
83
  lockfile_should_be <<-G
83
84
  GEM
84
85
  remote: http://localgemserver.test/
86
+ remote: http://user:pass@othergemserver.test/
85
87
  specs:
86
88
  rack (1.0.0)
87
89
  rack-obama (1.0)
@@ -144,7 +146,7 @@ describe "the lockfile format" do
144
146
  G
145
147
  end
146
148
 
147
- it "does not assplode when a platform specific dependency is present and the Gemfile has not been resolved on that platform" do
149
+ it "does not asplode when a platform specific dependency is present and the Gemfile has not been resolved on that platform" do
148
150
  build_lib "omg", :path => lib_path('omg')
149
151
 
150
152
  gemfile <<-G
@@ -285,6 +287,45 @@ describe "the lockfile format" do
285
287
  G
286
288
  end
287
289
 
290
+ it "sorts serialized sources by type" do
291
+ build_lib "foo"
292
+ bar = build_git "bar"
293
+
294
+ install_gemfile <<-G
295
+ source "file://#{gem_repo1}"
296
+
297
+ gem "rack"
298
+ gem "foo", :path => "#{lib_path("foo-1.0")}"
299
+ gem "bar", :git => "#{lib_path("bar-1.0")}"
300
+ G
301
+
302
+ lockfile_should_be <<-G
303
+ GIT
304
+ remote: #{lib_path("bar-1.0")}
305
+ revision: #{bar.ref_for('master')}
306
+ specs:
307
+ bar (1.0)
308
+
309
+ PATH
310
+ remote: #{lib_path("foo-1.0")}
311
+ specs:
312
+ foo (1.0)
313
+
314
+ GEM
315
+ remote: file:#{gem_repo1}/
316
+ specs:
317
+ rack (1.0.0)
318
+
319
+ PLATFORMS
320
+ #{generic(Gem::Platform.local)}
321
+
322
+ DEPENDENCIES
323
+ bar!
324
+ foo!
325
+ rack
326
+ G
327
+ end
328
+
288
329
  it "lists gems alphabetically" do
289
330
  install_gemfile <<-G
290
331
  source "file://#{gem_repo1}"
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.6.5
4
+ version: 1.6.6
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: 2014-07-24 00:00:00.000000000 Z
14
+ date: 2014-08-24 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rdiscount
@@ -373,7 +373,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
373
373
  version: 1.3.6
374
374
  requirements: []
375
375
  rubyforge_project:
376
- rubygems_version: 2.2.2
376
+ rubygems_version: 2.4.1
377
377
  signing_key:
378
378
  specification_version: 4
379
379
  summary: The best way to manage your application's dependencies