Method: Bundler::ParallelInstaller#initialize
- Defined in:
- lib/bundler/installer/parallel_installer.rb
#initialize(installer, all_specs, size, standalone, force, local: false, skip: nil) ⇒ ParallelInstaller
Returns a new instance of ParallelInstaller.
71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/bundler/installer/parallel_installer.rb', line 71 def initialize(installer, all_specs, size, standalone, force, local: false, skip: nil) @installer = installer @size = size @standalone = standalone @force = force @local = local @specs = all_specs.map {|s| SpecInstallation.new(s) } @specs.each do |spec_install| spec_install.state = :installed if skip.include?(spec_install.name) end if skip @spec_set = all_specs @rake = @specs.find {|s| s.name == "rake" unless s.installed? } end |