optic14n 3.0.2 → 4.0.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: 9e37354d53b14c9ef352291cc0d310c8f52fc18188ffff1c82481187ea1ee89c
4
- data.tar.gz: 1ab53bf23167d914c45d12ec023b15b512553bb9b952b164a8eb9dd463ce21e1
3
+ metadata.gz: 3d9f9f736aaf7870d06103f9cac6d0a30997287e24a644a463e0ad48af38e89e
4
+ data.tar.gz: 9260fea9357cacd11e96f2f3d3d71a8e68dbb20e0950d081d65f455129c95ee0
5
5
  SHA512:
6
- metadata.gz: 65e495051ef9130dcadb6f419242947ea388c1d89d550619273a814b0398860135db6abea9de41ccb8b93688ca60d6e9ebfda4faf1398aeb0d3e4c7e74ba9ed2
7
- data.tar.gz: a3d31d284e6ffe4ac66f53dcb26500a6c6c783a33a37d77f78550998eda178081db2f43624caa806c1c829e4268bc78563e9d60666ffd15b8d9a3539852f04f6
6
+ metadata.gz: 741fac1befa35796c18cfc62436223e20a821fd10024ffb5539555acc30fb05648166494d0dd718ea29b7426523e7236cb05e50053b66b59795dc491290dc0c8
7
+ data.tar.gz: 130cf10d99f699a04aca59974189ca1a694543807661c72c79af6f867a6fff1afde84f1f541abecb3e3c309c6bc1af00541f35335aa352391ce66eec731902af
@@ -0,0 +1,12 @@
1
+ name: Lint GitHub Actions
2
+ on:
3
+ push:
4
+ paths: ['.github/**']
5
+ jobs:
6
+ actionlint:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v4
10
+ with:
11
+ show-progress: false
12
+ - uses: alphagov/govuk-infrastructure/.github/actions/actionlint@main
@@ -16,7 +16,7 @@ jobs:
16
16
  strategy:
17
17
  fail-fast: false
18
18
  matrix:
19
- ruby: [3.1, 3.2, 3.3]
19
+ ruby: [3.2, 3.3]
20
20
  runs-on: ubuntu-latest
21
21
  steps:
22
22
  - uses: actions/checkout@v4
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.4
1
+ 3.3.7
data/CHANGELOG.md CHANGED
@@ -1,8 +1,12 @@
1
- # 3.0.2
1
+ # Changelog
2
2
 
3
- * Update dependencies
3
+ ## 4.0.0
4
4
 
5
- # Changelog
5
+ * BREAKING: Drop support for Ruby 3.1 [PR](https://github.com/alphagov/optic14n/pull/64)
6
+
7
+ ## 3.0.2
8
+
9
+ * Update dependencies
6
10
 
7
11
  ## 3.0.1
8
12
 
@@ -1,5 +1,3 @@
1
- require "set"
2
-
3
1
  module Optic14n
4
2
  ##
5
3
  # Canonicalizes a set of URLs
@@ -1,3 +1,3 @@
1
1
  module Optic14n
2
- VERSION = "3.0.2".freeze
2
+ VERSION = "4.0.0".freeze
3
3
  end
@@ -1,5 +1,3 @@
1
- require "set"
2
-
3
1
  namespace :opt do
4
2
  desc "Measure reduction from canonicalisation"
5
3
  task :measure, [:filename, :output_file] do |_, args|
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.1.4"
16
+ spec.required_ruby_version = ">= 3.2"
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.0.4"
27
+ spec.add_development_dependency "rubocop-govuk", "5.1.1"
28
28
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optic14n
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
10
+ date: 2025-03-26 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: addressable
@@ -58,14 +57,14 @@ dependencies:
58
57
  requirements:
59
58
  - - '='
60
59
  - !ruby/object:Gem::Version
61
- version: 5.0.4
60
+ version: 5.1.1
62
61
  type: :development
63
62
  prerelease: false
64
63
  version_requirements: !ruby/object:Gem::Requirement
65
64
  requirements:
66
65
  - - '='
67
66
  - !ruby/object:Gem::Version
68
- version: 5.0.4
67
+ version: 5.1.1
69
68
  description: Canonicalises URLs.
70
69
  email:
71
70
  - govuk-dev@digital.cabinet-office.gov.uk
@@ -75,6 +74,7 @@ extra_rdoc_files: []
75
74
  files:
76
75
  - ".github/dependabot.yml"
77
76
  - ".github/pull_request_template.md"
77
+ - ".github/workflows/actionlint.yml"
78
78
  - ".github/workflows/autorelease.yml"
79
79
  - ".github/workflows/ci.yml"
80
80
  - ".gitignore"
@@ -104,7 +104,6 @@ homepage: https://github.com/alphagov/optic14n
104
104
  licenses:
105
105
  - MIT
106
106
  metadata: {}
107
- post_install_message:
108
107
  rdoc_options: []
109
108
  require_paths:
110
109
  - lib
@@ -112,15 +111,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
111
  requirements:
113
112
  - - ">="
114
113
  - !ruby/object:Gem::Version
115
- version: 3.1.4
114
+ version: '3.2'
116
115
  required_rubygems_version: !ruby/object:Gem::Requirement
117
116
  requirements:
118
117
  - - ">="
119
118
  - !ruby/object:Gem::Version
120
119
  version: '0'
121
120
  requirements: []
122
- rubygems_version: 3.5.23
123
- signing_key:
121
+ rubygems_version: 3.6.6
124
122
  specification_version: 4
125
123
  summary: Specifically, HTTP URLs, for a limited purpose
126
124
  test_files: