state-machines / state_machines-activerecord

StateMachines Active Record Integration
https://github.com/state-machines/state_machines-activerecord
MIT License
401 stars 83 forks source link

Test against Ruby 2.7 and fix warnings #88

Closed casperisfine closed 4 years ago

casperisfine commented 4 years ago

Prevents the following warning:

tmp/bundle/ruby/2.7.0/gems/state_machines-activerecord-0.6.0/lib/state_machines/integrations/active_record.rb:511: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/tmp/bundle/ruby/2.7.0/bundler/gems/rails-9817d74f3be7/activerecord/lib/active_record/suppressor.rb:43: warning: The called method `save' is defined here

I also fixed other warnings showing up on the test suite.

magni- commented 4 years ago

Could we get a new gem release for this? 🙇

DavertMik commented 3 years ago

Please!