Skip to content

Commit 43197d9

Browse files
build(deps-dev): bump rubocop from 1.80.0 to 1.80.2 (#4547)
* build(deps-dev): bump rubocop from 1.80.0 to 1.80.2 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.80.0 to 1.80.2. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.80.0...v1.80.2) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.80.2 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Rubocop update: Remove redundant "begin"/"end" --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jochen Ehret <[email protected]>
1 parent fe14cbf commit 43197d9

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ group :test do
8484
gem 'rspec-its'
8585
gem 'rspec-rails', '~> 8.0.2'
8686
gem 'rspec-wait'
87-
gem 'rubocop', '~> 1.80.0'
87+
gem 'rubocop', '~> 1.80.2'
8888
gem 'rubocop-capybara'
8989
gem 'rubocop-factory_bot'
9090
gem 'rubocop-rails', '~> 2.33'

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ GEM
281281
rdoc (>= 4.0.0)
282282
reline (>= 0.4.2)
283283
jaro_winkler (1.6.1)
284-
json (2.13.2)
284+
json (2.14.1)
285285
json-diff (0.4.1)
286286
json-schema (6.0.0)
287287
addressable (~> 2.8)
@@ -481,7 +481,7 @@ GEM
481481
activesupport (>= 3.0.0)
482482
mustache (~> 1.0, >= 0.99.4)
483483
rspec (~> 3.0)
484-
rubocop (1.80.0)
484+
rubocop (1.80.2)
485485
json (~> 2.3)
486486
language_server-protocol (~> 3.17.0.2)
487487
lint_roller (~> 1.1.0)
@@ -689,7 +689,7 @@ DEPENDENCIES
689689
rspec-rails (~> 8.0.2)
690690
rspec-wait
691691
rspec_api_documentation (>= 6.1.0)
692-
rubocop (~> 1.80.0)
692+
rubocop (~> 1.80.2)
693693
rubocop-capybara
694694
rubocop-factory_bot
695695
rubocop-rails (~> 2.33)

scripts/generate_jobs.rb

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
# usage: pipe this script into bin/console on a cc-worker vm
22

3-
begin
4-
NUM_JOBS = 1
5-
DELAY = 1
3+
NUM_JOBS = 1
4+
DELAY = 1
65

7-
puts "Generating #{NUM_JOBS} dummy job(s) with delay of #{DELAY} seconds"
8-
enqueuer = VCAP::CloudController::Jobs::Enqueuer.new(queue: VCAP::CloudController::Jobs::Queues.generic)
9-
start_time = Time.now
10-
NUM_JOBS.times do
11-
dummy_job = VCAP::CloudController::Jobs::Runtime::BlobstoreDelete.new('00000000-0000-0000-0000-000000000000/0000000000000000000000000000000000000000', :droplet_blobstore)
12-
enqueuer.enqueue(dummy_job)
13-
sleep DELAY
14-
end
15-
puts "Generated #{NUM_JOBS} dummy job(s) in #{Time.now - start_time} seconds"
6+
puts "Generating #{NUM_JOBS} dummy job(s) with delay of #{DELAY} seconds"
7+
enqueuer = VCAP::CloudController::Jobs::Enqueuer.new(queue: VCAP::CloudController::Jobs::Queues.generic)
8+
start_time = Time.now
9+
NUM_JOBS.times do
10+
dummy_job = VCAP::CloudController::Jobs::Runtime::BlobstoreDelete.new('00000000-0000-0000-0000-000000000000/0000000000000000000000000000000000000000', :droplet_blobstore)
11+
enqueuer.enqueue(dummy_job)
12+
sleep DELAY
1613
end
14+
puts "Generated #{NUM_JOBS} dummy job(s) in #{Time.now - start_time} seconds"

0 commit comments

Comments
 (0)