pumi 0.11.0 → 0.12.2
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 +2 -3
- data/.github/workflows/release.yml +38 -0
- data/.github/workflows/update_data.yml +4 -6
- data/.tool-versions +1 -1
- data/CHANGELOG.md +15 -0
- data/data/villages.yml +115 -59
- data/lib/pumi/version.rb +1 -1
- data/pumi.gemspec +2 -1
- metadata +23 -8
- data/.github/workflows/bump_version.yml +0 -39
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c338fd7c9989d517c568b220fad0700b141044673b46ecf908fe40692890c96f
|
4
|
+
data.tar.gz: 57c0a0a287d5fd3fe892697eef9c5c480fdba8efa6fdf3106fda5af420d0d999
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81a711486ae8400838a02c1253b406ef779a025426cddd9b545220b1508936635888a51132474f80733002fa8a4d8890c2cf83cf7001602a4fa5cdc6bcf961d9
|
7
|
+
data.tar.gz: 89038beb7b19c9e5f17693fcffac6f5cfba9451171d64d31377b06b1cb578ef5fe6e3a5f32dc7c66103623f8273c25bcf0021eb89d391fb3cbb73da5ca2c0d1e
|
data/.github/workflows/build.yml
CHANGED
@@ -8,12 +8,11 @@ jobs:
|
|
8
8
|
runs-on: ubuntu-latest
|
9
9
|
|
10
10
|
steps:
|
11
|
-
- uses: actions/checkout@
|
11
|
+
- uses: actions/checkout@v3
|
12
12
|
|
13
13
|
- name: Set up Ruby
|
14
|
-
uses:
|
14
|
+
uses: ruby/setup-ruby@v1
|
15
15
|
with:
|
16
|
-
ruby-version: '3'
|
17
16
|
bundler-cache: true
|
18
17
|
|
19
18
|
- name: Install Dependencies
|
@@ -0,0 +1,38 @@
|
|
1
|
+
name: release
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
release-please:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
steps:
|
12
|
+
- uses: google-github-actions/release-please-action@v3
|
13
|
+
id: release
|
14
|
+
with:
|
15
|
+
release-type: ruby
|
16
|
+
bump-minor-pre-major: true
|
17
|
+
version-file: "lib/pumi/version.rb"
|
18
|
+
|
19
|
+
- uses: actions/checkout@v3
|
20
|
+
if: ${{ steps.release.outputs.release_created }}
|
21
|
+
|
22
|
+
- uses: ruby/setup-ruby@v1
|
23
|
+
if: ${{ steps.release.outputs.release_created }}
|
24
|
+
|
25
|
+
- run: bundle install
|
26
|
+
if: ${{ steps.release.outputs.release_created }}
|
27
|
+
|
28
|
+
- name: publish gem
|
29
|
+
if: ${{ steps.release.outputs.release_created }}
|
30
|
+
run: |
|
31
|
+
mkdir -p $HOME/.gem
|
32
|
+
touch $HOME/.gem/credentials
|
33
|
+
chmod 0600 $HOME/.gem/credentials
|
34
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
35
|
+
gem build *.gemspec
|
36
|
+
gem push *.gem
|
37
|
+
env:
|
38
|
+
GEM_HOST_API_KEY: "${{secrets.GEM_HOST_API_KEY}}"
|
@@ -9,12 +9,10 @@ jobs:
|
|
9
9
|
runs-on: ubuntu-latest
|
10
10
|
|
11
11
|
steps:
|
12
|
-
- uses: actions/checkout@
|
12
|
+
- uses: actions/checkout@v3
|
13
13
|
|
14
14
|
- name: Setup Ruby
|
15
|
-
uses:
|
16
|
-
with:
|
17
|
-
ruby-version: '2.x'
|
15
|
+
uses: ruby/setup-ruby@v1
|
18
16
|
|
19
17
|
- name: Fetch Data
|
20
18
|
uses: ./.github/actions/fetch_data
|
@@ -26,8 +24,8 @@ jobs:
|
|
26
24
|
uses: peter-evans/create-pull-request@v3
|
27
25
|
with:
|
28
26
|
token: ${{ secrets.REPO_TOKEN }}
|
29
|
-
commit-message: "Update
|
30
|
-
title: "Update
|
27
|
+
commit-message: "fix: Update data"
|
28
|
+
title: "fix: Update data"
|
31
29
|
labels: "update_data"
|
32
30
|
base: "master"
|
33
31
|
|
data/.tool-versions
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
ruby 3.0
|
1
|
+
ruby 3.2.0
|
2
2
|
nodejs 16.13.1
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [0.12.2](https://github.com/dwilkie/pumi/compare/v0.12.1...v0.12.2) (2023-02-01)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* release ([6a2da62](https://github.com/dwilkie/pumi/commit/6a2da6270e1c037ff99955b7efb4254bc6dd30ad))
|
9
|
+
|
10
|
+
## [0.12.1](https://github.com/dwilkie/pumi/compare/v0.12.0...v0.12.1) (2023-02-01)
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* Upgrade ruby ([#29](https://github.com/dwilkie/pumi/issues/29)) ([a5b6d45](https://github.com/dwilkie/pumi/commit/a5b6d4590e123d391d2eea3a1a2cc2a02d374a3b))
|
data/data/villages.yml
CHANGED
@@ -12624,6 +12624,38 @@ villages:
|
|
12624
12624
|
km: ភូមិ
|
12625
12625
|
latin: Phum
|
12626
12626
|
en: Village
|
12627
|
+
'03020112':
|
12628
|
+
name:
|
12629
|
+
km: បាំង១
|
12630
|
+
latin: Bang 1
|
12631
|
+
administrative_unit:
|
12632
|
+
km: ភូមិ
|
12633
|
+
latin: Phum
|
12634
|
+
en: Village
|
12635
|
+
'03020113':
|
12636
|
+
name:
|
12637
|
+
km: បាំង២
|
12638
|
+
latin: Bang 2
|
12639
|
+
administrative_unit:
|
12640
|
+
km: ភូមិ
|
12641
|
+
latin: Phum
|
12642
|
+
en: Village
|
12643
|
+
'03020114':
|
12644
|
+
name:
|
12645
|
+
km: បុសខ្នរលើ
|
12646
|
+
latin: Bos Khnor Leu
|
12647
|
+
administrative_unit:
|
12648
|
+
km: ភូមិ
|
12649
|
+
latin: Phum
|
12650
|
+
en: Village
|
12651
|
+
'03020115':
|
12652
|
+
name:
|
12653
|
+
km: ១០មករាលើ
|
12654
|
+
latin: Dab Meakkakra Leu
|
12655
|
+
administrative_unit:
|
12656
|
+
km: ភូមិ
|
12657
|
+
latin: Phum
|
12658
|
+
en: Village
|
12627
12659
|
'03020201':
|
12628
12660
|
name:
|
12629
12661
|
km: ចំការអណ្ដូង
|
@@ -12680,14 +12712,6 @@ villages:
|
|
12680
12712
|
km: ភូមិ
|
12681
12713
|
latin: Phum
|
12682
12714
|
en: Village
|
12683
|
-
'03020208':
|
12684
|
-
name:
|
12685
|
-
km: ភូមិលេខ ២
|
12686
|
-
latin: Phum Lekh Pir
|
12687
|
-
administrative_unit:
|
12688
|
-
km: ភូមិ
|
12689
|
-
latin: Phum
|
12690
|
-
en: Village
|
12691
12715
|
'03020209':
|
12692
12716
|
name:
|
12693
12717
|
km: ភូមិ១១
|
@@ -12696,14 +12720,6 @@ villages:
|
|
12696
12720
|
km: ភូមិ
|
12697
12721
|
latin: Phum
|
12698
12722
|
en: Village
|
12699
|
-
'03020210':
|
12700
|
-
name:
|
12701
|
-
km: ភូមិ៣៣
|
12702
|
-
latin: Phum Sam Bei
|
12703
|
-
administrative_unit:
|
12704
|
-
km: ភូមិ
|
12705
|
-
latin: Phum
|
12706
|
-
en: Village
|
12707
12723
|
'03020211':
|
12708
12724
|
name:
|
12709
12725
|
km: ភូមិ២២
|
@@ -12728,14 +12744,6 @@ villages:
|
|
12728
12744
|
km: ភូមិ
|
12729
12745
|
latin: Phum
|
12730
12746
|
en: Village
|
12731
|
-
'03020214':
|
12732
|
-
name:
|
12733
|
-
km: សហគ្រាស
|
12734
|
-
latin: Sahak Kreas
|
12735
|
-
administrative_unit:
|
12736
|
-
km: ភូមិ
|
12737
|
-
latin: Phum
|
12738
|
-
en: Village
|
12739
12747
|
'03020215':
|
12740
12748
|
name:
|
12741
12749
|
km: សហគ្រាន់
|
@@ -12752,22 +12760,6 @@ villages:
|
|
12752
12760
|
km: ភូមិ
|
12753
12761
|
latin: Phum
|
12754
12762
|
en: Village
|
12755
|
-
'03020217':
|
12756
|
-
name:
|
12757
|
-
km: រោងចក្រ
|
12758
|
-
latin: Roung Chakr
|
12759
|
-
administrative_unit:
|
12760
|
-
km: ភូមិ
|
12761
|
-
latin: Phum
|
12762
|
-
en: Village
|
12763
|
-
'03020218':
|
12764
|
-
name:
|
12765
|
-
km: ក្រុមហ៊ុន
|
12766
|
-
latin: Kromhun
|
12767
|
-
administrative_unit:
|
12768
|
-
km: ភូមិ
|
12769
|
-
latin: Phum
|
12770
|
-
en: Village
|
12771
12763
|
'03020301':
|
12772
12764
|
name:
|
12773
12765
|
km: ស្ពឺ "ក"
|
@@ -12808,6 +12800,22 @@ villages:
|
|
12808
12800
|
km: ភូមិ
|
12809
12801
|
latin: Phum
|
12810
12802
|
en: Village
|
12803
|
+
'03020306':
|
12804
|
+
name:
|
12805
|
+
km: ជយោត្បូង
|
12806
|
+
latin: Cheyyou Tboung
|
12807
|
+
administrative_unit:
|
12808
|
+
km: ភូមិ
|
12809
|
+
latin: Phum
|
12810
|
+
en: Village
|
12811
|
+
'03020307':
|
12812
|
+
name:
|
12813
|
+
km: អកមោក
|
12814
|
+
latin: Ak Mouk
|
12815
|
+
administrative_unit:
|
12816
|
+
km: ភូមិ
|
12817
|
+
latin: Phum
|
12818
|
+
en: Village
|
12811
12819
|
'03020401':
|
12812
12820
|
name:
|
12813
12821
|
km: ក្បាលហុងថ្មី
|
@@ -13040,6 +13048,30 @@ villages:
|
|
13040
13048
|
km: ភូមិ
|
13041
13049
|
latin: Phum
|
13042
13050
|
en: Village
|
13051
|
+
'03020615':
|
13052
|
+
name:
|
13053
|
+
km: ថ្នល់បែកជើង
|
13054
|
+
latin: Thnal Baek Cheung
|
13055
|
+
administrative_unit:
|
13056
|
+
km: ភូមិ
|
13057
|
+
latin: Phum
|
13058
|
+
en: Village
|
13059
|
+
'03020616':
|
13060
|
+
name:
|
13061
|
+
km: ថ្នល់បត់
|
13062
|
+
latin: Thnal Bat
|
13063
|
+
administrative_unit:
|
13064
|
+
km: ភូមិ
|
13065
|
+
latin: Phum
|
13066
|
+
en: Village
|
13067
|
+
'03020617':
|
13068
|
+
name:
|
13069
|
+
km: បុស្សចេកព្រៃ
|
13070
|
+
latin: Bos Chek Prey
|
13071
|
+
administrative_unit:
|
13072
|
+
km: ភូមិ
|
13073
|
+
latin: Phum
|
13074
|
+
en: Village
|
13043
13075
|
'03020701':
|
13044
13076
|
name:
|
13045
13077
|
km: តាអុង
|
@@ -13112,34 +13144,26 @@ villages:
|
|
13112
13144
|
km: ភូមិ
|
13113
13145
|
latin: Phum
|
13114
13146
|
en: Village
|
13115
|
-
'
|
13116
|
-
name:
|
13117
|
-
km: ភូមិ ៣១
|
13118
|
-
latin: Phum Sammuoy
|
13119
|
-
administrative_unit:
|
13120
|
-
km: ភូមិ
|
13121
|
-
latin: Phum
|
13122
|
-
en: Village
|
13123
|
-
'03020711':
|
13147
|
+
'03020713':
|
13124
13148
|
name:
|
13125
|
-
km: ភូមិ
|
13126
|
-
latin: Phum
|
13149
|
+
km: ភូមិ ៣៤
|
13150
|
+
latin: Phum Sambuon
|
13127
13151
|
administrative_unit:
|
13128
13152
|
km: ភូមិ
|
13129
13153
|
latin: Phum
|
13130
13154
|
en: Village
|
13131
|
-
'
|
13155
|
+
'03020714':
|
13132
13156
|
name:
|
13133
|
-
km:
|
13134
|
-
latin:
|
13157
|
+
km: អំពិលជួរ
|
13158
|
+
latin: Ampil Chuor
|
13135
13159
|
administrative_unit:
|
13136
13160
|
km: ភូមិ
|
13137
13161
|
latin: Phum
|
13138
13162
|
en: Village
|
13139
|
-
'
|
13163
|
+
'03020715':
|
13140
13164
|
name:
|
13141
|
-
km:
|
13142
|
-
latin:
|
13165
|
+
km: ឆាំឆា
|
13166
|
+
latin: Chham Chha
|
13143
13167
|
administrative_unit:
|
13144
13168
|
km: ភូមិ
|
13145
13169
|
latin: Phum
|
@@ -13200,6 +13224,38 @@ villages:
|
|
13200
13224
|
km: ភូមិ
|
13201
13225
|
latin: Phum
|
13202
13226
|
en: Village
|
13227
|
+
'03020808':
|
13228
|
+
name:
|
13229
|
+
km: តាប៉ាង១
|
13230
|
+
latin: Ta Pang 1
|
13231
|
+
administrative_unit:
|
13232
|
+
km: ភូមិ
|
13233
|
+
latin: Phum
|
13234
|
+
en: Village
|
13235
|
+
'03020809':
|
13236
|
+
name:
|
13237
|
+
km: តាប៉ាង២
|
13238
|
+
latin: Ta Pang 2
|
13239
|
+
administrative_unit:
|
13240
|
+
km: ភូមិ
|
13241
|
+
latin: Phum
|
13242
|
+
en: Village
|
13243
|
+
'03020810':
|
13244
|
+
name:
|
13245
|
+
km: តាប៉ាង៣
|
13246
|
+
latin: Ta Pang 3
|
13247
|
+
administrative_unit:
|
13248
|
+
km: ភូមិ
|
13249
|
+
latin: Phum
|
13250
|
+
en: Village
|
13251
|
+
'03020811':
|
13252
|
+
name:
|
13253
|
+
km: តាប៉ាង៤
|
13254
|
+
latin: Ta Pang 4
|
13255
|
+
administrative_unit:
|
13256
|
+
km: ភូមិ
|
13257
|
+
latin: Phum
|
13258
|
+
en: Village
|
13203
13259
|
'03030101':
|
13204
13260
|
name:
|
13205
13261
|
km: រវៀង
|
@@ -26194,7 +26250,7 @@ villages:
|
|
26194
26250
|
en: Village
|
26195
26251
|
'05030215':
|
26196
26252
|
name:
|
26197
|
-
km:
|
26253
|
+
km: អង្គរមាស
|
26198
26254
|
latin: Angk Romeas
|
26199
26255
|
administrative_unit:
|
26200
26256
|
km: ភូមិ
|
@@ -61371,7 +61427,7 @@ villages:
|
|
61371
61427
|
'12080301':
|
61372
61428
|
name:
|
61373
61429
|
km: ឃ្មួញ
|
61374
|
-
latin:
|
61430
|
+
latin: Khmuonh
|
61375
61431
|
administrative_unit:
|
61376
61432
|
km: ភូមិ
|
61377
61433
|
latin: Phum
|
data/lib/pumi/version.rb
CHANGED
data/pumi.gemspec
CHANGED
@@ -29,12 +29,13 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_development_dependency "jquery-rails"
|
30
30
|
spec.add_development_dependency "pry"
|
31
31
|
spec.add_development_dependency "puma"
|
32
|
-
spec.add_development_dependency "rails"
|
32
|
+
spec.add_development_dependency "rails"
|
33
33
|
spec.add_development_dependency "rake"
|
34
34
|
spec.add_development_dependency "rspec"
|
35
35
|
spec.add_development_dependency "rspec-rails"
|
36
36
|
spec.add_development_dependency "rubocop"
|
37
37
|
spec.add_development_dependency "rubocop-rspec"
|
38
38
|
spec.add_development_dependency "selenium-webdriver"
|
39
|
+
spec.add_development_dependency "sprockets-rails"
|
39
40
|
spec.add_development_dependency "webdrivers"
|
40
41
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pumi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Wilkie
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bump
|
@@ -112,16 +112,16 @@ dependencies:
|
|
112
112
|
name: rails
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
117
|
+
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rake
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,6 +206,20 @@ dependencies:
|
|
206
206
|
- - ">="
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: sprockets-rails
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
209
223
|
- !ruby/object:Gem::Dependency
|
210
224
|
name: webdrivers
|
211
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -231,12 +245,13 @@ files:
|
|
231
245
|
- ".github/actions/fetch_data/action.yml"
|
232
246
|
- ".github/actions/fetch_data/entrypoint.sh"
|
233
247
|
- ".github/workflows/build.yml"
|
234
|
-
- ".github/workflows/
|
248
|
+
- ".github/workflows/release.yml"
|
235
249
|
- ".github/workflows/update_data.yml"
|
236
250
|
- ".gitignore"
|
237
251
|
- ".rspec"
|
238
252
|
- ".rubocop.yml"
|
239
253
|
- ".tool-versions"
|
254
|
+
- CHANGELOG.md
|
240
255
|
- CODE_OF_CONDUCT.md
|
241
256
|
- Gemfile
|
242
257
|
- LICENSE.txt
|
@@ -294,7 +309,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
294
309
|
- !ruby/object:Gem::Version
|
295
310
|
version: '0'
|
296
311
|
requirements: []
|
297
|
-
rubygems_version: 3.
|
312
|
+
rubygems_version: 3.4.1
|
298
313
|
signing_key:
|
299
314
|
specification_version: 4
|
300
315
|
summary: Villages (ភូមិ), Communes (ឃុំ - សង្កាត់), Districts (ស្រុក - ខណ្ឌ) and Provinces
|
@@ -1,39 +0,0 @@
|
|
1
|
-
name: Create Release
|
2
|
-
on:
|
3
|
-
push:
|
4
|
-
branches:
|
5
|
-
- master
|
6
|
-
jobs:
|
7
|
-
release:
|
8
|
-
if: "!contains(github.event.commits[0].message, '[skip ci]')"
|
9
|
-
runs-on: ubuntu-latest
|
10
|
-
steps:
|
11
|
-
- uses: actions/checkout@v2
|
12
|
-
|
13
|
-
- name: Set up Ruby
|
14
|
-
uses: actions/setup-ruby@v1
|
15
|
-
with:
|
16
|
-
ruby-version: 2.6.x
|
17
|
-
|
18
|
-
- name: Install Dependencies
|
19
|
-
run: |
|
20
|
-
gem install bundler
|
21
|
-
bundle install --jobs 4 --retry 3
|
22
|
-
|
23
|
-
- name: Set up Git
|
24
|
-
run: |
|
25
|
-
git config --global user.email "dwilkie@gmail.com"
|
26
|
-
git config --global user.name "David Wilkie"
|
27
|
-
|
28
|
-
- name: Bump version and publish release
|
29
|
-
env:
|
30
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
31
|
-
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
|
32
|
-
run: |
|
33
|
-
mkdir -p ~/.gem
|
34
|
-
echo -e "---\r\n:rubygems_api_key: $GEM_HOST_API_KEY" > ~/.gem/credentials
|
35
|
-
chmod 0600 ~/.gem/credentials
|
36
|
-
bundle exec bump minor --tag
|
37
|
-
git push
|
38
|
-
git push --tags
|
39
|
-
bundle exec rake release
|