optic14n 4.0.0 → 4.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d9f9f736aaf7870d06103f9cac6d0a30997287e24a644a463e0ad48af38e89e
4
- data.tar.gz: 9260fea9357cacd11e96f2f3d3d71a8e68dbb20e0950d081d65f455129c95ee0
3
+ metadata.gz: 70425423542431dafee391850228a249dbf22a99287e530547881d76bf1aae3e
4
+ data.tar.gz: e69293976ecb52f3c6d6876a594461bd7961a55fee59bcc818f3e1fdc78d6acf
5
5
  SHA512:
6
- metadata.gz: 741fac1befa35796c18cfc62436223e20a821fd10024ffb5539555acc30fb05648166494d0dd718ea29b7426523e7236cb05e50053b66b59795dc491290dc0c8
7
- data.tar.gz: 130cf10d99f699a04aca59974189ca1a694543807661c72c79af6f867a6fff1afde84f1f541abecb3e3c309c6bc1af00541f35335aa352391ce66eec731902af
6
+ metadata.gz: a22cff6e74a52abdc714023ddf555fcca3a611dfaa1a0b1f9fa6f84696d50141651b2089fb7fd23e1563f48c5bbf86dafd2d15abd479ddb1ccf4e25b0455c270
7
+ data.tar.gz: 65a40dc734aac58ffd85298e41945b9a68393d3031955602c7d88aca127eb65fb898ff3f28201f0db62d9b4ffc8c918d3ec665f87fdd1bd0ecd49476da039802
@@ -6,7 +6,7 @@ jobs:
6
6
  actionlint:
7
7
  runs-on: ubuntu-latest
8
8
  steps:
9
- - uses: actions/checkout@v4
9
+ - uses: actions/checkout@v6
10
10
  with:
11
11
  show-progress: false
12
12
  - uses: alphagov/govuk-infrastructure/.github/actions/actionlint@main
@@ -1,3 +1,5 @@
1
+ name: CI
2
+
1
3
  on: [push, pull_request]
2
4
 
3
5
  jobs:
@@ -10,16 +12,16 @@ jobs:
10
12
  dependency-review:
11
13
  name: Dependency Review scan
12
14
  uses: alphagov/govuk-infrastructure/.github/workflows/dependency-review.yml@main
13
-
15
+
14
16
  # This matrix job runs the test suite against multiple Ruby versions
15
17
  test_matrix:
16
18
  strategy:
17
19
  fail-fast: false
18
20
  matrix:
19
- ruby: [3.2, 3.3]
21
+ ruby: [3.3, 3.4]
20
22
  runs-on: ubuntu-latest
21
23
  steps:
22
- - uses: actions/checkout@v4
24
+ - uses: actions/checkout@v6
23
25
  - uses: ruby/setup-ruby@v1
24
26
  with:
25
27
  ruby-version: ${{ matrix.ruby }}
@@ -34,12 +36,3 @@ jobs:
34
36
  runs-on: ubuntu-latest
35
37
  steps:
36
38
  - run: echo "All matrix tests have passed 🚀"
37
-
38
- publish:
39
- needs: test
40
- if: ${{ github.ref == 'refs/heads/main' }}
41
- permissions:
42
- contents: write
43
- uses: alphagov/govuk-infrastructure/.github/workflows/publish-rubygem.yml@main
44
- secrets:
45
- GEM_HOST_API_KEY: ${{ secrets.ALPHAGOV_RUBYGEMS_API_KEY }}
@@ -0,0 +1,17 @@
1
+ name: Publish
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ workflow_run:
6
+ workflows: [CI]
7
+ types: [completed]
8
+ branches: [main]
9
+
10
+ jobs:
11
+ publish:
12
+ if: ${{ github.ref == 'refs/heads/main' }}
13
+ permissions:
14
+ contents: write
15
+ uses: alphagov/govuk-infrastructure/.github/workflows/publish-rubygem.yml@main
16
+ secrets:
17
+ GEM_HOST_API_KEY: ${{ secrets.ALPHAGOV_RUBYGEMS_API_KEY }}
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.7
1
+ 3.3.11
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.1.0
4
+
5
+ * Drop support for Ruby 3.2
6
+
3
7
  ## 4.0.0
4
8
 
5
9
  * BREAKING: Drop support for Ruby 3.1 [PR](https://github.com/alphagov/optic14n/pull/64)
@@ -1,3 +1,3 @@
1
1
  module Optic14n
2
- VERSION = "4.0.0".freeze
2
+ VERSION = "4.1.0".freeze
3
3
  end
data/optic14n.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "https://github.com/alphagov/optic14n"
14
14
  spec.license = "MIT"
15
15
 
16
- spec.required_ruby_version = ">= 3.2"
16
+ spec.required_ruby_version = ">= 3.3"
17
17
 
18
18
  spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
19
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.add_development_dependency "rake"
26
26
  spec.add_development_dependency "rspec"
27
- spec.add_development_dependency "rubocop-govuk", "5.1.1"
27
+ spec.add_development_dependency "rubocop-govuk", "5.2.0"
28
28
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optic14n
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-26 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: addressable
@@ -57,14 +57,14 @@ dependencies:
57
57
  requirements:
58
58
  - - '='
59
59
  - !ruby/object:Gem::Version
60
- version: 5.1.1
60
+ version: 5.2.0
61
61
  type: :development
62
62
  prerelease: false
63
63
  version_requirements: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - '='
66
66
  - !ruby/object:Gem::Version
67
- version: 5.1.1
67
+ version: 5.2.0
68
68
  description: Canonicalises URLs.
69
69
  email:
70
70
  - govuk-dev@digital.cabinet-office.gov.uk
@@ -77,6 +77,7 @@ files:
77
77
  - ".github/workflows/actionlint.yml"
78
78
  - ".github/workflows/autorelease.yml"
79
79
  - ".github/workflows/ci.yml"
80
+ - ".github/workflows/publish.yml"
80
81
  - ".gitignore"
81
82
  - ".govuk_dependabot_merger.yml"
82
83
  - ".rubocop.yml"
@@ -111,14 +112,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
112
  requirements:
112
113
  - - ">="
113
114
  - !ruby/object:Gem::Version
114
- version: '3.2'
115
+ version: '3.3'
115
116
  required_rubygems_version: !ruby/object:Gem::Requirement
116
117
  requirements:
117
118
  - - ">="
118
119
  - !ruby/object:Gem::Version
119
120
  version: '0'
120
121
  requirements: []
121
- rubygems_version: 3.6.6
122
+ rubygems_version: 4.0.9
122
123
  specification_version: 4
123
124
  summary: Specifically, HTTP URLs, for a limited purpose
124
125
  test_files: