Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rubocop #100

Merged
merged 4 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rubocop/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ inherit_gem:
rubocop-config-umbrellio: lib/rubocop.yml

AllCops:
TargetRubyVersion: 2.5
TargetRubyVersion: 3.0
76 changes: 35 additions & 41 deletions rubocop/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,89 +1,83 @@
PATH
remote: .
specs:
rubocop-config-umbrellio (1.63.0)
rubocop (~> 1.63.0)
rubocop-performance (~> 1.21.0)
rubocop-rails (~> 2.24.0)
rubocop-config-umbrellio (1.66.0)
rubocop (~> 1.66.0)
rubocop-factory_bot (~> 2.26.0)
rubocop-performance (~> 1.22.0)
rubocop-rails (~> 2.26.0)
rubocop-rake (~> 0.6.0)
rubocop-rspec (~> 2.29.0)
rubocop-rspec (~> 3.0.0)
rubocop-sequel (~> 0.3.3)

GEM
remote: https://rubygems.org/
specs:
activesupport (7.1.3.2)
activesupport (7.2.1)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.7)
concurrent-ruby (1.2.3)
bigdecimal (3.1.8)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
drb (2.2.1)
i18n (1.14.4)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
json (2.7.2)
language_server-protocol (3.17.0.3)
minitest (5.22.3)
mutex_m (0.2.0)
parallel (1.24.0)
parser (3.3.1.0)
logger (1.6.1)
minitest (5.25.1)
parallel (1.26.3)
parser (3.3.5.0)
ast (~> 2.4.1)
racc
racc (1.7.3)
rack (3.0.10)
racc (1.8.1)
rack (3.1.7)
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.9.0)
rexml (3.2.6)
rubocop (1.63.4)
regexp_parser (2.9.2)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
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.31.1, < 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)
rubocop-factory_bot (2.25.1)
rubocop (~> 1.41)
rubocop-performance (1.21.0)
rubocop-factory_bot (2.26.1)
rubocop (~> 1.61)
rubocop-performance (1.22.0)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rails (2.24.1)
rubocop-rails (2.26.1)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop (>= 1.52.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.29.1)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.28.3)
rubocop (~> 1.40)
rubocop-rspec (3.0.5)
rubocop (~> 1.61)
rubocop-sequel (0.3.4)
rubocop (~> 1.0)
ruby-progressbar (1.13.0)
securerandom (0.3.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
unicode-display_width (2.6.0)

PLATFORMS
arm64-darwin-21
Expand All @@ -97,4 +91,4 @@ DEPENDENCIES
rubocop-config-umbrellio!

BUNDLED WITH
2.5.9
2.5.18
20 changes: 4 additions & 16 deletions rubocop/lib/rubocop.rspec.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
require: rubocop-rspec

# Capybara

Capybara/CurrentPathExpectation:
Enabled: true

RSpec/Capybara/FeatureMethods:
Enabled: false
require:
- rubocop-rspec
- rubocop-factory_bot

# RSpec

Expand Down Expand Up @@ -42,13 +36,7 @@ RSpec/ExpectInHook:
# try not to use expect in before / after / around blocks anyway
Enabled: false

RSpec/FactoryBot:
Include:
- spec/factories.rb
- spec/factories/**/*.rb
- features/support/factories/**/*.rb

RSpec/FilePath:
RSpec/SpecFilePathFormat:
Enabled: false

RSpec/LeadingSubject:
Expand Down
11 changes: 6 additions & 5 deletions rubocop/rubocop.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# frozen_string_literal: true

Gem::Specification.new do |spec|
spec.required_ruby_version = ">= 2.5.0"
spec.required_ruby_version = ">= 3.0.0"

rubocop_version = "1.63.0"
rubocop_version = "1.66.0"

if ENV.fetch("PUBLISH_JOB", nil)
release_version = "#{rubocop_version}.#{ENV.fetch("GITHUB_RUN_NUMBER")}"
Expand All @@ -22,9 +22,10 @@ Gem::Specification.new do |spec|
spec.files = Dir["lib/rubocop.*.yml"] << "lib/rubocop.yml"

spec.add_dependency "rubocop", "~> #{rubocop_version}"
spec.add_dependency "rubocop-performance", "~> 1.21.0"
spec.add_dependency "rubocop-rails", "~> 2.24.0"
spec.add_dependency "rubocop-factory_bot", "~> 2.26.0"
spec.add_dependency "rubocop-performance", "~> 1.22.0"
spec.add_dependency "rubocop-rails", "~> 2.26.0"
spec.add_dependency "rubocop-rake", "~> 0.6.0"
spec.add_dependency "rubocop-rspec", "~> 2.29.0"
spec.add_dependency "rubocop-rspec", "~> 3.0.0"
spec.add_dependency "rubocop-sequel", "~> 0.3.3"
end
Loading