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

allow devise < 4.7 #1269

Merged
merged 7 commits into from
Mar 18, 2019
Merged

allow devise < 4.7 #1269

merged 7 commits into from
Mar 18, 2019

Conversation

doits
Copy link
Contributor

@doits doits commented Mar 14, 2019

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' in config/initializers/devise_token_auth.rb or else I had some errors about missing method devise 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 to lib/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)

@doits doits force-pushed the devise_4.6 branch 2 times, most recently from 2235674 to 9cbee66 Compare March 15, 2019 17:44
@doits doits mentioned this pull request Mar 15, 2019
@doits
Copy link
Contributor Author

doits commented Mar 15, 2019

I hope you don't mind I updated the ruby versions in CI, fixed the sqlite3 issue and added a CI test against rails 6.0.beta (except mongoid since I think it does not support rails 6 yet) in this MR, too. 🤞 that tests pass now.

Edit: Removed Rails 6 CI tests since there is more work to be done. Better to get this out faster without it.

Gemfile Outdated Show resolved Hide resolved
.travis.yml Show resolved Hide resolved
@doits
Copy link
Contributor Author

doits commented Mar 17, 2019

I think now it's ready with only the minimal changes needed.

Copy link
Collaborator

@MaicolBen MaicolBen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@MaicolBen MaicolBen merged commit f4eec3c into lynndylanhurley:master Mar 18, 2019
@dkniffin
Copy link
Contributor

Can we get a patch version bump for this?

@MaicolBen
Copy link
Collaborator

@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

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