pumi 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +22 -0
- data/data/communes.yml +288 -288
- data/data/districts.yml +40 -8
- data/data/villages.yml +4892 -4908
- 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: 4b0cfc831082d67eb960f4bef137ff0f6ae67ea60eee36aeaae1edeb7f8fc945
|
|
4
|
+
data.tar.gz: 7b3fb1bc47eb838c8aa75c0467bbc518e83f09a2473e75d2a70c53c76fdce492
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb6d74bd6d8b7192c8da709c30e2be05591cfe80f06f703cd765a35058458dca553f31a3cd5ffe870f2a3875054162ad9b71fa10aac47ac38a3755b2d0f42912
|
|
7
|
+
data.tar.gz: aa3d20e100720654a696d03b82470954fe1fb2691e01e17cd93961a8a39eaff99dd0475931fc0ccae8de2f4ac26e02bb96265ec923039128922240facc0fee74
|
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,22 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.13.0](https://github.com/dwilkie/pumi/compare/v0.12.2...v0.13.0) (2023-02-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Update data ([#33](https://github.com/dwilkie/pumi/issues/33)) ([ab06018](https://github.com/dwilkie/pumi/commit/ab06018c19f1546c8d1c2c53b154623037301563))
|
|
9
|
+
|
|
10
|
+
## [0.12.2](https://github.com/dwilkie/pumi/compare/v0.12.1...v0.12.2) (2023-02-01)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* release ([6a2da62](https://github.com/dwilkie/pumi/commit/6a2da6270e1c037ff99955b7efb4254bc6dd30ad))
|
|
16
|
+
|
|
17
|
+
## [0.12.1](https://github.com/dwilkie/pumi/compare/v0.12.0...v0.12.1) (2023-02-01)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* Upgrade ruby ([#29](https://github.com/dwilkie/pumi/issues/29)) ([a5b6d45](https://github.com/dwilkie/pumi/commit/a5b6d4590e123d391d2eea3a1a2cc2a02d374a3b))
|