diff options
author | Andre Arko <andre@arko.net> | 2014-08-24 17:20:16 -0500 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-08-24 17:20:16 -0500 |
commit | 6b2f8ceaacbc63a0c3368edc973c3d4fb42564cd (patch) | |
tree | d5d8dcbab54608ab1c977e7db102736d4b676d87 | |
parent | 1da3e7fd0195479e571f9ad542cbcde79c497dd6 (diff) | |
parent | 954ffb3c65d3598b055b27c5f4a5fa680dc482c1 (diff) | |
download | bundler-6b2f8ceaacbc63a0c3368edc973c3d4fb42564cd.tar.gz |
Merge tag 'v1.6.6'
Version 1.6.6
Conflicts:
CHANGELOG.md
lib/bundler/version.rb
-rw-r--r-- | CHANGELOG.md | 6 | ||||
-rw-r--r-- | spec/lock/lockfile_spec.rb | 43 |
2 files changed, 48 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cceb50b74..18054dca34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,12 @@ Bugfixes: - warn on ambiguous gems available from more than one source (@tmoore) +## 1.6.6 (2014-08-23) + +Bugfixes: + + - restore Gemfile credentials to Gemfile.lock (@indirect) + ## 1.6.5 (2014-07-23) Bugfixes: diff --git a/spec/lock/lockfile_spec.rb b/spec/lock/lockfile_spec.rb index d9700c752e..4546754e85 100644 --- a/spec/lock/lockfile_spec.rb +++ b/spec/lock/lockfile_spec.rb @@ -75,6 +75,7 @@ describe "the lockfile format" do install_gemfile(<<-G, :artifice => "endpoint_strict_basic_authentication", :quiet => true) source "http://localgemserver.test/" + source "http://user:pass@othergemserver.test/" gem "rack-obama", ">= 1.0" G @@ -82,6 +83,7 @@ describe "the lockfile format" do lockfile_should_be <<-G GEM remote: http://localgemserver.test/ + remote: http://user:pass@othergemserver.test/ specs: rack (1.0.0) rack-obama (1.0) @@ -144,7 +146,7 @@ describe "the lockfile format" do G end - it "does not assplode when a platform specific dependency is present and the Gemfile has not been resolved on that platform" do + it "does not asplode when a platform specific dependency is present and the Gemfile has not been resolved on that platform" do build_lib "omg", :path => lib_path('omg') gemfile <<-G @@ -313,6 +315,45 @@ describe "the lockfile format" do G end + it "sorts serialized sources by type" do + build_lib "foo" + bar = build_git "bar" + + install_gemfile <<-G + source "file://#{gem_repo1}" + + gem "rack" + gem "foo", :path => "#{lib_path("foo-1.0")}" + gem "bar", :git => "#{lib_path("bar-1.0")}" + G + + lockfile_should_be <<-G + GIT + remote: #{lib_path("bar-1.0")} + revision: #{bar.ref_for('master')} + specs: + bar (1.0) + + PATH + remote: #{lib_path("foo-1.0")} + specs: + foo (1.0) + + GEM + remote: file:#{gem_repo1}/ + specs: + rack (1.0.0) + + PLATFORMS + #{generic(Gem::Platform.local)} + + DEPENDENCIES + bar! + foo! + rack + G + end + it "lists gems alphabetically" do install_gemfile <<-G source "file://#{gem_repo1}" |