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-minitest.gemspec:35:8: C: [Correctable] Gemspec/AddRuntimeDependency:
Use add_dependency instead of add_runtime_dependency.
  spec.add_runtime_dependency 'rubocop', '>= 1.61', '< 2.0'
       ^^^^^^^^^^^^^^^^^^^^^^
rubocop-minitest.gemspec:36:8: C: [Correctable] Gemspec/AddRuntimeDependency:
Use add_dependency instead of add_runtime_dependency.
  spec.add_runtime_dependency 'rubocop-ast', '>= 1.31.1', '< 2.0'
       ^^^^^^^^^^^^^^^^^^^^^^

136 files inspected, 2 offenses detected, 2 offenses autocorrectable
```
  • Loading branch information
koic committed Jul 6, 2024
1 parent 97ddbb1 commit 9955aa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rubocop-minitest.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.add_runtime_dependency 'rubocop', '>= 1.61', '< 2.0'
spec.add_runtime_dependency 'rubocop-ast', '>= 1.31.1', '< 2.0'
spec.add_dependency 'rubocop', '>= 1.61', '< 2.0'
spec.add_dependency 'rubocop-ast', '>= 1.31.1', '< 2.0'
end

0 comments on commit 9955aa1

Please sign in to comment.