Skip to content

Commit

Permalink
Suppress RuboCop offenses
Browse files Browse the repository at this point in the history
This commit suppresses the following new RuboCop offenses:

```console
$ bundle exec rubocop
(snip)

rubocop-performance.gemspec:33:5: C: [Correctable] Gemspec/AddRuntimeDependency:
Use add_dependency instead of add_runtime_dependency.
  s.add_runtime_dependency('rubocop', '>= 1.48.1', '< 2.0')
    ^^^^^^^^^^^^^^^^^^^^^^
rubocop-performance.gemspec:34:5: C: [Correctable] Gemspec/AddRuntimeDependency:
Use add_dependency instead of add_runtime_dependency.
  s.add_runtime_dependency('rubocop-ast', '>= 1.31.1', '< 2.0')
    ^^^^^^^^^^^^^^^^^^^^^^

118 files inspected, 2 offenses detected, 2 offenses autocorrectable
```
  • Loading branch information
koic committed Jul 6, 2024
1 parent 745a392 commit d92287f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rubocop-performance.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ Gem::Specification.new do |s|
'rubygems_mfa_required' => 'true'
}

s.add_runtime_dependency('rubocop', '>= 1.48.1', '< 2.0')
s.add_runtime_dependency('rubocop-ast', '>= 1.31.1', '< 2.0')
s.add_dependency('rubocop', '>= 1.48.1', '< 2.0')
s.add_dependency('rubocop-ast', '>= 1.31.1', '< 2.0')
end

0 comments on commit d92287f

Please sign in to comment.