lib/pundit.rb in pundit-2.2.0 vs lib/pundit.rb in pundit-2.3.0

- old
+ new

@@ -53,10 +53,10 @@ # Error that will be raised if a policy or policy scope is not defined. class NotDefinedError < Error; end def self.included(base) - ActiveSupport::Deprecation.warn <<~WARNING.strip_heredoc + ActiveSupport::Deprecation.warn <<~WARNING 'include Pundit' is deprecated. Please use 'include Pundit::Authorization' instead. WARNING base.include Authorization end