Skip to content

Commit

Permalink
Merge pull request #330 from koic/fix_require_rubocop_version_for_plugin
Browse files Browse the repository at this point in the history
Update `add_dependency` of RuboCop to 1.72 for plugin support
  • Loading branch information
koic authored Feb 15, 2025
2 parents e33a747 + a306885 commit 9e6a6c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
run: |
sed -e "/gem 'rubocop', github: 'rubocop\/rubocop'/d" -i Gemfile
cat << EOF > Gemfile.local
gem 'rubocop', '1.72.0' # Specify the oldest supported RuboCop version
gem 'rubocop', '1.72.1' # Specify the oldest supported RuboCop version
EOF
- name: set up Ruby
uses: ruby/setup-ruby@v1
Expand Down
1 change: 1 addition & 0 deletions changelog/fix_require_rubocop_version_for_plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* [#330](https://github.com/rubocop/rubocop-minitest/pull/330): Update `add_dependency` of RuboCop to 1.72 for plugin support. ([@koic][])
2 changes: 1 addition & 1 deletion rubocop-minitest.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']

spec.add_dependency 'lint_roller', '~> 1.1'
spec.add_dependency 'rubocop', '>= 1.61', '< 2.0'
spec.add_dependency 'rubocop', '>= 1.72.1', '< 2.0'
spec.add_dependency 'rubocop-ast', '>= 1.38.0', '< 2.0'
end

0 comments on commit 9e6a6c7

Please sign in to comment.