lib/grape/validations/validators/base.rb in grape-1.8.0 vs lib/grape/validations/validators/base.rb in grape-2.0.0

- old
+ new

@@ -83,9 +83,9 @@ end end Grape::Validations::Base = Class.new(Grape::Validations::Validators::Base) do def self.inherited(*) - ActiveSupport::Deprecation.warn 'Grape::Validations::Base is deprecated! Use Grape::Validations::Validators::Base instead.' + Grape.deprecator.warn 'Grape::Validations::Base is deprecated! Use Grape::Validations::Validators::Base instead.' super end end