pumi 0.25.0 → 0.26.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: 2b963834abbf75627a23e0622748c1e7cb22a99c5bd5fdfc380f80d10ed74bcf
4
+ data.tar.gz: 0f9801a0518dd90a2450ea25b87cd588ff622d5f01852b51b2526ae6423ab7ac
5
5
  SHA512:
6
- metadata.gz: fe6ea73ca3bc85157c4c46f8b22a55b62cbe903d13d3bc6c076eea05caeb1d0683b3bb8efed2d15e9e9a722a7f6ccdec2c308f662118a3595bbf43b0113c4683
7
- data.tar.gz: 52e6ae7f189b020644cfef425cc8b37b619c67deeb475151e836ca35f767cb2944ed16f0f229380ccd686e1eb1e5a69d9be8848a49f48013133c45b7dc752a9f
6
+ metadata.gz: cef3ebfa8df18e476228658b573218786e70aabf335bd5a5e52fe7cc8425bbe683ff6d1ae12e2816f838e3c5902fe5eb146c751835f3fd57b0e2eae2ff655bcc
7
+ data.tar.gz: 478329926ed49f23fb8fc415a4da64880553df38db335b1ce3fa82bd85188a56d696c6015b204fd95cb7fda9c0181707461e974993bbd6cdd882505c67272b12
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.25.0"
2
+ ".": "0.26.0"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.26.0](https://github.com/dwilkie/pumi/compare/v0.25.0...v0.26.0) (2024-05-20)
4
+
5
+
6
+ ### Features
7
+
8
+ * 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))
9
+
3
10
  ## [0.25.0](https://github.com/dwilkie/pumi/compare/v0.24.1...v0.25.0) (2024-05-19)
4
11
 
5
12
 
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)