pumi 0.25.0 → 0.27.0

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: 0c8e5379673830b69473807ba1357d64e6d89ce04ad7ab746a124a37c270400b
4
- data.tar.gz: 5bc3d19dd54d80775be3382a6abc51752ca82b2d5e8efc69c586681c2be179f7
3
+ metadata.gz: 0edb191327803e19be78cf0df10a233ddc7d2c0c214cf5b3088fb0fceb02fbc8
4
+ data.tar.gz: 63d20104536e5e9b6c7dbcb3bf5e28a2c131519691896a516b59eec8a6f5fe2b
5
5
  SHA512:
6
- metadata.gz: fe6ea73ca3bc85157c4c46f8b22a55b62cbe903d13d3bc6c076eea05caeb1d0683b3bb8efed2d15e9e9a722a7f6ccdec2c308f662118a3595bbf43b0113c4683
7
- data.tar.gz: 52e6ae7f189b020644cfef425cc8b37b619c67deeb475151e836ca35f767cb2944ed16f0f229380ccd686e1eb1e5a69d9be8848a49f48013133c45b7dc752a9f
6
+ metadata.gz: b8ad18b05472acee16d2cd265c45c7e5357b498e8d0e542086b678896db9e5d9ec007246a79c8842724f6f3d65f16ef71e459465e3affb9b6d011e951da0a023
7
+ data.tar.gz: 1d5eecdadab48e1428bc92c7dc8cd7478ab2fa8235a0cf45eac1452f06748c486d78c37e8d33107f9026c4e47f236c15405e6e57188d9d0917120575b07406ea
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.25.0"
2
+ ".": "0.27.0"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.27.0](https://github.com/dwilkie/pumi/compare/v0.26.0...v0.27.0) (2024-05-26)
4
+
5
+
6
+ ### Features
7
+
8
+ * Update data ([#83](https://github.com/dwilkie/pumi/issues/83)) ([f997f3a](https://github.com/dwilkie/pumi/commit/f997f3a7eed0c30fd71013d95a8a7831e3571d54))
9
+
10
+ ## [0.26.0](https://github.com/dwilkie/pumi/compare/v0.25.0...v0.26.0) (2024-05-20)
11
+
12
+
13
+ ### Features
14
+
15
+ * Add UNGEGN names and update Wikipedia publisher and parsers ([#81](https://github.com/dwilkie/pumi/issues/81)) ([1164cc7](https://github.com/dwilkie/pumi/commit/1164cc7ae518dc410c14136deadef343cb50585e))
16
+
3
17
  ## [0.25.0](https://github.com/dwilkie/pumi/compare/v0.24.1...v0.25.0) (2024-05-19)
4
18
 
5
19
 
data/README.md CHANGED
@@ -101,7 +101,11 @@ And then execute:
101
101
 
102
102
  # Return the district's province name in latin
103
103
  district.province.name_latin
104
- # => Phnom Penh
104
+ # => "Phnom Penh"
105
+
106
+ # Return the district's province name in UNGEGN
107
+ district.province.name_ungegn
108
+ # => "Phnum Pénh"
105
109
 
106
110
  # Working with Communes (ឃុំ / សង្កាត់)
107
111
 
data/bin/parse_data CHANGED
@@ -11,6 +11,11 @@ require "pumi/data_source/wikipedia"
11
11
 
12
12
  Pumi::DataSource::NCDD.new.load_data!
13
13
 
14
+ Pumi::DataSource::Wikipedia.new(
15
+ scraper: Pumi::DataSource::Wikipedia::CambodianProvincesScraper.new,
16
+ data_file: Pumi::DataFile.new(:provinces)
17
+ ).load_data!
18
+
14
19
  Pumi::DataSource::Wikipedia.new(
15
20
  scraper: Pumi::DataSource::Wikipedia::CambodianDistrictsScraper.new,
16
21
  data_file: Pumi::DataFile.new(:districts)