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-4.2.3 lib/countries/setup.rb
countries-4.2.2 lib/countries/setup.rb
countries-4.2.1 lib/countries/setup.rb
countries-4.2.0 lib/countries/setup.rb
countries-4.1.3 lib/countries/setup.rb
countries-4.1.2 lib/countries/setup.rb
countries-4.1.1 lib/countries/setup.rb
countries-4.1.0 lib/countries/setup.rb
countries-4.0.1 lib/countries/setup.rb
countries-4.0.0 lib/countries/setup.rb
countries-3.1.0 lib/countries/setup.rb
countries-3.0.1 lib/countries/setup.rb
countries-3.0.0 lib/countries/setup.rb
countries-2.1.4 lib/countries/setup.rb
countries-2.1.3 lib/countries/setup.rb
countries-2.1.2 lib/countries/setup.rb
countries-2.1.1 lib/countries/setup.rb
countries-2.1.0 lib/countries/setup.rb
countries-2.0.8 lib/countries/setup.rb
countries-2.0.7 lib/countries/setup.rb