diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-12-26 16:47:45 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-12-26 16:47:45 -0600 |
commit | e86631c1d2b0b5073c4f29ed7cc262f61932aa01 (patch) | |
tree | bcad9661b6dd9de051488c7140a6a222d059d675 /lib/bundler | |
parent | edf6cab6b83a3528b71609c33131a88611ca38e4 (diff) | |
download | bundler-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.rb | 2 |
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 |