Skip to content

Commit

Permalink
Fix RuboCop offenses
Browse files Browse the repository at this point in the history
This PR fixes following offenses.

```
Offenses:

lograge.gemspec:31:5: C: [Corrected] Gemspec/AddRuntimeDependency: Use add_dependency instead of add_runtime_dependency.
  s.add_runtime_dependency 'actionpack',    '>= 4'
    ^^^^^^^^^^^^^^^^^^^^^^
lograge.gemspec:32:5: C: [Corrected] Gemspec/AddRuntimeDependency: Use add_dependency instead of add_runtime_dependency.
  s.add_runtime_dependency 'activesupport', '>= 4'
    ^^^^^^^^^^^^^^^^^^^^^^
lograge.gemspec:33:5: C: [Corrected] Gemspec/AddRuntimeDependency: Use add_dependency instead of add_runtime_dependency.
  s.add_runtime_dependency 'railties', '>= 4'
    ^^^^^^^^^^^^^^^^^^^^^^
lograge.gemspec:34:5: C: [Corrected] Gemspec/AddRuntimeDependency: Use add_dependency instead of add_runtime_dependency.
  s.add_runtime_dependency 'request_store', '~> 1.0'
```
  • Loading branch information
y-yagi committed Jul 26, 2024
1 parent 711231e commit 1ee6c41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lograge.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rubocop', '~> 1.23'
s.add_development_dependency 'simplecov', '~> 0.21'

s.add_runtime_dependency 'actionpack', '>= 4'
s.add_runtime_dependency 'activesupport', '>= 4'
s.add_runtime_dependency 'railties', '>= 4'
s.add_runtime_dependency 'request_store', '~> 1.0'
s.add_dependency 'actionpack', '>= 4'
s.add_dependency 'activesupport', '>= 4'
s.add_dependency 'railties', '>= 4'
s.add_dependency 'request_store', '~> 1.0'
end

0 comments on commit 1ee6c41

Please sign in to comment.