Skip to content

Commit f74784c

Browse files
dependabot[bot]moleskephilippthun
authored
build(deps-dev): bump rubocop from 1.71.2 to 1.72.2 (#4222)
* build(deps-dev): bump rubocop from 1.71.2 to 1.72.2 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.71.2 to 1.72.2. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.71.2...v1.72.2) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump json_pure and fix rubocop errors - not clear why bumping json_pure to 2.8.1 resolved `NameError: uninitialized constant JSON::Fragment (NameError)` besides the fact that the error was in json_pure 2.7.6 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: M. Oleske <[email protected]> Co-authored-by: Philipp Thun <[email protected]>
1 parent fa14039 commit f74784c

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ group :test do
8383
gem 'rspec-its'
8484
gem 'rspec-rails', '~> 7.1.1'
8585
gem 'rspec-wait'
86-
gem 'rubocop', '~> 1.71.2'
86+
gem 'rubocop', '~> 1.72.2'
8787
gem 'rubocop-capybara'
8888
gem 'rubocop-factory_bot'
8989
gem 'rubocop-rails', '~> 2.29'

Gemfile.lock

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ GEM
289289
addressable (~> 2.0)
290290
excon
291291
http (>= 2.0, < 6.0)
292+
lint_roller (1.1.0)
292293
listen (3.9.0)
293294
rb-fsevent (~> 0.10, >= 0.10.3)
294295
rb-inotify (~> 0.9, >= 0.9.10)
@@ -468,9 +469,10 @@ GEM
468469
activesupport (>= 3.0.0)
469470
mustache (~> 1.0, >= 0.99.4)
470471
rspec (~> 3.0)
471-
rubocop (1.71.2)
472+
rubocop (1.72.2)
472473
json (~> 2.3)
473-
language_server-protocol (>= 3.17.0)
474+
language_server-protocol (~> 3.17.0.2)
475+
lint_roller (~> 1.1.0)
474476
parallel (~> 1.10)
475477
parser (>= 3.3.0.2)
476478
rainbow (>= 2.2.2, < 4.0)
@@ -663,7 +665,7 @@ DEPENDENCIES
663665
rspec-rails (~> 7.1.1)
664666
rspec-wait
665667
rspec_api_documentation (>= 6.1.0)
666-
rubocop (~> 1.71.2)
668+
rubocop (~> 1.72.2)
667669
rubocop-capybara
668670
rubocop-factory_bot
669671
rubocop-rails (~> 2.29)

spec/acceptance/service_broker_spec.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def build_service(attrs={})
404404
end
405405

406406
context "of type #{test[:type]} and action #{schema_action} has a valid schema" do
407-
let(:schema) { { (test[:type]).to_s => { schema_action => { 'parameters' => { '$schema': 'http://json-schema.org/draft-04/schema#', type: 'object' } } } } }
407+
let(:schema) { { test[:type].to_s => { schema_action => { 'parameters' => { '$schema': 'http://json-schema.org/draft-04/schema#', type: 'object' } } } } }
408408

409409
before do
410410
stub_catalog_fetch(200, default_catalog(plan_schemas: schema))
@@ -424,8 +424,8 @@ def build_service(attrs={})
424424

425425
context "of type #{test[:type]} and action #{schema_action} is not a JSON object" do
426426
{
427-
"#{test[:type]}.#{schema_action}": { (test[:type]).to_s => { schema_action => true } },
428-
"#{test[:type]}.#{schema_action}.parameters": { (test[:type]).to_s => { schema_action => { 'parameters' => true } } }
427+
"#{test[:type]}.#{schema_action}": { test[:type].to_s => { schema_action => true } },
428+
"#{test[:type]}.#{schema_action}.parameters": { test[:type].to_s => { schema_action => { 'parameters' => true } } }
429429
}.each do |path, schema|
430430
context "operator receives an error about #{path} #{schema}" do
431431
before do
@@ -456,7 +456,7 @@ def build_service(attrs={})
456456

457457
context "of type #{test[:type]} and action #{schema_action} does not conform to JSON Schema Draft 04 (experimental support for later versions)" do
458458
let(:path) { "#{test[:type]}.#{schema_action}.parameters" }
459-
let(:schema) { { (test[:type]).to_s => { schema_action => { 'parameters' => { '$schema': 'http://json-schema.org/draft-04/schema#', properties: true } } } } }
459+
let(:schema) { { test[:type].to_s => { schema_action => { 'parameters' => { '$schema': 'http://json-schema.org/draft-04/schema#', properties: true } } } } }
460460

461461
before do
462462
stub_catalog_fetch(200, default_catalog(plan_schemas: schema))
@@ -487,7 +487,7 @@ def build_service(attrs={})
487487
let(:path) { "#{test[:type]}.#{schema_action}.parameters" }
488488
let(:schema) do
489489
{
490-
(test[:type]).to_s => {
490+
test[:type].to_s => {
491491
schema_action => {
492492
'parameters' => {
493493
'$schema': 'http://json-schema.org/draft-04/schema#',
@@ -528,7 +528,7 @@ def build_service(attrs={})
528528

529529
context "of type #{test[:type]} and action #{schema_action} has an external schema" do
530530
let(:path) { "#{test[:type]}.#{schema_action}.parameters" }
531-
let(:schema) { { (test[:type]).to_s => { schema_action => { 'parameters' => { '$schema': 'http://example.com/schema', type: 'object' } } } } }
531+
let(:schema) { { test[:type].to_s => { schema_action => { 'parameters' => { '$schema': 'http://example.com/schema', type: 'object' } } } } }
532532

533533
before do
534534
stub_catalog_fetch(200, default_catalog(plan_schemas: schema))
@@ -558,7 +558,7 @@ def build_service(attrs={})
558558
let(:path) { "#{test[:type]}.#{schema_action}.parameters" }
559559
let(:schema) do
560560
{
561-
(test[:type]).to_s => {
561+
test[:type].to_s => {
562562
schema_action => {
563563
'parameters' => {
564564
'$schema': 'http://json-schema.org/draft-04/schema#',
@@ -595,7 +595,7 @@ def build_service(attrs={})
595595

596596
context "of type #{test[:type]} and action #{schema_action} has no $schema" do
597597
let(:path) { "#{test[:type]}.#{schema_action}.parameters" }
598-
let(:schema) { { (test[:type]).to_s => { schema_action => { 'parameters' => { type: 'object' } } } } }
598+
let(:schema) { { test[:type].to_s => { schema_action => { 'parameters' => { type: 'object' } } } } }
599599

600600
before do
601601
stub_catalog_fetch(200, default_catalog(plan_schemas: schema))

0 commit comments

Comments
 (0)