Skip to content

Commit 6790e8b

Browse files
authored
Merge pull request #5179 from rubyforgood/dependabot/bundler/standard-performance-1.8.0
Bump standard-performance from 1.6.0 to 1.8.0
2 parents 2cb1dcd + f675dd2 commit 6790e8b

File tree

5 files changed

+30
-26
lines changed

5 files changed

+30
-26
lines changed

.rubocop.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ inherit_gem:
1010
inherit_from:
1111
.rubocop_todo.yml
1212

13-
require:
14-
- rubocop-rails
13+
plugins:
1514
- rubocop-performance
16-
- standard
1715
- standard-rails
1816
- standard-performance
1917

18+
require:
19+
- rubocop-rails
20+
- standard
21+
2022
AllCops:
2123
Exclude:
2224
- "vendor/**/*"

Gemfile.lock

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ GEM
329329
actionview (>= 5.0.0)
330330
activesupport (>= 5.0.0)
331331
jmespath (1.6.2)
332-
json (2.10.2)
332+
json (2.11.3)
333333
jwt (2.10.1)
334334
base64
335335
kaminari (1.2.2)
@@ -454,8 +454,8 @@ GEM
454454
paper_trail (16.0.0)
455455
activerecord (>= 6.1)
456456
request_store (~> 1.4)
457-
parallel (1.26.3)
458-
parser (3.3.7.4)
457+
parallel (1.27.0)
458+
parser (3.3.8.0)
459459
ast (~> 2.4.1)
460460
racc
461461
pdf-core (0.10.0)
@@ -596,22 +596,24 @@ GEM
596596
rspec-mocks (~> 3.13)
597597
rspec-support (~> 3.13)
598598
rspec-support (3.13.2)
599-
rubocop (1.70.0)
599+
rubocop (1.75.4)
600600
json (~> 2.3)
601-
language_server-protocol (>= 3.17.0)
601+
language_server-protocol (~> 3.17.0.2)
602+
lint_roller (~> 1.1.0)
602603
parallel (~> 1.10)
603604
parser (>= 3.3.0.2)
604605
rainbow (>= 2.2.2, < 4.0)
605606
regexp_parser (>= 2.9.3, < 3.0)
606-
rubocop-ast (>= 1.36.2, < 2.0)
607+
rubocop-ast (>= 1.44.0, < 2.0)
607608
ruby-progressbar (~> 1.7)
608609
unicode-display_width (>= 2.4.0, < 4.0)
609-
rubocop-ast (1.43.0)
610+
rubocop-ast (1.44.1)
610611
parser (>= 3.3.7.2)
611612
prism (~> 1.4)
612-
rubocop-performance (1.23.1)
613-
rubocop (>= 1.48.1, < 2.0)
614-
rubocop-ast (>= 1.31.1, < 2.0)
613+
rubocop-performance (1.25.0)
614+
lint_roller (~> 1.1)
615+
rubocop (>= 1.75.0, < 2.0)
616+
rubocop-ast (>= 1.38.0, < 2.0)
615617
rubocop-rails (2.25.1)
616618
activesupport (>= 4.2.0)
617619
rack (>= 1.1)
@@ -672,18 +674,18 @@ GEM
672674
activesupport (>= 5.2)
673675
sprockets (>= 3.0.0)
674676
stackprof (0.2.27)
675-
standard (1.44.0)
677+
standard (1.49.0)
676678
language_server-protocol (~> 3.17.0.2)
677679
lint_roller (~> 1.0)
678-
rubocop (~> 1.70.0)
680+
rubocop (~> 1.75.2)
679681
standard-custom (~> 1.0.0)
680-
standard-performance (~> 1.6)
682+
standard-performance (~> 1.8)
681683
standard-custom (1.0.2)
682684
lint_roller (~> 1.0)
683685
rubocop (~> 1.50)
684-
standard-performance (1.6.0)
686+
standard-performance (1.8.0)
685687
lint_roller (~> 1.1)
686-
rubocop-performance (~> 1.23.0)
688+
rubocop-performance (~> 1.25.0)
687689
standard-rails (1.1.0)
688690
lint_roller (~> 1.0)
689691
rubocop-rails (~> 2.25.0)

app/services/partners/update_family.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module Partners
44
module UpdateFamily
55
extend ServiceObjectErrorsMixin
6-
# rubocop:disable Rails::SkipsModelValidations
6+
# rubocop:disable Rails/SkipsModelValidations
77
def self.archive(family)
88
if family.children.exists?
99
ActiveRecord::Base.transaction do
@@ -16,6 +16,6 @@ def self.archive(family)
1616
end
1717
self
1818
end
19-
# rubocop:enable Rails::SkipsModelValidations
19+
# rubocop:enable Rails/SkipsModelValidations
2020
end
2121
end

spec/services/organization_update_service_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@
9595
before do
9696
organization.update!(enable_individual_requests: false)
9797
# Want to have an invalid email on purpose
98-
# rubocop:disable Rails::SkipsModelValidations
98+
# rubocop:disable Rails/SkipsModelValidations
9999
partner_one.update_columns(email: "not/an_email")
100-
# rubocop:enable Rails::SkipsModelValidations
100+
# rubocop:enable Rails/SkipsModelValidations
101101
end
102102

103103
it "updates the organization and returns true" do
@@ -113,9 +113,9 @@
113113
before do
114114
organization.update!(enable_individual_requests: false)
115115
# Want to have an invalid email on purpose
116-
# rubocop:disable Rails::SkipsModelValidations
116+
# rubocop:disable Rails/SkipsModelValidations
117117
profile.update_columns(pick_up_email: "not/an/email")
118-
# rubocop:enable Rails::SkipsModelValidations
118+
# rubocop:enable Rails/SkipsModelValidations
119119
end
120120

121121
it "returns false" do

spec/services/partner_profile_update_service_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@
100100

101101
before do
102102
# Want to have an invalid email on purpose
103-
# rubocop:disable Rails::SkipsModelValidations
103+
# rubocop:disable Rails/SkipsModelValidations
104104
partner.update_columns(email: "not/an_email")
105-
# rubocop:enable Rails::SkipsModelValidations
105+
# rubocop:enable Rails/SkipsModelValidations
106106
end
107107

108108
it "returns failure" do

0 commit comments

Comments
 (0)