Skip to content

Commit

Permalink
Bump rubocop version
Browse files Browse the repository at this point in the history
  • Loading branch information
that-jill committed Oct 2, 2024
1 parent 346c336 commit 37a5e3b
Show file tree
Hide file tree
Showing 68 changed files with 610 additions and 608 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cygnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ jobs:
package: ${{ github.workflow }}
workdir: "packages/${{ github.workflow }}"
ruby: '["3.0","3.1","3.2","3.3"]'
exclude: |-
[
{ 'ruby': '3.0', 'gemfile': 'gemfiles/rails_7_2.gemfile'},
]
secrets: inherit
4 changes: 4 additions & 0 deletions .github/workflows/rubocop-cobra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ jobs:
package: ${{ github.workflow }}
workdir: "packages/${{ github.workflow }}"
ruby: '["3.0","3.1","3.2","3.3"]'
exclude: |-
[
{ 'ruby': '3.0', 'gemfile': 'gemfiles/rails_7_2.gemfile'},
]
secrets: inherit
1 change: 1 addition & 0 deletions packages/api_chai/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ GEM
PLATFORMS
arm64-darwin-22
arm64-darwin-23
arm64-darwin-24
x86_64-linux

DEPENDENCIES
Expand Down
1 change: 1 addition & 0 deletions packages/api_chai/gemfiles/rails_6_0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ GEM
PLATFORMS
arm64-darwin-22
arm64-darwin-23
arm64-darwin-24
x86_64-linux

DEPENDENCIES
Expand Down
1 change: 1 addition & 0 deletions packages/api_chai/gemfiles/rails_6_1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ GEM
PLATFORMS
arm64-darwin-22
arm64-darwin-23
arm64-darwin-24
x86_64-linux

DEPENDENCIES
Expand Down
1 change: 1 addition & 0 deletions packages/api_chai/gemfiles/rails_7_0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ GEM
PLATFORMS
arm64-darwin-22
arm64-darwin-23
arm64-darwin-24
x86_64-linux

DEPENDENCIES
Expand Down
21 changes: 11 additions & 10 deletions packages/audit_tracker/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: ../rubocop-powerhome
specs:
rubocop-powerhome (0.5.2)
rubocop (~> 1.52.0)
rubocop-powerhome (0.5.3)
rubocop (= 1.66.1)
rubocop-performance
rubocop-rails
rubocop-rake
Expand Down Expand Up @@ -39,7 +39,7 @@ GEM
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
appraisal (2.4.1)
appraisal (2.5.0)
bundler
rake
thor (>= 0.14.0)
Expand All @@ -58,6 +58,7 @@ GEM
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.7.2)
language_server-protocol (3.17.0.3)
license_finder (7.2.1)
bundler
csv (~> 3.2)
Expand Down Expand Up @@ -127,17 +128,17 @@ GEM
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.13.1)
rubocop (1.52.1)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.3)
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.28.0, < 2.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
rubocop-performance (1.21.1)
rubocop (>= 1.48.1, < 2.0)
Expand Down Expand Up @@ -178,7 +179,7 @@ PLATFORMS

DEPENDENCIES
activerecord (>= 6.0.6.1, < 7.1)
appraisal (~> 2.4.1)
appraisal (~> 2.5.0)
audit_tracker!
byebug
combustion (~> 1.3)
Expand Down
2 changes: 1 addition & 1 deletion packages/audit_tracker/audit_tracker.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

spec.add_development_dependency "activerecord", ">= 6.0.6.1", "< 7.1"
spec.add_development_dependency "appraisal", "~> 2.4.1"
spec.add_development_dependency "appraisal", "~> 2.5.0"
spec.add_development_dependency "combustion", "~> 1.3"
spec.add_development_dependency "rspec-rails", "~> 5.1.2"
spec.add_development_dependency "shoulda-matchers", "~> 5.1.0"
Expand Down
21 changes: 11 additions & 10 deletions packages/audit_tracker/gemfiles/rails_6_0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: ../../rubocop-powerhome
specs:
rubocop-powerhome (0.5.2)
rubocop (~> 1.52.0)
rubocop-powerhome (0.5.3)
rubocop (= 1.66.1)
rubocop-performance
rubocop-rails
rubocop-rake
Expand Down Expand Up @@ -71,7 +71,7 @@ GEM
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
appraisal (2.4.1)
appraisal (2.5.0)
bundler
rake
thor (>= 0.14.0)
Expand All @@ -93,6 +93,7 @@ GEM
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.7.2)
language_server-protocol (3.17.0.3)
license_finder (7.2.1)
bundler
csv (~> 3.2)
Expand Down Expand Up @@ -189,17 +190,17 @@ GEM
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.13.1)
rubocop (1.52.1)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.3)
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.28.0, < 2.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
Expand Down Expand Up @@ -257,7 +258,7 @@ PLATFORMS

DEPENDENCIES
activerecord (>= 6.0.6.1, < 7.1)
appraisal (~> 2.4.1)
appraisal (~> 2.5.0)
audit_tracker!
byebug
combustion (~> 1.3)
Expand Down
21 changes: 11 additions & 10 deletions packages/audit_tracker/gemfiles/rails_6_1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: ../../rubocop-powerhome
specs:
rubocop-powerhome (0.5.2)
rubocop (~> 1.52.0)
rubocop-powerhome (0.5.3)
rubocop (= 1.66.1)
rubocop-performance
rubocop-rails
rubocop-rake
Expand Down Expand Up @@ -75,7 +75,7 @@ GEM
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
appraisal (2.4.1)
appraisal (2.5.0)
bundler
rake
thor (>= 0.14.0)
Expand All @@ -97,6 +97,7 @@ GEM
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.7.2)
language_server-protocol (3.17.0.3)
license_finder (7.2.1)
bundler
csv (~> 3.2)
Expand Down Expand Up @@ -193,17 +194,17 @@ GEM
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.13.1)
rubocop (1.52.1)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.3)
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.28.0, < 2.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
Expand Down Expand Up @@ -260,7 +261,7 @@ PLATFORMS

DEPENDENCIES
activerecord (>= 6.0.6.1, < 7.1)
appraisal (~> 2.4.1)
appraisal (~> 2.5.0)
audit_tracker!
byebug
combustion (~> 1.3)
Expand Down
21 changes: 11 additions & 10 deletions packages/audit_tracker/gemfiles/rails_7_0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: ../../rubocop-powerhome
specs:
rubocop-powerhome (0.5.2)
rubocop (~> 1.52.0)
rubocop-powerhome (0.5.3)
rubocop (= 1.66.1)
rubocop-performance
rubocop-rails
rubocop-rake
Expand Down Expand Up @@ -81,7 +81,7 @@ GEM
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
appraisal (2.4.1)
appraisal (2.5.0)
bundler
rake
thor (>= 0.14.0)
Expand All @@ -103,6 +103,7 @@ GEM
i18n (1.14.5)
concurrent-ruby (~> 1.0)
json (2.7.2)
language_server-protocol (3.17.0.3)
license_finder (7.2.1)
bundler
csv (~> 3.2)
Expand Down Expand Up @@ -199,17 +200,17 @@ GEM
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.13.1)
rubocop (1.52.1)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.3)
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.28.0, < 2.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
Expand Down Expand Up @@ -259,7 +260,7 @@ PLATFORMS

DEPENDENCIES
activerecord (>= 6.0.6.1, < 7.1)
appraisal (~> 2.4.1)
appraisal (~> 2.5.0)
audit_tracker!
byebug
combustion (~> 1.3)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
# frozen_string_literal: true

# rubocop:disable RSpec/FactoryBot/ConsistentParenthesesStyle
AuditTracker.setup do
tracker(:user) do
create :created_by, foreign_key: :created_by_id, class_name: "::Internal::User"
update :updated_by, foreign_key: :updated_by_id, class_name: "::Internal::User"
create(:created_by, foreign_key: :created_by_id, class_name: "::Internal::User")
update(:updated_by, foreign_key: :updated_by_id, class_name: "::Internal::User")
value { Internal::Current.user }
end

tracker(:department) do
create :created_by_department, foreign_key: :created_by_department_id,
create(:created_by_department, foreign_key: :created_by_department_id,
class_name: "::Internal::Department",
value: ->(object) { object&.created_by&.department }
update :updated_by_department, foreign_key: :updated_by_department_id,
value: ->(object) { object&.created_by&.department })
update(:updated_by_department, foreign_key: :updated_by_department_id,
class_name: "::Internal::Department",
value: ->(object) { object&.updated_by&.department }
value: ->(object) { object&.updated_by&.department })
end
end
# rubocop:enable RSpec/FactoryBot/ConsistentParenthesesStyle
21 changes: 11 additions & 10 deletions packages/camel_trail/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: ../rubocop-powerhome
specs:
rubocop-powerhome (0.5.2)
rubocop (~> 1.52.0)
rubocop-powerhome (0.5.3)
rubocop (= 1.66.1)
rubocop-performance
rubocop-rails
rubocop-rake
Expand Down Expand Up @@ -93,7 +93,7 @@ GEM
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
appraisal (2.4.1)
appraisal (2.5.0)
bundler
rake
thor (>= 0.14.0)
Expand Down Expand Up @@ -122,6 +122,7 @@ GEM
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.7.2)
language_server-protocol (3.17.0.3)
license_finder (7.2.1)
bundler
csv (~> 3.2)
Expand Down Expand Up @@ -236,17 +237,17 @@ GEM
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.13.1)
rubocop (1.52.1)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.3)
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.28.0, < 2.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
rubocop-performance (1.21.1)
rubocop (>= 1.48.1, < 2.0)
Expand Down Expand Up @@ -296,7 +297,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
appraisal (~> 2.4.1)
appraisal (~> 2.5.0)
camel_trail!
license_finder (>= 7.0)
rake (~> 13)
Expand Down
2 changes: 1 addition & 1 deletion packages/camel_trail/camel_trail.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Gem::Specification.new do |s|

s.add_dependency "rails", ">= 6.0.6.1", "< 7.2"

s.add_development_dependency "appraisal", "~> 2.4.1"
s.add_development_dependency "appraisal", "~> 2.5.0"
s.add_development_dependency "license_finder", ">= 7.0"
s.add_development_dependency "rake", "~> 13"
s.add_development_dependency "rspec", "~> 3.0"
Expand Down
Loading

0 comments on commit 37a5e3b

Please sign in to comment.