heartcombo / devise

Flexible authentication solution for Rails with Warden.
http://blog.plataformatec.com.br/tag/devise/
MIT License
23.89k stars 5.54k forks source link

Introduce `Devise.deprecator` #5590

Closed marcoroth closed 1 year ago

marcoroth commented 1 year ago

Rails 7.1 will deprecate the usage of the singleton ActiveSupport::Deprecation instance. This change was introduced via https://github.com/rails/rails/pull/47354.

This pull request defines Devise.deprecator for the gem and uses it throughout the codebase.

Resolves https://github.com/heartcombo/devise/issues/5589 Inspired by https://github.com/rails/sprockets-rails/pull/517

marcoroth commented 1 year ago

I just noticed this is a duplicate of https://github.com/heartcombo/devise/pull/5583. I'm going to close this one.