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

replace deprecated constant BLACKLIST_FOR_SERIALIZATION #1473

Merged
merged 7 commits into from
Mar 28, 2021

Conversation

prashant-kiwi
Copy link
Contributor

@prashant-kiwi prashant-kiwi commented Mar 11, 2021

Changed the constant BLACKLIST_FOR_SERIALIZATION with UNSAFE_ATTRIBUTES_FOR_SERIALIZATION.

@MaicolBen
Copy link
Collaborator

Can you fix the specs? Maybe we need to upgrade devise

@ThiagoAnunciacao
Copy link

@prashant-kiwi you need some help with the tests man?

@prashant-kiwi
Copy link
Contributor Author

prashant-kiwi commented Mar 24, 2021

Can you fix the specs? Maybe we need to upgrade devise

@MaicolBen @ThiagoAnunciacao I have fixed the specs. Please have a look.

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.

I think we need to have both behaviors and check if the new variable is defined, we cannot leave a lot of people behind for this. Sorry because I said "maybe we need to upgrade to devise" I didn't think is was that big upgrade. Leaving people behind isn't the solution unless we are talking about a very hard change or it's a critical security upgrade

Gemfile Outdated Show resolved Hide resolved
devise_token_auth.gemspec Outdated Show resolved Hide resolved
@MaicolBen MaicolBen merged commit 5c0baba into lynndylanhurley:master Mar 28, 2021
wangzuo pushed a commit to wangzuo/devise_token_auth that referenced this pull request Mar 30, 2021
…ley#1473)

* replace deprecated constant BLACKLIST_FOR_SERIALIZATION

* update devise version

* updated devise gem

* change devise gem version in all gemfiles

* Add condition to check if constant is available in devise

Co-authored-by: prashantchauhan627 <prashantchauhan627@gmail.com>
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.

4 participants