normalize_country 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: aab3791b8de03c06cceb6fe420a593c5a3f722f6
4
- data.tar.gz: fa1a261b4b4dee17db1846ae832aa65e4dbc4e00
2
+ SHA256:
3
+ metadata.gz: abbb3d8413012513dbe8bee80144351d43ebebf97edd2724f9e7391abe767a2f
4
+ data.tar.gz: 7c22ace784e9bd7f94c3ba70e7ae1c715091042197822b0d75f5322700c08a22
5
5
  SHA512:
6
- metadata.gz: 0eb8936a086b922f5cce0a3f43d15b26495c183a5b841a69698100ae1bda6d74a108c46d33565e85d72cf8a137a7ce7fa2e48181f5175fd38f8079c952624f18
7
- data.tar.gz: 46a85d87a130a3f498c348bfa07b6ed8e504faab3ef3c29896e34bcaf9e6c3c561a58d5eeafa182ae0293d20a2aac1f91831f28d045d8c53afaff58e1146e4ff
6
+ metadata.gz: 6c1b92173bef8c9396b44d240d8046dbdd81f9bdd3763087df10e0e60f19a35f39e5b27702a02f0ee4e7cd794a0b10328c49baf368fdc1ba405dcc43c8792fa7
7
+ data.tar.gz: c6d3e3c6640686a7c6b5d23c9d356310d042a230398fcacd4024e9f18832c17f67dab8ba2c343f29f0f1392c59219568836a390e5fd015eb9e32a09ee3032d23
@@ -1,7 +1,7 @@
1
1
  require "yaml"
2
2
 
3
3
  module NormalizeCountry
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  Countries = {}
6
6
 
7
7
  class << self
@@ -1462,13 +1462,14 @@ ME:
1462
1462
  MF:
1463
1463
  aliases:
1464
1464
  - St. Martin
1465
+ - Saint-Martin
1465
1466
  alpha2: MF
1466
1467
  alpha3: MAF
1467
1468
  fifa:
1468
1469
  ioc:
1469
- iso_name: Saint Martin
1470
+ iso_name: Saint Martin (French part)
1470
1471
  numeric: "663"
1471
- official: Saint Martin
1472
+ official: Collectivity of Saint Martin
1472
1473
  short: Saint Martin
1473
1474
  emoji: "\U0001F1F2\U0001F1EB"
1474
1475
  MG:
@@ -1492,13 +1493,16 @@ MH:
1492
1493
  short: Marshall Islands
1493
1494
  emoji: "\U0001F1F2\U0001F1ED"
1494
1495
  MK:
1496
+ aliases:
1497
+ - Republic of Macedonia
1498
+ - Macedonia, the Former Yugoslav Republic Of
1495
1499
  alpha2: MK
1496
1500
  alpha3: MKD
1497
1501
  fifa: MKD
1498
1502
  ioc: MKD
1499
- iso_name: Macedonia, the Former Yugoslav Republic Of
1503
+ iso_name: North Macedonia
1500
1504
  numeric: "807"
1501
- official: Republic of Macedonia
1505
+ official: Republic of North Macedonia
1502
1506
  short: Macedonia
1503
1507
  emoji: "\U0001F1F2\U0001F1F0"
1504
1508
  ML:
@@ -2185,6 +2189,16 @@ SV:
2185
2189
  official: Republic of El Salvador
2186
2190
  short: El Salvador
2187
2191
  emoji: "\U0001F1F8\U0001F1FB"
2192
+ SX:
2193
+ alpha2: SX
2194
+ alpha3: SXM
2195
+ fifa:
2196
+ ioc:
2197
+ iso_name: Sint Maarten (Dutch part)
2198
+ numeric: "534"
2199
+ official: Sint Maarten
2200
+ short: Sint Maarten
2201
+ emoji: "\U0001F1F8\U0001F1FD"
2188
2202
  SY:
2189
2203
  alpha2: SY
2190
2204
  alpha3: SYR
@@ -4,7 +4,7 @@ require "minitest/autorun"
4
4
  require "normalize_country"
5
5
 
6
6
  describe NormalizeCountry do
7
- COUNTRY_COUNT = 248
7
+ COUNTRY_COUNT = 249
8
8
 
9
9
  it "normalizes to a country's ISO name by default" do
10
10
  NormalizeCountry.convert("USA").must_equal("United States")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: normalize_country
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Skye Shaw
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-21 00:00:00.000000000 Z
11
+ date: 2020-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.6.11
78
+ rubygems_version: 2.7.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Convert country names and codes to a standard