pumi 0.12.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 +5 -5
- 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
@@ -13235,7 +13235,7 @@ villages:
|
|
13235
13235
|
'03020809':
|
13236
13236
|
name:
|
13237
13237
|
km: តាប៉ាង២
|
13238
|
-
latin: Ta Pang
|
13238
|
+
latin: Ta Pang 2
|
13239
13239
|
administrative_unit:
|
13240
13240
|
km: ភូមិ
|
13241
13241
|
latin: Phum
|
@@ -13243,7 +13243,7 @@ villages:
|
|
13243
13243
|
'03020810':
|
13244
13244
|
name:
|
13245
13245
|
km: តាប៉ាង៣
|
13246
|
-
latin: Ta Pang
|
13246
|
+
latin: Ta Pang 3
|
13247
13247
|
administrative_unit:
|
13248
13248
|
km: ភូមិ
|
13249
13249
|
latin: Phum
|
@@ -13251,7 +13251,7 @@ villages:
|
|
13251
13251
|
'03020811':
|
13252
13252
|
name:
|
13253
13253
|
km: តាប៉ាង៤
|
13254
|
-
latin: Ta Pang
|
13254
|
+
latin: Ta Pang 4
|
13255
13255
|
administrative_unit:
|
13256
13256
|
km: ភូមិ
|
13257
13257
|
latin: Phum
|
@@ -26250,7 +26250,7 @@ villages:
|
|
26250
26250
|
en: Village
|
26251
26251
|
'05030215':
|
26252
26252
|
name:
|
26253
|
-
km:
|
26253
|
+
km: អង្គរមាស
|
26254
26254
|
latin: Angk Romeas
|
26255
26255
|
administrative_unit:
|
26256
26256
|
km: ភូមិ
|
@@ -61427,7 +61427,7 @@ villages:
|
|
61427
61427
|
'12080301':
|
61428
61428
|
name:
|
61429
61429
|
km: ឃ្មួញ
|
61430
|
-
latin:
|
61430
|
+
latin: Khmuonh
|
61431
61431
|
administrative_unit:
|
61432
61432
|
km: ភូមិ
|
61433
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.12.
|
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
|