countries 5.0.0 → 5.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8a95786ec6321b9d8d1f9b11854cd37d693554a2052a270187a7ee82f8d629b
4
- data.tar.gz: 9c360efbd86c1f91526ec28474041255c54d81585c689c8dd1b492c33e7db060
3
+ metadata.gz: 3f4c18c20a21b358c31c0453a13252eb30f5b9aff3b2fc09803b83ab42bbc434
4
+ data.tar.gz: a7b7997ff12a290673f51e3b672dd501fb0f42e9a02c17a0c2c75c92a593be27
5
5
  SHA512:
6
- metadata.gz: 077e94f77953b21e4d3e59e7830429f9effa3633e310ce682d554f3eeefdf976fc0290a6d1ae9e1ee5f379f3f7abbb8043a1484822ea82473f833f3369b8f9f0
7
- data.tar.gz: 7fcdbfc5e27c1eb44e684694da9974000f7d076da9770138c9402ec46866cdd7e52c90141c815559149b7a5fe6e00ee16a2578c6b6f966c5d7bcc5c819840255
6
+ metadata.gz: 23ffc95eb8c0584db74fc5cdebc3965020c5047784fc5e18b8a1064dc61e28a3962e4d32516fff593652ce8ae5c0fdfd05e3ac6389f975ca7777cc1f1399f978
7
+ data.tar.gz: 5a749c3c933871d1716102959bcbd6a96f0f5207317267a645cdbac1dddc4daff0e66701bc735c605ad0cf3a53b7c2e0f54564ae84bf504b0b1b9d45408190f9
@@ -15,11 +15,11 @@ jobs:
15
15
  strategy:
16
16
  matrix:
17
17
  include:
18
- - ruby-version: 2.7.5
18
+ - ruby-version: 2.7.6
19
19
  bundler-version: default
20
- - ruby-version: 3.0.3
20
+ - ruby-version: 3.0.4
21
21
  bundler-version: default
22
- - ruby-version: 3.1.1
22
+ - ruby-version: 3.1.2
23
23
  bundler-version: default
24
24
  steps:
25
25
  - uses: actions/checkout@v2
data/CHANGELOG.md CHANGED
@@ -3,7 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project adheres to [Semantic Versioning](https://semver.org/).
5
5
 
6
- ## [5.0.0] (https://github.com/countries/countries/releases/tag/v5.0.') (2022/04/03 17:44 +00:00)
6
+ ## [5.0.1] (https://github.com/countries/countries/releases/tag/v5.0.1') (2022/05/02 12:03 +00:00)
7
+
8
+ **Merged pull requests:**
9
+
10
+ * Added subdivision_names_with_codes method in documentation [\#747](https://github.com/countries/countries/pull/747) ([arymoraes](https://github.com/arymoraes))
11
+ * Corrected Portuguese subdivision names by @FilipaDurao in [\#748](https://github.com/countries/countries/pull/748) ([FilipaDurao](https://github.com/FilipaDurao))
12
+
13
+ ## [5.0.0] (https://github.com/countries/countries/releases/tag/v5.0.0') (2022/04/03 17:44 +00:00)
7
14
 
8
15
  **Breaking Changes**
9
16
 
data/README.markdown CHANGED
@@ -153,6 +153,9 @@ c.nationality # => "American"
153
153
  ```ruby
154
154
  c.subdivisions # => {"CO" => {"name" => "Colorado", "names" => "Colorado"}, ... }
155
155
  c.states # => {"CO" => {"name" => "Colorado", "names" => "Colorado"}, ... }
156
+
157
+ # Get specific translations for the country subdivisions
158
+ c.subdivision_names_with_codes('es') #=> [ ..., ["Nuevo Hampshire", "NH"], ["Nueva Jersey", "NJ"], ... ]
156
159
  ```
157
160
 
158
161
  ### Location
@@ -86,7 +86,7 @@
86
86
  nb: Beja
87
87
  nl: Beja
88
88
  pl: Dystrykt Beja
89
- pt: Distrito de Beja
89
+ pt: Beja
90
90
  ro: Districtul Beja
91
91
  ru: Бежа
92
92
  si: බෙජා දිස්ත්‍රික්කය
@@ -147,7 +147,7 @@
147
147
  nb: Braga
148
148
  nl: Braga
149
149
  pl: Dystrykt Braga
150
- pt: Distrito de Braga
150
+ pt: Braga
151
151
  ro: Districtul Braga
152
152
  ru: Брага
153
153
  si: බ්‍රගා දිස්ත්‍රික්කය
@@ -252,7 +252,7 @@
252
252
  nb: Castelo Branco
253
253
  nl: Castelo Branco
254
254
  pl: Dystrykt Castelo Branco
255
- pt: Distrito de Castelo Branco
255
+ pt: Castelo Branco
256
256
  ro: Districtul Castelo Branco
257
257
  ru: Каштелу-Бранку
258
258
  si: කැස්ටෙලෝ බ්‍රන්කෝ දිස්ත්‍රික්කය
@@ -313,7 +313,7 @@
313
313
  nb: Coimbra
314
314
  nl: Coimbra
315
315
  pl: Dystrykt Coimbra
316
- pt: Distrito de Coimbra
316
+ pt: Coimbra
317
317
  ro: Districtul Coimbra
318
318
  ru: Коимбра
319
319
  si: කොයිම්බ්‍රා දිස්ත්‍රික්කය
@@ -372,7 +372,7 @@
372
372
  nb: Évora
373
373
  nl: Évora
374
374
  pl: Dystrykt Évora
375
- pt: Distrito de Évora
375
+ pt: Évora
376
376
  ro: Districtul Évora
377
377
  ru: Эвора
378
378
  si: එවොරා දිස්ත්‍රික්කය
@@ -432,7 +432,7 @@
432
432
  nb: Faro
433
433
  nl: Faro
434
434
  pl: Dystrykt Faro
435
- pt: Distrito de Faro
435
+ pt: Faro
436
436
  ro: Districtul Faro
437
437
  ru: Фару
438
438
  si: ෆාරො දිස්ත්‍රික්කය
@@ -486,7 +486,7 @@
486
486
  nb: Guarda
487
487
  nl: Guarda
488
488
  pl: Dystrykt Guarda
489
- pt: Distrito da Guarda
489
+ pt: Guarda
490
490
  ro: Districtul Guarda
491
491
  ru: Гуарда
492
492
  sr: Гварда
@@ -539,7 +539,7 @@
539
539
  nb: Leiria
540
540
  nl: Leiria
541
541
  pl: Dystrykt Leiria
542
- pt: Distrito de Leiria
542
+ pt: Leiria
543
543
  ro: Districtul Leiria
544
544
  ru: Лейрия
545
545
  si: ලේයිරියා දිස්ත්‍රික්කය
@@ -597,7 +597,7 @@
597
597
  nb: Lisboa
598
598
  nl: Lissabon
599
599
  pl: Dystrykt Lizbona
600
- pt: Distrito de Lisboa
600
+ pt: Lisboa
601
601
  ro: Districtul Lisabona
602
602
  ru: Лиссабон
603
603
  sr: Лисабон
@@ -642,7 +642,7 @@
642
642
  nb: Portalegre
643
643
  nl: Portalegre
644
644
  pl: Dystrykt Portalegre
645
- pt: Distrito de Portalegre
645
+ pt: Portalegre
646
646
  ro: Districtul Portalegre
647
647
  ru: Порталегри
648
648
  sr: Порталегре
@@ -741,7 +741,7 @@
741
741
  nb: Santarém
742
742
  nl: Santarém
743
743
  pl: Dystrykt Santarém
744
- pt: Distrito de Santarém
744
+ pt: Santarém
745
745
  ro: Districtul Santarém
746
746
  ru: Сантарен
747
747
  si: සැන්ටරේම් දිස්ත්‍රික්කය
@@ -802,7 +802,7 @@
802
802
  nb: Setúbal
803
803
  nl: Setúbal
804
804
  pl: Dystrykt Setúbal
805
- pt: Distrito de Setúbal
805
+ pt: Setúbal
806
806
  ro: Districtul Setúbal
807
807
  ru: Сетубал
808
808
  si: සෙටුබල් දිස්ත්‍රික්කය
@@ -862,7 +862,7 @@
862
862
  nb: Viana do Castelo
863
863
  nl: Viana do Castelo
864
864
  pl: Dystrykt Viana do Castelo
865
- pt: Distrito de Viana do Castelo
865
+ pt: Viana do Castelo
866
866
  ro: Districtul Viana do Castelo
867
867
  ru: Виана-ду-Каштелу
868
868
  si: වියානා ඩො කැස්ටෙලෝ දිස්ත්‍රික්කය
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Countries
4
- VERSION = '5.0.0'.freeze
4
+ VERSION = '5.0.1'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: countries
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Robinson
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2022-04-03 00:00:00.000000000 Z
14
+ date: 2022-05-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: i18n_data