-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
allow devise < 4.7 #1269
allow devise < 4.7 #1269
Conversation
2235674
to
9cbee66
Compare
I hope you don't mind I updated the ruby versions in CI, fixed the sqlite3 issue Edit: Removed Rails 6 CI tests since there is more work to be done. Better to get this out faster without it. |
needed until rails/rails#35154 is released (only for newer versions then)
I think now it's ready with only the minimal changes needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Can we get a patch version bump for this? |
@dkniffin @Polidoro I released v1.1.0 which includes some features and bug fixes (e.g. Mongo support), if you need it in v1.0.0 let me know and I can create a PR for that. If you were using master, you won't have any issue. You can see the differences in v1.0.0...master |
Tests pass and my app works with it, too, but maybe someone with a more complicated setup could test it a little bit more.
Note: I had to explicitly
require 'devise/orm/active_record'
inconfig/initializers/devise_token_auth.rb
or else I had some errors about missing methoddevise
in my models. Before I didn't had it and everything worked, but maybe now it is required? Not sure if this should be added tolib/generators/devise_token_auth/templates/devise_token_auth.rb
here, too.(Devise < 4.6 has a security issue, so I think it should be updated as fast as possible)