-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
From v2.28, [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) split out Rails-specific rules into a new gem, [rubocop-rspec_rails](https://github.com/rubocop/rubocop-rspec_rails) whose initial version number matches rubocop-rspec. This PR adds the new gem to this project's gemspec, adds a small config for rubocop-rspec_rails, and bumps this gem's version to v1.0.0. The update set a new minimum version for rubocop-rspec to account for the splitting off of the rubocop-rspec_rails gem. I think that raises to the level of a breaking change, so we go major version here.
- Loading branch information
Showing
4 changed files
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Code style checking for RSpec Rails files. A plugin for the RuboCop code style | ||
# enforcing & linting tool. | ||
# | ||
# @see https://rubygems.org/gems/rubocop-rspec_rails | ||
# @see https://docs.rubocop.org/rubocop-rspec_rails | ||
# @see https://github.com/rubocop/rubocop-rspec_rails | ||
|
||
require: rubocop-rspec_rails |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ Gem::Specification.new do |spec| | |
spec.required_ruby_version = ">= 3.0" | ||
|
||
spec.name = "rubocop-cargosense" | ||
spec.version = "0.2.0" | ||
spec.version = "1.0.0" | ||
spec.authors = ["CargoSense"] | ||
spec.email = ["[email protected]"] | ||
|
||
|
@@ -31,5 +31,6 @@ Gem::Specification.new do |spec| | |
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.26" | ||
spec.add_runtime_dependency "rubocop-rspec", "~> 2.28" | ||
spec.add_runtime_dependency "rubocop-rspec_rails", "~> 2.28.1" | ||
end |