Sha256: 7e480c98a3648fc7135bb844bf14ecdee817fe561de65c5e74ad24540fc295e6

Contents?: true

Size: 541 Bytes

Versions: 27

Compression:

Stored size: 541 Bytes

Contents

module ISO3166
  ##
  # <b>DEPRECATED:</b> Please use <tt>Data</tt> instead.
  # TODO: Remove at version 2.1
  # Handles building the in memory store of countries data
  class Setup
    # <b>DEPRECATED:</b> Please use <tt>Data.codes</tt> instead.
    def codes
      warn '[DEPRECATION] `Setup.codes` is deprecated.  Please use `Data.codes` instead.'
      Data.codes
    end

    def data
      warn "[DEPRECATION] `Setup.new.data` is deprecated without replacement
      data is now loaded per locale Data.new(:en).call"
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
countries-2.0.6 lib/countries/setup.rb
countries-2.0.5 lib/countries/setup.rb
countries-2.0.4 lib/countries/setup.rb
countries-2.0.3 lib/countries/setup.rb
countries-2.0.2 lib/countries/setup.rb
countries-2.0.1 lib/countries/setup.rb
countries-2.0.0 lib/countries/setup.rb