summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-10-10 14:32:40 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-10-10 14:32:40 -0500
commit1435cf50c2482019943dc868ce117b874afd58f6 (patch)
tree4ffd6b95b42f2eeb55fbc3d145384368cfd14d40
parent112f3eb11ce51ababeeca7609cc8a959f631cc37 (diff)
parente86410c3694a74426ecca05a8afeb47b74209948 (diff)
downloadbundler-1435cf50c2482019943dc868ce117b874afd58f6.tar.gz
Merge tag 'v1.12.6'
Version 1.12.6 # Conflicts: # CHANGELOG.md # lib/bundler/vendor/compact_index_client/lib/compact_index_client/updater.rb # lib/bundler/version.rb
-rw-r--r--CHANGELOG.md5
-rw-r--r--spec/bundler/fetcher/compact_index_spec.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b32a5ccac4..1a7cf56ab8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -116,6 +116,11 @@ Bugfixes:
- allow running `bundle install --deployment` after `bundle package --all` with path gems (#2175, @allenzhao)
- add support for patchlevels in ruby versions in the gemfile and gemspecs (#4593, @chalkos)
+## 1.12.6 (2016-10-10)
+
+Bugfixes:
+ - add support for weak etags to the new index (@segiddins)
+
## 1.12.5 (2016-05-25)
Bugfixes:
diff --git a/spec/bundler/fetcher/compact_index_spec.rb b/spec/bundler/fetcher/compact_index_spec.rb
index f6c6ba2ee1..e3f36666cc 100644
--- a/spec/bundler/fetcher/compact_index_spec.rb
+++ b/spec/bundler/fetcher/compact_index_spec.rb
@@ -15,7 +15,7 @@ describe Bundler::Fetcher::CompactIndex do
it "has only one thread open at the end of the run" do
compact_index.specs_for_names(["lskdjf"])
- thread_count = Thread.list.select {|thread| thread.status == "run" }.count
+ thread_count = Thread.list.count {|thread| thread.status == "run" }
expect(thread_count).to eq 1
end