domain_name 0.7.20261007 → 0.7.20261117

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: 476a417bd69f97cbcbc78fd5c5b558b64be4dccebaf4faa2f423cbda38f16f2a
4
- data.tar.gz: d85b95635ab78654fabfbfeecf5e1177ac9dca1675cf6eb373da497525f9371f
3
+ metadata.gz: 8aeade05c2efffc875a5d89d88fd39e4bb03790046f3f8a4af19384568923730
4
+ data.tar.gz: 263dbf28b69afc81f3f4b47e4ebf2a8429b2afad879f94c4b7bb6ea138be7d82
5
5
  SHA512:
6
- metadata.gz: 352e4f73563ddc78ca350026b87c4b785e7bc84747e076f48c15f8521936cb180778849f04c9179183352c9980078b8644ee3214f809ac97f655c4a24d7f161b
7
- data.tar.gz: 5c0f30985880e573684bf2ac7357c3696654cd2538d0bd988b419383d1343c906fb3389cb171e7c8ef66a867bcc001d6beac4c166292c977903ae4276e339f66
6
+ metadata.gz: bcf3bce9d5fd41e4db35c096fcfa698a1db52597170f50134d040fe29e9e3e951c02cb71eb550da8d5d31d5be408cec4246bef79d23bd5057e063de8a7ce9f94
7
+ data.tar.gz: 6966050b8c8aa803441c3a0f1302cd56e2d746faf4edf5620fc6008dc4fab41562a11cddcdee2fadaf30cc20f4708e3b012776b21e1067c398db236fcae80872
data/.github/mergify.yml CHANGED
@@ -1,9 +1,7 @@
1
+ extends: .github
2
+
1
3
  queue_rules:
2
4
  - name: dependency-updates
3
- batch_size: 5
4
- batch_max_wait_time: 10 min
5
- checks_timeout: auto
6
- merge_method: merge-batch
7
5
  queue_conditions:
8
6
  - base = master
9
7
  - author ~= ^(dependabot|renovate)\[bot\]$
@@ -25,4 +23,3 @@ merge_protections_settings:
25
23
  - -conflict
26
24
  - "#approved-reviews-by >= 1"
27
25
  - check-success = Test
28
- reporting_method: check-runs
@@ -18,6 +18,21 @@
18
18
  labels: ["dependencies", "security"],
19
19
  },
20
20
  packageRules: [
21
+ {
22
+ "matchManagers": [
23
+ "github-actions"
24
+ ],
25
+ "matchDepTypes": [
26
+ "action"
27
+ ],
28
+ "matchFileNames": [
29
+ ".github/workflows/ci.yml",
30
+ ".github/workflows/publish-gem.yml",
31
+ ".github/workflows/update-public-suffix-list.yml",
32
+ ".github/workflows/actions-lock.yml"
33
+ ],
34
+ "pinDigests": false
35
+ },
21
36
  {
22
37
  matchUpdateTypes: ["major"],
23
38
  addLabels: ["dependencies:major"],
@@ -0,0 +1,29 @@
1
+ name: Verify action lockfile
2
+ on:
3
+ pull_request: null
4
+ push:
5
+ branches:
6
+ - master
7
+ permissions:
8
+ contents: read
9
+ concurrency:
10
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11
+ cancel-in-progress: true
12
+ jobs:
13
+ verify:
14
+ runs-on: ubuntu-latest
15
+ timeout-minutes: 10
16
+ steps:
17
+ - name: Harden Runner
18
+ uses: step-security/harden-runner@v2.22.3
19
+ with:
20
+ egress-policy: audit
21
+ - uses: actions/checkout@v7.0.1
22
+ with:
23
+ persist-credentials: false
24
+ - name: Verify workflow dependencies
25
+ env:
26
+ GH_TOKEN: ${{ github.token }}
27
+ run: |
28
+ gh extension install github/gh-actions-lock --pin v0.4.0
29
+ gh actions-lock --verify
@@ -0,0 +1,55 @@
1
+ # This file is machine-generated by `gh actions-lock`.
2
+ # Do not edit by hand; run `gh actions-lock` to update.
3
+ # Docs: https://gh.io/actions-lockfile
4
+ version: 'v0.0.3'
5
+ workflows:
6
+ '.github/workflows/actions-lock.yml':
7
+ - 'actions/checkout@v7.0.1'
8
+ - 'step-security/harden-runner@v2.22.3'
9
+ '.github/workflows/ci.yml':
10
+ - 'actions/checkout@v7.0.1'
11
+ - 'ruby/setup-ruby@v1.336.0'
12
+ - 'step-security/harden-runner@v2.22.3'
13
+ '.github/workflows/publish-gem.yml':
14
+ - 'actions/checkout@v7.0.1'
15
+ - 'ruby/setup-ruby@v1.336.0'
16
+ - 'rubygems/release-gem@v1.4.1'
17
+ - 'step-security/harden-runner@v2.22.3'
18
+ '.github/workflows/update-public-suffix-list.yml':
19
+ - 'actions/checkout@v7.0.1'
20
+ - 'peter-evans/create-pull-request@v8.1.1'
21
+ - 'ruby/setup-ruby@v1.336.0'
22
+ - 'step-security/harden-runner@v2.22.3'
23
+ dependencies:
24
+ 'actions/checkout@v7.0.1':
25
+ ref: 'v7.0.1'
26
+ commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
27
+ owner_id: 44036562
28
+ repo_id: 197814629
29
+ 'peter-evans/create-pull-request@v8.1.1':
30
+ ref: 'v8.1.1'
31
+ commit: 'sha1-5f6978faf089d4d20b00c7766989d076bb2fc7f1'
32
+ owner_id: 18365890
33
+ repo_id: 197176365
34
+ 'ruby/setup-ruby@v1.336.0':
35
+ ref: 'v1.336.0'
36
+ commit: 'sha1-de492cf36cbab201753d720ce4f4e336cd688c94'
37
+ owner_id: 210414
38
+ repo_id: 231208785
39
+ 'rubygems/configure-rubygems-credentials@dc5a8d8553e6ee01fc26761a49e99e733d17954a':
40
+ ref: 'v2.1.0'
41
+ commit: 'sha1-dc5a8d8553e6ee01fc26761a49e99e733d17954a'
42
+ owner_id: 208761
43
+ repo_id: 631633510
44
+ 'rubygems/release-gem@v1.4.1':
45
+ ref: 'v1.4.1'
46
+ commit: 'sha1-7f9650160c1a4e7989fdc9855807bdbd421d8b6b'
47
+ owner_id: 208761
48
+ repo_id: 731435765
49
+ uses:
50
+ - 'rubygems/configure-rubygems-credentials@dc5a8d8553e6ee01fc26761a49e99e733d17954a'
51
+ 'step-security/harden-runner@v2.22.3':
52
+ ref: 'v2.22.3'
53
+ commit: 'sha1-46b06cea07f9e64621fdf066ba77ac6915163d43'
54
+ owner_id: 88700172
55
+ repo_id: 422287306
@@ -34,17 +34,17 @@ jobs:
34
34
 
35
35
  steps:
36
36
  - name: Harden Runner
37
- uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0
37
+ uses: step-security/harden-runner@v2.22.3
38
38
  with:
39
39
  egress-policy: audit
40
40
 
41
41
  - name: Check out
42
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
42
+ uses: actions/checkout@v7.0.1
43
43
  with:
44
44
  persist-credentials: false
45
45
 
46
46
  - name: Set up Ruby
47
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
47
+ uses: ruby/setup-ruby@v1.336.0
48
48
  with:
49
49
  ruby-version: ${{matrix.ruby}}
50
50
 
@@ -32,7 +32,7 @@ jobs:
32
32
 
33
33
  steps:
34
34
  - name: Harden Runner
35
- uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0
35
+ uses: step-security/harden-runner@v2.22.3
36
36
  with:
37
37
  egress-policy: audit
38
38
 
@@ -73,20 +73,21 @@ jobs:
73
73
 
74
74
  environment:
75
75
  name: rubygems.org
76
- url: https://rubygems.org/gems/domain_name
76
+ deployment: false
77
77
 
78
78
  permissions:
79
79
  contents: write
80
+ deployments: write
80
81
  id-token: write
81
82
 
82
83
  steps:
83
84
  - name: Harden Runner
84
- uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0
85
+ uses: step-security/harden-runner@v2.22.3
85
86
  with:
86
87
  egress-policy: audit
87
88
 
88
89
  - name: Check out release commit
89
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
90
+ uses: actions/checkout@v7.0.1
90
91
  with:
91
92
  fetch-depth: 0
92
93
  persist-credentials: false
@@ -108,6 +109,7 @@ jobs:
108
109
  tag="v${version}"
109
110
  fi
110
111
  echo "tag=$tag" >> "$GITHUB_OUTPUT"
112
+ echo "version=$version" >> "$GITHUB_OUTPUT"
111
113
 
112
114
  - name: Ensure release tag
113
115
  env:
@@ -128,7 +130,7 @@ jobs:
128
130
  fi
129
131
 
130
132
  - name: Set up Ruby
131
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
133
+ uses: ruby/setup-ruby@v1.336.0
132
134
  with:
133
135
  ruby-version: ruby
134
136
 
@@ -146,8 +148,53 @@ jobs:
146
148
  version="$(ruby -Ilib -e 'require "domain_name/version"; print DomainName::VERSION')"
147
149
  test "v${version}" = "$TAG"
148
150
 
151
+ # workflow_run uses the default branch SHA, so record the release tag explicitly.
152
+ - name: Record deployment start
153
+ id: deployment
154
+ env:
155
+ GH_TOKEN: ${{ github.token }}
156
+ TAG: ${{ steps.release.outputs.tag }}
157
+ VERSION: ${{ steps.release.outputs.version }}
158
+ run: |
159
+ set -euo pipefail
160
+ deployment_id="$(gh api --method POST "repos/${GITHUB_REPOSITORY}/deployments" \
161
+ --raw-field "ref=$TAG" \
162
+ --raw-field environment=rubygems.org \
163
+ --raw-field "description=Publish domain_name $VERSION" \
164
+ --field auto_merge=false \
165
+ --field 'required_contexts[]' \
166
+ --field production_environment=true \
167
+ --jq '.id')"
168
+ echo "id=$deployment_id" >> "$GITHUB_OUTPUT"
169
+ gh api --method POST "repos/${GITHUB_REPOSITORY}/deployments/${deployment_id}/statuses" \
170
+ --raw-field state=in_progress \
171
+ --raw-field "log_url=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" \
172
+ --field auto_inactive=false > /dev/null
173
+
149
174
  - name: Publish to RubyGems
150
- uses: rubygems/release-gem@7f9650160c1a4e7989fdc9855807bdbd421d8b6b # v1.4.1
175
+ id: publish
176
+ uses: rubygems/release-gem@v1.4.1
177
+
178
+ - name: Record deployment result
179
+ if: ${{ always() && steps.deployment.outputs.id != '' }}
180
+ env:
181
+ GH_TOKEN: ${{ github.token }}
182
+ DEPLOYMENT_ID: ${{ steps.deployment.outputs.id }}
183
+ PUBLISH_OUTCOME: ${{ steps.publish.outcome }}
184
+ VERSION: ${{ steps.release.outputs.version }}
185
+ run: |
186
+ set -euo pipefail
187
+ case "$PUBLISH_OUTCOME" in
188
+ success) state=success ;;
189
+ cancelled) state=error ;;
190
+ *) state=failure ;;
191
+ esac
192
+ gh api --method POST "repos/${GITHUB_REPOSITORY}/deployments/${DEPLOYMENT_ID}/statuses" \
193
+ --raw-field "state=$state" \
194
+ --raw-field "description=RubyGems publish: $PUBLISH_OUTCOME" \
195
+ --raw-field "environment_url=https://rubygems.org/gems/domain_name/versions/${VERSION}" \
196
+ --raw-field "log_url=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" \
197
+ --field auto_inactive=false > /dev/null
151
198
 
152
199
  - name: Create GitHub release
153
200
  env:
@@ -24,17 +24,17 @@ jobs:
24
24
 
25
25
  steps:
26
26
  - name: Harden Runner
27
- uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0
27
+ uses: step-security/harden-runner@v2.22.3
28
28
  with:
29
29
  egress-policy: audit
30
30
 
31
31
  - name: Check out
32
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
32
+ uses: actions/checkout@v7.0.1
33
33
  with:
34
34
  persist-credentials: false
35
35
 
36
36
  - name: Set up Ruby
37
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
37
+ uses: ruby/setup-ruby@v1.336.0
38
38
  with:
39
39
  bundler-cache: true
40
40
  ruby-version: ruby
@@ -67,7 +67,7 @@ jobs:
67
67
  - name: Create pull request
68
68
  if: steps.changes.outputs.changed == 'true'
69
69
  id: pull-request
70
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
70
+ uses: peter-evans/create-pull-request@v8.1.1
71
71
  with:
72
72
  add-paths: |
73
73
  CHANGELOG.md
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.7.20261117](https://github.com/knu/ruby-domain_name/tree/v0.7.20261117) (2026-11-18)
4
+ [Full Changelog](https://github.com/knu/ruby-domain_name/compare/v0.7.20261031...v0.7.20261117)
5
+
6
+ - Update the eTLD database to 2026-11-17 14:38:45 UTC
7
+
8
+ ## [v0.7.20261031](https://github.com/knu/ruby-domain_name/tree/v0.7.20261031) (2026-11-02)
9
+ [Full Changelog](https://github.com/knu/ruby-domain_name/compare/v0.7.20261007...v0.7.20261031)
10
+
11
+ - Update the eTLD database to 2026-10-31 14:17:35 UTC
12
+
3
13
  ## [v0.7.20261007](https://github.com/knu/ruby-domain_name/tree/v0.7.20261007) (2026-10-13)
4
14
  [Full Changelog](https://github.com/knu/ruby-domain_name/compare/v0.6.20260921...v0.7.20261007)
5
15