Skip to content

Commit

Permalink
Update rubocop-rspec and rubocop-rspec_rails (#45)
Browse files Browse the repository at this point in the history
## Description

This PR combines the updates to
[rubocop-rspec](https://rubygems.org/gems/rubocop-rspec) and
[rubocop-rspec_rails](https://rubygems.org/gems/rubocop-rspec_rails) as
they wouldn't pass in the individual Dependabot PRs linked below. Also,
the RuboCop constraint is updated to `~> 1.61` to align with these gems
and
[rubocop-factory_bot](https://rubygems.org/gems/rubocop-factory_bot).

- closes #42
- closes #43

As a result of these changes, the gem version is bumped to v2.0.0.

## Commits

- Bump minimum RuboCop version to 1.61
- Bump rubocop-rspec and rubocop-rspec_rails
  • Loading branch information
jgarber623-cargosense authored Jun 25, 2024
2 parents 0346a68 + 7ea3aa8 commit 583c2af
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 24 deletions.
36 changes: 17 additions & 19 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
PATH
remote: .
specs:
rubocop-cargosense (1.1.0)
rubocop (~> 1.59)
rubocop-cargosense (2.0.0)
rubocop (~> 1.61)
rubocop-capybara (~> 2.20)
rubocop-factory_bot (~> 2.25)
rubocop-factory_bot (~> 2.26.1)
rubocop-performance (~> 1.20)
rubocop-rails (~> 2.23)
rubocop-rake (~> 0.6)
rubocop-rspec (~> 2.28)
rubocop-rspec_rails (~> 2.28.1)
rubocop-rspec (~> 3.0.1)
rubocop-rspec_rails (~> 2.30)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -47,42 +47,40 @@ GEM
regexp_parser (2.9.2)
rexml (3.3.1)
strscan
rubocop (1.64.1)
rubocop (1.61.0)
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)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.26.1)
rubocop (~> 1.61)
rubocop-packaging (0.5.2)
rubocop (>= 1.33, < 2.0)
rubocop-performance (1.21.1)
rubocop-performance (1.20.0)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rails (2.25.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-rails (2.23.0)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.29.2)
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.1)
rubocop (~> 1.61)
rubocop-rspec_rails (2.30.0)
rubocop (~> 1.61)
rubocop-rspec (~> 3, >= 3.0.1)
ruby-progressbar (1.13.0)
strscan (3.1.0)
tzinfo (2.0.6)
Expand Down
10 changes: 5 additions & 5 deletions rubocop-cargosense.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = ">= 3.0"

spec.name = "rubocop-cargosense"
spec.version = "1.1.0"
spec.version = "2.0.0"
spec.authors = ["CargoSense"]
spec.email = ["[email protected]"]

Expand All @@ -25,12 +25,12 @@ Gem::Specification.new do |spec|
"source_code_uri" => "#{spec.homepage}/tree/v#{spec.version}"
}

spec.add_runtime_dependency "rubocop", "~> 1.59"
spec.add_runtime_dependency "rubocop", "~> 1.61"
spec.add_runtime_dependency "rubocop-capybara", "~> 2.20"
spec.add_runtime_dependency "rubocop-factory_bot", "~> 2.25"
spec.add_runtime_dependency "rubocop-factory_bot", "~> 2.26.1"
spec.add_runtime_dependency "rubocop-performance", "~> 1.20"
spec.add_runtime_dependency "rubocop-rails", "~> 2.23"
spec.add_runtime_dependency "rubocop-rake", "~> 0.6"
spec.add_runtime_dependency "rubocop-rspec", "~> 2.28"
spec.add_runtime_dependency "rubocop-rspec_rails", "~> 2.28.1"
spec.add_runtime_dependency "rubocop-rspec", "~> 3.0.1"
spec.add_runtime_dependency "rubocop-rspec_rails", "~> 2.30"
end

0 comments on commit 583c2af

Please sign in to comment.