lib/fresh_connection/deprecation.rb in fresh_connection-2.4.1 vs lib/fresh_connection/deprecation.rb in fresh_connection-2.4.2
- old
+ new
@@ -2,10 +2,10 @@
module FreshConnection
class Deprecation
class << self
def warn(list = {})
- list.each do |new_method, old_method|
+ list.each do |old_method, new_method|
ActiveSupport::Deprecation.warn(
"'#{old_method}' is deprecated and will removed from version 2.5.0. use '#{new_method}' instead."
)
end
end