All sorts of useful information about every country packaged as convenient little country objects. It includes data from ISO 3166 (countries and states/subdivisions ), ISO 4217 (currency), and E.164 (phone numbers).
Full Changelog: https://github.com/countries/countries/compare/v5.3.1...v5.3.2
Australia
as first unnoficial name for Australia by @pmorFull Changelog: https://github.com/countries/countries/compare/v5.3.0...v5.3.1
Full Changelog: https://github.com/countries/countries/compare/v5.2.1...v5.3.0
I18n.available_locales
into default_locales
by @pmor in https://github.com/countries/countries/pull/785
Full Changelog: https://github.com/countries/countries/compare/v5.2.0...v5.2.1
Full Changelog: https://github.com/countries/countries/compare/v5.1.2...v5.2.0
Full Changelog: https://github.com/countries/countries/compare/v5.1.1...v5.1.2
Full Changelog: https://github.com/countries/countries/compare/v5.1.0...v5.1.1
Subdivision
now has a type
attribute obtained from ISO3166-2 subdivision types. type
is a lowercase and snake_cased string.Country#subdivision_types
and #humanized_subdivision_types
to list a country's subdivision typesCountry#subdivisions_of_types(types)
to allow getting subdivisions of given type(s)Country#states
is now deprecated to avoid confusion (this method was just an alias to #subdivisions
and retuns all subdivisions, regarless of type)Full Changelog: https://github.com/countries/countries/compare/v5.0.2...v5.1.0
Full Changelog: https://github.com/countries/countries/compare/v5.0.1...v5.0.2
Full Changelog: https://github.com/countries/countries/compare/v5.0.0...v5.0.1