aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-12-26 16:47:45 -0600
committerSamuel Giddins <segiddins@segiddins.me>2016-12-26 16:47:45 -0600
commite86631c1d2b0b5073c4f29ed7cc262f61932aa01 (patch)
treebcad9661b6dd9de051488c7140a6a222d059d675 /lib/bundler
parentedf6cab6b83a3528b71609c33131a88611ca38e4 (diff)
downloadbundler-e86631c1d2b0b5073c4f29ed7cc262f61932aa01.tar.gz
Add specs for falling back to 1 thread when the lockfile is corrupt
Diffstat (limited to 'lib/bundler')
-rw-r--r--lib/bundler/installer/parallel_installer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/installer/parallel_installer.rb b/lib/bundler/installer/parallel_installer.rb
index 9e3a8d51..70939cee 100644
--- a/lib/bundler/installer/parallel_installer.rb
+++ b/lib/bundler/installer/parallel_installer.rb
@@ -78,6 +78,8 @@ module Bundler
[Bundler.settings[:jobs].to_i - 1, 1].max
end
+ attr_reader :size
+
def initialize(installer, all_specs, size, standalone, force)
@installer = installer
@size = size