Skip to content

use plugins block for rubocop-performance and rubocop-rails #259

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

Merged
merged 6 commits into from
Feb 27, 2025
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# rubocop-github

## v0.23.0

- Read the automatic release notes on [the /releases page for this gem](https://github.com/github/rubocop-github/releases).

## v0.22.0

- Read the automatic release notes on [the /releases page for this gem](https://github.com/github/rubocop-github/releases).
Expand Down
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PATH
remote: .
specs:
rubocop-github (0.22.0)
rubocop (>= 1.37)
rubocop-performance (>= 1.15)
rubocop-rails (>= 2.17)
rubocop-github (0.23.0)
rubocop (>= 1.72)
rubocop-performance (>= 1.24)
rubocop-rails (>= 2.23)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -75,7 +75,7 @@ GEM
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.10.0)
rubocop (1.72.2)
rubocop (1.73.0)
json (~> 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
Expand All @@ -86,7 +86,7 @@ GEM
rubocop-ast (>= 1.38.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.38.0)
rubocop-ast (1.38.1)
parser (>= 3.3.1.0)
rubocop-performance (1.24.0)
lint_roller (~> 1.1)
Expand Down
2 changes: 2 additions & 0 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ inherit_from:

require:
- rubocop-github

plugins:
- rubocop-performance

Bundler/DuplicatedGem:
Expand Down
2 changes: 2 additions & 0 deletions config/rails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ inherit_from:

require:
- rubocop-github-rails

plugins:
- rubocop-rails

GitHub/RailsControllerRenderActionSymbol:
Expand Down
2 changes: 1 addition & 1 deletion lib/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# frozen_string_literal: true

VERSION = "0.22.0"
VERSION = "0.23.0"
6 changes: 3 additions & 3 deletions rubocop-github.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Gem::Specification.new do |s|

s.required_ruby_version = ">= 3.0.0"

s.add_dependency "rubocop", ">= 1.37"
s.add_dependency "rubocop-performance", ">= 1.15"
s.add_dependency "rubocop-rails", ">= 2.17"
s.add_dependency "rubocop", ">= 1.72"
s.add_dependency "rubocop-performance", ">= 1.24"
s.add_dependency "rubocop-rails", ">= 2.23"

s.add_development_dependency "actionview", "~> 7.1.5.1"
s.add_development_dependency "minitest"
Expand Down
Loading