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 2.7 deprecation warning in validator_factory #2121

Merged

Conversation

Legogris
Copy link
Contributor

Addresses the following warnings:

/app/vendor/bundle/ruby/2.7.0/gems/grape-1.5.0/lib/grape/validations/validator_factory.rb:7: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/app/vendor/bundle/ruby/2.7.0/gems/grape-1.5.0/lib/grape/validations/validators/values.rb:6: warning: The called method `initialize' is defined here

@grape-bot
Copy link

grape-bot commented Oct 16, 2020

1 Warning
⚠️ There’re library changes, but not tests. That’s OK as long as you’re refactoring existing code.

Generated by 🚫 danger

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.

3 participants