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 usage with devise 4.x #50

Merged
merged 1 commit into from
Mar 21, 2019
Merged

Allow usage with devise 4.x #50

merged 1 commit into from
Mar 21, 2019

Conversation

cgunther
Copy link
Contributor

@cgunther cgunther commented Feb 8, 2019

The test suite passes locally with devise 4.6 and it works fine in my app with devise 4.6.

This is a bit more lenient than in the past by allowing any 4.x version of devise in hopes that this gem doesn't need a version bump every time devise releases a new minor version. The commits to add support for 4.2 (56c8eea), 4.3 (7acd880), 4.4 (6c4baaa), and 4.5 (8f5fd6a) all required no code changes as a result of the devise upgrade.

@cgunther
Copy link
Contributor Author

cgunther commented Feb 8, 2019

#51 should fix the test suite to get this passing with Travis.

@keisaacson
Copy link

@cgunther There is a CVE with devise 4.5.0: heartcombo/devise#4981.

Would it be possible to merge #51 and this PR and release a new version of this gem?

@baschtl
Copy link
Owner

baschtl commented Mar 15, 2019

@cgunther I merged #51. Please rebase this PR to the current master to fix the tests.

@cgunther
Copy link
Contributor Author

Rebased and pushed.

@baschtl baschtl merged commit 4444dc5 into baschtl:master Mar 21, 2019
This was referenced Mar 21, 2019
@baschtl
Copy link
Owner

baschtl commented Mar 21, 2019

https://github.com/baschtl/devise-token_authenticatable/releases/tag/v1.1.0

@cgunther
Copy link
Contributor Author

Thanks for the merge/release!

@cgunther cgunther deleted the devise-4.6 branch March 21, 2019 20:00
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