pumi 0.7.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +3 -2
- data/.github/workflows/bump_version.yml +1 -0
- data/.github/workflows/update_data.yml +4 -4
- data/.tool-versions +2 -2
- data/data/communes.yml +72 -24
- data/data/districts.yml +8 -0
- data/data/villages.yml +715 -387
- data/lib/pumi/store_cache.rb +2 -0
- data/lib/pumi/version.rb +1 -1
- data/pumi.gemspec +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d9b169421963c685b80a7b9e7722d72b64ee0c4dd1d6ba27047c360d955cf75
|
4
|
+
data.tar.gz: 8fe8fd0119b6b4804997c116c622e88578c20d21df46bafeeb3f3f0ec2f233a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94a76bb5974a6f2e585537fa52b4673e1b08245e85e872430ea7338d8d528ba683a4d15fec62fc34f97acf25f5d8a2bfd396d30b85c1a0fdcfdffc009e84c417
|
7
|
+
data.tar.gz: 560e45e5f1c9e6b4ccb92e5ffd8928608fd911101b99ef56f72d2b8039adf8d3f90e7f73675e6d16f56ccca79c69338ac34405a38a2ff0347e1e5d55d93621e9
|
data/.github/workflows/build.yml
CHANGED
@@ -4,7 +4,7 @@ on: [push]
|
|
4
4
|
|
5
5
|
jobs:
|
6
6
|
build:
|
7
|
-
|
7
|
+
if: "!contains(github.event.commits[0].message, '[skip ci]')"
|
8
8
|
runs-on: ubuntu-latest
|
9
9
|
|
10
10
|
steps:
|
@@ -13,7 +13,8 @@ jobs:
|
|
13
13
|
- name: Set up Ruby
|
14
14
|
uses: actions/setup-ruby@v1
|
15
15
|
with:
|
16
|
-
ruby-version:
|
16
|
+
ruby-version: '3'
|
17
|
+
bundler-cache: true
|
17
18
|
|
18
19
|
- name: Install Dependencies
|
19
20
|
run: |
|
@@ -2,14 +2,14 @@ name: Update Data
|
|
2
2
|
|
3
3
|
on:
|
4
4
|
schedule:
|
5
|
-
- cron: '0
|
5
|
+
- cron: '0 2 * * 0'
|
6
6
|
|
7
7
|
jobs:
|
8
8
|
fetch_data:
|
9
9
|
runs-on: ubuntu-latest
|
10
10
|
|
11
11
|
steps:
|
12
|
-
- uses: actions/checkout@
|
12
|
+
- uses: actions/checkout@v2
|
13
13
|
|
14
14
|
- name: Setup Ruby
|
15
15
|
uses: actions/setup-ruby@v1
|
@@ -23,7 +23,7 @@ jobs:
|
|
23
23
|
run: ./bin/parse_data
|
24
24
|
|
25
25
|
- name: Create Pull Request
|
26
|
-
uses: peter-evans/create-pull-request@
|
26
|
+
uses: peter-evans/create-pull-request@v3
|
27
27
|
with:
|
28
28
|
token: ${{ secrets.REPO_TOKEN }}
|
29
29
|
commit-message: "Update pumi data"
|
@@ -32,7 +32,7 @@ jobs:
|
|
32
32
|
base: "master"
|
33
33
|
|
34
34
|
- name: Upload Data
|
35
|
-
uses: actions/upload-artifact@
|
35
|
+
uses: actions/upload-artifact@v2
|
36
36
|
with:
|
37
37
|
name: data_files
|
38
38
|
path: tmp
|
data/.tool-versions
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
ruby
|
2
|
-
nodejs
|
1
|
+
ruby 3.0.3
|
2
|
+
nodejs 16.13.1
|
data/data/communes.yml
CHANGED
@@ -520,6 +520,22 @@ communes:
|
|
520
520
|
km: សង្កាត់
|
521
521
|
latin: Sangkat
|
522
522
|
en: Quarter
|
523
|
+
'011004':
|
524
|
+
name:
|
525
|
+
km: អូរជ្រៅ
|
526
|
+
latin: Ou Chrov
|
527
|
+
administrative_unit:
|
528
|
+
km: សង្កាត់
|
529
|
+
latin: Sangkat
|
530
|
+
en: Quarter
|
531
|
+
'011005':
|
532
|
+
name:
|
533
|
+
km: អូរឫស្សី
|
534
|
+
latin: Ou Reusey
|
535
|
+
administrative_unit:
|
536
|
+
km: សង្កាត់
|
537
|
+
latin: Sangkat
|
538
|
+
en: Quarter
|
523
539
|
'020101':
|
524
540
|
name:
|
525
541
|
km: កន្ទឺ ១
|
@@ -808,6 +824,14 @@ communes:
|
|
808
824
|
km: ឃុំ
|
809
825
|
latin: Khum
|
810
826
|
en: Commune
|
827
|
+
'020409':
|
828
|
+
name:
|
829
|
+
km: បួវិល
|
830
|
+
latin: Bouvel
|
831
|
+
administrative_unit:
|
832
|
+
km: ឃុំ
|
833
|
+
latin: Khum
|
834
|
+
en: Commune
|
811
835
|
'020501':
|
812
836
|
name:
|
813
837
|
km: ព្រែកនរិន្ទ
|
@@ -2624,6 +2648,14 @@ communes:
|
|
2624
2648
|
km: ឃុំ
|
2625
2649
|
latin: Khum
|
2626
2650
|
en: Commune
|
2651
|
+
'040614':
|
2652
|
+
name:
|
2653
|
+
km: ភ្នំក្រាំងដីមាស
|
2654
|
+
latin: Phnom Kraing Dey Meas
|
2655
|
+
administrative_unit:
|
2656
|
+
km: ឃុំ
|
2657
|
+
latin: Khum
|
2658
|
+
en: Commune
|
2627
2659
|
'040701':
|
2628
2660
|
name:
|
2629
2661
|
km: ឈានឡើង
|
@@ -3288,6 +3320,14 @@ communes:
|
|
3288
3320
|
km: ឃុំ
|
3289
3321
|
latin: Khum
|
3290
3322
|
en: Commune
|
3323
|
+
'050614':
|
3324
|
+
name:
|
3325
|
+
km: យាយម៉ៅពេជ្យនិល
|
3326
|
+
latin: Yeay Mao Pichnil
|
3327
|
+
administrative_unit:
|
3328
|
+
km: ឃុំ
|
3329
|
+
latin: Khum
|
3330
|
+
en: Commune
|
3291
3331
|
'050701':
|
3292
3332
|
name:
|
3293
3333
|
km: រលាំងចក
|
@@ -4688,14 +4728,6 @@ communes:
|
|
4688
4728
|
km: ឃុំ
|
4689
4729
|
latin: Khum
|
4690
4730
|
en: Commune
|
4691
|
-
'070701':
|
4692
|
-
name:
|
4693
|
-
km: បឹងទូក
|
4694
|
-
latin: Boeng Tuk
|
4695
|
-
administrative_unit:
|
4696
|
-
km: ឃុំ
|
4697
|
-
latin: Khum
|
4698
|
-
en: Commune
|
4699
4731
|
'070702':
|
4700
4732
|
name:
|
4701
4733
|
km: ជុំគ្រៀល
|
@@ -4728,14 +4760,6 @@ communes:
|
|
4728
4760
|
km: ឃុំ
|
4729
4761
|
latin: Khum
|
4730
4762
|
en: Commune
|
4731
|
-
'070707':
|
4732
|
-
name:
|
4733
|
-
km: កោះតូច
|
4734
|
-
latin: Kaoh Touch
|
4735
|
-
administrative_unit:
|
4736
|
-
km: ឃុំ
|
4737
|
-
latin: Khum
|
4738
|
-
en: Commune
|
4739
4763
|
'070708':
|
4740
4764
|
name:
|
4741
4765
|
km: កូនសត្វ
|
@@ -4752,14 +4776,6 @@ communes:
|
|
4752
4776
|
km: ឃុំ
|
4753
4777
|
latin: Khum
|
4754
4778
|
en: Commune
|
4755
|
-
'070711':
|
4756
|
-
name:
|
4757
|
-
km: ព្រែកត្នោត
|
4758
|
-
latin: Preaek Tnoat
|
4759
|
-
administrative_unit:
|
4760
|
-
km: ឃុំ
|
4761
|
-
latin: Khum
|
4762
|
-
en: Commune
|
4763
4779
|
'070712':
|
4764
4780
|
name:
|
4765
4781
|
km: ព្រៃឃ្មុំ
|
@@ -4856,6 +4872,30 @@ communes:
|
|
4856
4872
|
km: សង្កាត់
|
4857
4873
|
latin: Sangkat
|
4858
4874
|
en: Quarter
|
4875
|
+
'070901':
|
4876
|
+
name:
|
4877
|
+
km: បឹងទូក
|
4878
|
+
latin: Boeng Tuk
|
4879
|
+
administrative_unit:
|
4880
|
+
km: សង្កាត់
|
4881
|
+
latin: Sangkat
|
4882
|
+
en: Quarter
|
4883
|
+
'070902':
|
4884
|
+
name:
|
4885
|
+
km: កោះតូច
|
4886
|
+
latin: Kaoh Touch
|
4887
|
+
administrative_unit:
|
4888
|
+
km: សង្កាត់
|
4889
|
+
latin: Sangkat
|
4890
|
+
en: Quarter
|
4891
|
+
'070903':
|
4892
|
+
name:
|
4893
|
+
km: ព្រែកត្នោត
|
4894
|
+
latin: Preaek Tnoat
|
4895
|
+
administrative_unit:
|
4896
|
+
km: សង្កាត់
|
4897
|
+
latin: Sangkat
|
4898
|
+
en: Quarter
|
4859
4899
|
'080101':
|
4860
4900
|
name:
|
4861
4901
|
km: អំពៅព្រៃ
|
@@ -6352,6 +6392,14 @@ communes:
|
|
6352
6392
|
km: ឃុំ
|
6353
6393
|
latin: Khum
|
6354
6394
|
en: Commune
|
6395
|
+
'100411':
|
6396
|
+
name:
|
6397
|
+
km: អូរកណ្តៀរសែនជ័យ
|
6398
|
+
latin: Oukondear Senchey
|
6399
|
+
administrative_unit:
|
6400
|
+
km: ឃុំ
|
6401
|
+
latin: Khum
|
6402
|
+
en: Commune
|
6355
6403
|
'100501':
|
6356
6404
|
name:
|
6357
6405
|
km: ឃ្សឹម
|
data/data/districts.yml
CHANGED