Skip to content

Commit 6584ad4

Browse files
build(deps-dev): bump rubocop from 1.82.1 to 1.84.0 (#4812)
* build(deps-dev): bump rubocop from 1.82.1 to 1.84.0 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.82.1 to 1.84.0. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.82.1...v1.84.0) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.84.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Apply Rubocop corrections --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Philipp Thun <philipp.thun@sap.com>
1 parent 71e7e39 commit 6584ad4

15 files changed

Lines changed: 47 additions & 47 deletions

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ group :test do
7979
gem 'rspec-its'
8080
gem 'rspec-rails', '~> 8.0.2'
8181
gem 'rspec-wait'
82-
gem 'rubocop', '~> 1.82.1'
82+
gem 'rubocop', '~> 1.84.0'
8383
gem 'rubocop-capybara'
8484
gem 'rubocop-factory_bot'
8585
gem 'rubocop-rails', '~> 2.34'

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,15 +474,15 @@ GEM
474474
activesupport (>= 3.0.0)
475475
mustache (~> 1.0, >= 0.99.4)
476476
rspec (~> 3.0)
477-
rubocop (1.82.1)
477+
rubocop (1.84.0)
478478
json (~> 2.3)
479479
language_server-protocol (~> 3.17.0.2)
480480
lint_roller (~> 1.1.0)
481481
parallel (~> 1.10)
482482
parser (>= 3.3.0.2)
483483
rainbow (>= 2.2.2, < 4.0)
484484
regexp_parser (>= 2.9.3, < 3.0)
485-
rubocop-ast (>= 1.48.0, < 2.0)
485+
rubocop-ast (>= 1.49.0, < 2.0)
486486
ruby-progressbar (~> 1.7)
487487
unicode-display_width (>= 2.4.0, < 4.0)
488488
rubocop-ast (1.49.0)
@@ -678,7 +678,7 @@ DEPENDENCIES
678678
rspec-rails (~> 8.0.2)
679679
rspec-wait
680680
rspec_api_documentation (>= 6.1.0)
681-
rubocop (~> 1.82.1)
681+
rubocop (~> 1.84.0)
682682
rubocop-capybara
683683
rubocop-factory_bot
684684
rubocop-rails (~> 2.34)

db/migrations/20130329165619_add_unique_id_to_service_plans.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
end
99

1010
if self.class.name.match?(/mysql/i)
11-
run <<-SQL.squish
11+
run <<~SQL.squish
1212
UPDATE service_plans
1313
SET unique_id =
1414
(SELECT CONCAT(services.provider, '_', services.label, '_', service_plans.name)
1515
FROM services
1616
WHERE services.id = service_plans.service_id)
1717
SQL
1818
else
19-
run <<-SQL.squish
19+
run <<~SQL.squish
2020
UPDATE service_plans
2121
SET unique_id =
2222
(SELECT (services.provider || '_' || services.label || '_' || service_plans.name)

db/migrations/20131119225844_move_organization_managers_into_organization.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
Sequel.migration do
22
up do
3-
run <<-SQL.squish
3+
run <<~SQL.squish
44
INSERT INTO organizations_users SELECT * FROM organizations_managers m
55
WHERE NOT EXISTS (SELECT * FROM organizations_users u WHERE u.user_id = m.user_id AND u.organization_id = m.organization_id)
66
SQL
77

8-
run <<-SQL.squish
8+
run <<~SQL.squish
99
INSERT INTO organizations_users SELECT * FROM organizations_billing_managers m
1010
WHERE NOT EXISTS (SELECT * FROM organizations_users u WHERE u.user_id = m.user_id AND u.organization_id = m.organization_id)
1111
SQL
1212

13-
run <<-SQL.squish
13+
run <<~SQL.squish
1414
INSERT INTO organizations_users SELECT * FROM organizations_auditors m
1515
WHERE NOT EXISTS (SELECT * FROM organizations_users u WHERE u.user_id = m.user_id AND u.organization_id = m.organization_id)
1616
SQL

db/migrations/20140306000008_remove_sso_client_id_from_services.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Sequel.migration do
22
up do
3-
run <<-SQL.squish
3+
run <<~SQL.squish
44
INSERT INTO service_dashboard_clients (uaa_id, service_id_on_broker)
55
SELECT sso_client_id, unique_id
66
FROM services
@@ -15,7 +15,7 @@
1515
alter_table :services do
1616
add_column :sso_client_id, String, unique: true
1717
end
18-
run <<-SQL.squish
18+
run <<~SQL.squish
1919
UPDATE services
2020
SET sso_client_id = (
2121
SELECT service_dashboard_clients.uaa_id

db/migrations/20140307201639_replace_service_id_on_broker_with_service_broker_id.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
alter_table :service_dashboard_clients do
44
add_column :service_broker_id, Integer
55
end
6-
run <<-SQL.squish
6+
run <<~SQL.squish
77
UPDATE service_dashboard_clients
88
SET service_broker_id = (
99
SELECT services.service_broker_id

db/migrations/20140325171355_add_service_broker_id_index_to_service_dashboard_clients.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
end
88

99
down do
10-
run <<-SQL.squish
10+
run <<~SQL.squish
1111
DELETE FROM service_dashboard_clients WHERE service_broker_id IS NULL
1212
SQL
1313

db/migrations/20141216183550_add_health_check_type_to_apps.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
up do
33
add_column :apps, :health_check_type, String, default: 'port'
44

5-
run <<-SQL.squish
5+
run <<~SQL.squish
66
UPDATE apps a1
77
SET health_check_type = 'none'
88
WHERE id NOT IN (

db/migrations/20150113201824_fix_created_at_column.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
up do
3535
if self.class.name.match?(/mysql/i)
3636
table_names.each do |table|
37-
run <<-SQL.squish
38-
ALTER TABLE #{table} MODIFY created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP;
37+
run <<~SQL.squish
38+
ALTER TABLE #{table} MODIFY created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP;
3939
SQL
4040
end
4141
end
@@ -44,8 +44,8 @@
4444
down do
4545
if self.class.name.match?(/mysql/i)
4646
table_names.each do |table|
47-
run <<-SQL.squish
48-
ALTER TABLE #{table} MODIFY created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;
47+
run <<~SQL.squish
48+
ALTER TABLE #{table} MODIFY created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;
4949
SQL
5050
end
5151
end

db/migrations/20160322184040_update_app_port.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Sequel.migration do
22
up do
3-
run <<-SQL.squish
3+
run <<~SQL.squish
44
UPDATE apps
55
SET ports = null
66
WHERE docker_image is not null
77
and diego = true
88
and ports = '[8080]'
99
SQL
1010

11-
run <<-SQL.squish
11+
run <<~SQL.squish
1212
UPDATE apps_routes
1313
SET app_port = null
1414
WHERE app_port = '8080'
@@ -19,7 +19,7 @@
1919
end
2020

2121
down do
22-
run <<-SQL.squish
22+
run <<~SQL.squish
2323
UPDATE apps
2424
SET ports = '8080'
2525
WHERE ports is null and diego = true and docker_image is null

0 commit comments

Comments
 (0)