Skip to content

Commit

Permalink
Run bundle update and fix RuboCop violation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppostma committed Jun 28, 2024
1 parent 285a461 commit 8108593
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 48 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ require:
- rubocop-performance
- rubocop-rake
- rubocop-rspec
- rubocop-rspec_rails

AllCops:
NewCops: enable
Expand Down
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ gemspec
gem 'rubocop', '~> 1.58'
gem 'rubocop-performance', '~> 1.20'
gem 'rubocop-rake', '~> 0.6'
gem 'rubocop-rspec', '~> 2.25'
gem 'rubocop-rspec', '~> 3.0'
gem 'rubocop-rspec_rails', '~> 2.30'
88 changes: 44 additions & 44 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,106 +10,105 @@ PATH
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
airbrussh (1.5.1)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
airbrussh (1.5.2)
sshkit (>= 1.6.1, != 1.7.0)
ast (2.4.2)
aws-eventstream (1.3.0)
aws-partitions (1.889.0)
aws-sdk-autoscaling (1.104.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-partitions (1.948.0)
aws-sdk-autoscaling (1.111.0)
aws-sdk-core (~> 3, >= 3.199.0)
aws-sigv4 (~> 1.1)
aws-sdk-core (3.191.1)
aws-sdk-core (3.199.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-ec2 (1.437.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sdk-ec2 (1.463.0)
aws-sdk-core (~> 3, >= 3.199.0)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.8.0)
aws-eventstream (~> 1, >= 1.0.2)
bigdecimal (3.1.6)
capistrano (3.18.0)
base64 (0.2.0)
bigdecimal (3.1.8)
capistrano (3.19.0)
airbrussh (>= 1.0.0)
i18n
rake (>= 10.0.0)
sshkit (>= 1.9.0)
concurrent-ruby (1.2.3)
concurrent-ruby (1.3.3)
crack (1.0.0)
bigdecimal
rexml
diff-lcs (1.5.1)
hashdiff (1.1.0)
i18n (1.14.1)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
jmespath (1.6.2)
json (2.7.1)
json (2.7.2)
language_server-protocol (3.17.0.3)
mutex_m (0.2.0)
net-scp (4.0.0)
net-ssh (>= 2.6.5, < 8.0.0)
net-sftp (4.0.0)
net-ssh (>= 5.0.0, < 8.0.0)
net-ssh (7.2.1)
parallel (1.24.0)
parser (3.3.0.5)
net-ssh (7.2.3)
parallel (1.25.1)
parser (3.3.3.0)
ast (~> 2.4.1)
racc
public_suffix (5.0.4)
racc (1.7.3)
public_suffix (5.1.1)
racc (1.8.0)
rainbow (3.1.1)
rake (13.1.0)
regexp_parser (2.9.0)
rexml (3.2.6)
rake (13.2.1)
regexp_parser (2.9.2)
rexml (3.3.1)
strscan
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
rspec-expectations (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.0)
rubocop (1.60.2)
rspec-support (3.13.1)
rubocop (1.64.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.25.1)
rubocop (~> 1.41)
rubocop-performance (1.20.2)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
rubocop-performance (1.21.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.26.1)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec (3.0.1)
rubocop (~> 1.61)
rubocop-rspec_rails (2.30.0)
rubocop (~> 1.61)
rubocop-rspec (~> 3, >= 3.0.1)
ruby-progressbar (1.13.0)
sshkit (1.22.0)
mutex_m
sshkit (1.23.0)
base64
net-scp (>= 1.1.2)
net-sftp (>= 2.1.2)
net-ssh (>= 2.8.0)
strscan (3.1.0)
unicode-display_width (2.5.0)
webmock (3.20.0)
webmock (3.23.1)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
Expand All @@ -125,7 +124,8 @@ DEPENDENCIES
rubocop (~> 1.58)
rubocop-performance (~> 1.20)
rubocop-rake (~> 0.6)
rubocop-rspec (~> 2.25)
rubocop-rspec (~> 3.0)
rubocop-rspec_rails (~> 2.30)
webmock (~> 3.11)

BUNDLED WITH
Expand Down
5 changes: 2 additions & 3 deletions lib/capistrano/asg/rolling/parallel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ module Parallel

def run(work)
result = Concurrent::Array.new
threads = []

work.each do |w|
threads << Thread.new do
threads = work.map do |w|
Thread.new do
result << yield(w)
end
end
Expand Down

0 comments on commit 8108593

Please sign in to comment.