Skip to content
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

Fix RuboCop offenses #392

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix RuboCop offenses #392

wants to merge 1 commit into from

Conversation

y-yagi
Copy link
Contributor

@y-yagi y-yagi commented Jul 26, 2024

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'

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'
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant