Sha256: 78b9b1ce965681c8f9b445345c69f7bf435cadd44a3eb78650ab026f0f0035b9

Contents?: true

Size: 376 Bytes

Versions: 5

Compression:

Stored size: 376 Bytes

Contents

require 'active_support/deprecation'

module FreshConnection
  class Deprecation
    class << self
      def warn(list = {})
        list.each do |new_method, old_method|
          ActiveSupport::Deprecation.warn(
            "'#{old_method}' is deprecated and will removed from version 2.5.0. use '#{new_method}' instead."
          )
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fresh_connection-2.4.1 lib/fresh_connection/deprecation.rb
fresh_connection-2.4.0 lib/fresh_connection/deprecation.rb
fresh_connection-2.4.0.rc4 lib/fresh_connection/deprecation.rb
fresh_connection-2.4.0.rc3 lib/fresh_connection/deprecation.rb
fresh_connection-2.4.0.rc1 lib/fresh_connection/deprecation.rb