slidict 0.1.5 → 0.1.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c07fd82f0702ff65d92397554df1518e46f13e63093136fa0292176e5e860882
4
- data.tar.gz: 07b52dad44e1839a00cc15dd5c9215d8cc15334137943c0b8fd3dba0fd06835b
3
+ metadata.gz: fbc5e790dd61153be274e56924cf62275c6f7faecc62fadeb1be61112d2b7c22
4
+ data.tar.gz: 0a1af3694e1bce28b2f21a4d0898fad0034ff6fe3460b9d53e18236668a5b4f4
5
5
  SHA512:
6
- metadata.gz: 5b415f46322b58ddc1ce327f8e6eb867afddd8b1cb5a264558882ffcf07adc2218022b6c8a6848b7b46fe184fc703ff5e425baecf622087c9812390f15d57097
7
- data.tar.gz: bdd12522edd002b6d9c170f2a0b88b8fe9dc4c222513f4cd5f4d3a58eeba9b57d1fcbefeb93a8a8e0e057ee7d8f729903ccec46f795810abdd67c99161519277
6
+ metadata.gz: 7f037d810c7174a44b83f83666d186377edc3171d76bbc130f555f856252976065e752e9a44212369bbe08a2354480305ece22b1962851962366137416ef3f60
7
+ data.tar.gz: 141a0c3e8b00c02f35519b293be29b5033ed61ea75959f25a788c6da977d31907c78470a7fba99f7cc8adcf508880e86f90f4e20cde36da21db6d249690e6eff
@@ -19,5 +19,10 @@ categories:
19
19
  - title: '🧰 Maintenance'
20
20
  labels:
21
21
  - 'chore'
22
+ - 'ci'
23
+ - 'docs'
24
+ - 'build'
25
+ - 'perf'
26
+ - 'test'
22
27
  change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
23
28
  no-changes-template: '- No changes'
@@ -89,11 +89,6 @@ jobs:
89
89
  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
90
90
  NEXT_VERSION: ${{ steps.version.outputs.next }}
91
91
  run: |
92
- if gh pr view bump-version --json number >/dev/null 2>&1; then
93
- echo "Pull request for bump-version already exists"
94
- exit 0
95
- fi
96
-
97
92
  gh pr create \
98
93
  --base "${GITHUB_REF_NAME}" \
99
94
  --head bump-version \
@@ -31,29 +31,7 @@ jobs:
31
31
  echo "changed=false" >> "$GITHUB_OUTPUT"
32
32
  fi
33
33
 
34
- - name: Check if version tag exists
35
- id: check_tag
36
- run: |
37
- if gh release view "$VERSION_TAG" --json tagName > /dev/null 2>&1; then
38
- echo "exists=true" >> $GITHUB_OUTPUT
39
- else
40
- echo "exists=false" >> $GITHUB_OUTPUT
41
- fi
42
- env:
43
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44
-
45
- - name: Generate CHANGELOG with requarks/changelog-action
46
- if: steps.check_tag.outputs.exists == 'true'
47
- id: changelog
48
- uses: requarks/changelog-action@v1
49
- with:
50
- token: ${{ secrets.GITHUB_TOKEN }}
51
- tag: ${{ env.VERSION_TAG }}
52
- writeToFile: true
53
- changelogFilePath: CHANGELOG.md
54
-
55
- - name: Draft release with release-drafter
56
- if: steps.check_tag.outputs.exists == 'false'
34
+ - name: Release with release-drafter
57
35
  uses: release-drafter/release-drafter@v5
58
36
  with:
59
37
  config-name: release-drafter.yml
@@ -2,91 +2,48 @@ name: Ruby Gem
2
2
 
3
3
  on:
4
4
  push:
5
- tags: [ 'v*' ]
5
+ branches:
6
+ - main
7
+ paths:
8
+ - lib/slidict/version.rb
6
9
 
7
10
  jobs:
8
11
  build:
9
12
  name: Build + Publish
10
13
  runs-on: ubuntu-latest
11
14
  permissions:
12
- contents: write
15
+ contents: read
13
16
  packages: write
14
17
 
15
18
  steps:
16
- - uses: actions/checkout@v3
17
- with:
18
- fetch-depth: 0
19
-
20
- - name: Set up Ruby 3.4
21
- uses: ruby/setup-ruby@v1
22
- with:
23
- ruby-version: 3.4.3
24
-
25
- - name: Extract version
26
- id: version
27
- run: |
28
- version=$(echo "${GITHUB_REF#refs/tags/}")
29
- echo "version=$version" >> $GITHUB_ENV
30
-
31
- - name: Check if a previous tag exists
32
- id: previous_tag
33
- run: |
34
- if [ "$(git tag --list 'v*' | wc -l)" -gt 1 ]; then
35
- echo "exists=true" >> $GITHUB_OUTPUT
36
- else
37
- echo "exists=false" >> $GITHUB_OUTPUT
38
- fi
39
-
40
- - name: Generate CHANGELOG
41
- if: steps.previous_tag.outputs.exists == 'true'
42
- id: changelog
43
- uses: requarks/changelog-action@v1
44
- with:
45
- token: ${{ secrets.GITHUB_TOKEN }}
46
- tag: ${{ env.version }}
47
- writeToFile: true
48
- changelogFilePath: CHANGELOG.md
49
- includeRefIssues: true
50
- useGitmojis: true
51
-
52
- - name: Commit updated CHANGELOG.md
53
- if: steps.previous_tag.outputs.exists == 'true'
54
- run: |
55
- git config user.name "github-actions"
56
- git config user.email "github-actions@github.com"
57
- git add CHANGELOG.md
58
- git commit -m "docs: update CHANGELOG for ${{ env.version }}" || echo "No changes to commit"
59
- git push origin HEAD:main
60
- continue-on-error: true
61
-
62
- - name: Update GitHub Release
63
- uses: ncipollo/release-action@v1
64
- with:
65
- allowUpdates: true
66
- tag: ${{ env.version }}
67
- name: ${{ env.version }}
68
- body: ${{ steps.changelog.outputs.changes }}
69
- token: ${{ secrets.GITHUB_TOKEN }}
70
-
71
- - name: Publish to GPR
72
- run: |
73
- mkdir -p $HOME/.gem
74
- touch $HOME/.gem/credentials
75
- chmod 0600 $HOME/.gem/credentials
76
- printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
77
- gem build *.gemspec
78
- gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
79
- env:
80
- GEM_HOST_API_KEY: "Bearer ${{ secrets.GITHUB_TOKEN }}"
81
- OWNER: ${{ github.repository_owner }}
82
-
83
- - name: Publish to RubyGems
84
- run: |
85
- mkdir -p $HOME/.gem
86
- touch $HOME/.gem/credentials
87
- chmod 0600 $HOME/.gem/credentials
88
- printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
89
- gem build *.gemspec
90
- gem push *.gem
91
- env:
92
- GEM_HOST_API_KEY: "${{ secrets.RUBYGEMS_AUTH_TOKEN }}"
19
+ - uses: actions/checkout@v3
20
+ with:
21
+ fetch-depth: 0
22
+
23
+ - name: Set up Ruby 3.4
24
+ uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: 3.4.3
27
+
28
+ - name: Publish to GPR
29
+ run: |
30
+ mkdir -p $HOME/.gem
31
+ touch $HOME/.gem/credentials
32
+ chmod 0600 $HOME/.gem/credentials
33
+ printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
34
+ gem build *.gemspec
35
+ gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
36
+ env:
37
+ GEM_HOST_API_KEY: "${{ secrets.GITHUB_TOKEN }}"
38
+ OWNER: ${{ github.repository_owner }}
39
+
40
+ - name: Publish to RubyGems
41
+ run: |
42
+ mkdir -p $HOME/.gem
43
+ touch $HOME/.gem/credentials
44
+ chmod 0600 $HOME/.gem/credentials
45
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
46
+ gem build *.gemspec
47
+ gem push *.gem
48
+ env:
49
+ GEM_HOST_API_KEY: "${{ secrets.RUBYGEMS_AUTH_TOKEN }}"
data/CHANGELOG.md CHANGED
@@ -1,12 +1,5 @@
1
- ## [v0.1.5] - 2026-06-23
2
- ### :wrench: Chores
3
- - [`52f3d94`](https://github.com/slidict/slidict-cli/commit/52f3d942c06577b6bf75d1c7ab38f8607b36e9fb) - Delete .github/workflows/version-bump.yml *(commit by [@abechan1](https://github.com/abechan1))*
4
- - [`ef6f799`](https://github.com/slidict/slidict-cli/commit/ef6f799b18c272ce670264959abf0b2e4c6041b4) - bump version to v0.1.5 *(commit by [@github-actions[bot]](https://github.com/apps/github-actions))*
5
-
6
-
7
1
  ## [Unreleased]
8
2
 
9
3
  ## [0.1.0] - 2026-06-21
10
4
 
11
5
  - Initial release
12
- [v0.1.5]: https://github.com/slidict/slidict-cli/compare/v0.1.3...v0.1.5
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Slidict
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.9"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slidict
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yusuke Abe