govuk_ab_testing 3.0.0 → 3.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: 2d473c839937d932bfad0e7dc33673c907f47dedffdf15d1b5bc4bd2d9c61df1
4
- data.tar.gz: 4ba58b2b6b499b8b670fff033740d3efb8ce421a0d5f561a58bb4b028968fd36
3
+ metadata.gz: ef3249174be5cc5e1246f13dbf2d2432228da70bc86ce4d58daf20740c077ea8
4
+ data.tar.gz: c0a1cc981e9d12f193c3efd8772084921b6f38bbca8df6784fc7dfc96c908bb9
5
5
  SHA512:
6
- metadata.gz: 2e5f893dcd4b96da54646fa5f951f7949f1d3e499cc51fe84b22b3869f281857ca74259ee927a4337a50a34dc50b6ef24460f578ed3af38c26b0c8dde0cad366
7
- data.tar.gz: b438372d3a2a309acbe83dde157cd09a5a9f857ddf03ad28009e10cd212cb4034716b831fa87f41c301ee892329f9c5e3f47d8d23eb49dd34e2f3a9135f6b752
6
+ metadata.gz: 2bc8d0e30cdf60118f63bb9ff396dead1dfa0df6750db9aaffc09b74e3362d3ac244326eae7c9da20c69089fda84802a7876defc359479cd4962bc21cd16eace
7
+ data.tar.gz: c5d7bb65b2d19dce686eafb2fef50b3a5268a2e69862ebf3c54aa0eaa0f959cc744d4bd19661f0c07560828230184d223a10fcdf8bd8950db45bb642982d3390
@@ -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@v6
10
+ with:
11
+ show-progress: false
12
+ - uses: alphagov/govuk-infrastructure/.github/actions/actionlint@main
@@ -16,10 +16,10 @@ 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, 3.4, '4.0']
20
20
  runs-on: ubuntu-latest
21
21
  steps:
22
- - uses: actions/checkout@v4
22
+ - uses: actions/checkout@v6
23
23
  - uses: ruby/setup-ruby@v1
24
24
  with:
25
25
  ruby-version: ${{ matrix.ruby }}
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.4
1
+ 3.2.8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 3.1.0
2
+
3
+ * Drop support for Ruby 3.1. The minimum required Ruby version is now 3.2
4
+
1
5
  ## 3.0.0
2
6
 
3
7
  * Drop support for Ruby 3.0. The minimum required Ruby version is now 3.1
data/README.md CHANGED
@@ -19,7 +19,7 @@ And then execute:
19
19
  Before starting this, you'll need to:
20
20
 
21
21
  - [Read the documentation](https://docs.publishing.service.gov.uk/manual/ab-testing.html) for an overview on how a/b testing works on GOV.UK.
22
- - The cookie and header name in [govuk-cdn-config](https://github.com/alphagov/govuk-cdn-config/blob/master/ab_tests/ab_tests.yaml) must match the test name parameter that you pass to the Gem. The cookie name is case-sensitive.
22
+ - The cookie and header name in [govuk-fastly](https://github.com/alphagov/govuk-fastly/blob/main/www/ab_tests.yaml) must match the test name parameter that you pass to the Gem. The cookie name is case-sensitive.
23
23
 
24
24
  ## Usage
25
25
 
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = "Gem to help with A/B testing on the GOV.UK platform"
13
13
  spec.homepage = "https://github.com/alphagov/govuk_ab_testing"
14
14
  spec.license = "MIT"
15
- spec.required_ruby_version = ">= 3.1"
15
+ spec.required_ruby_version = ">= 3.2"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
18
  f.match(%r{^(test|spec|features)/})
@@ -23,6 +23,6 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_development_dependency "rake"
25
25
  spec.add_development_dependency "rspec"
26
- spec.add_development_dependency "rubocop-govuk", "5.0.2"
26
+ spec.add_development_dependency "rubocop-govuk", "5.1.20"
27
27
  spec.add_development_dependency "yard"
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module GovukAbTesting
2
- VERSION = "3.0.0".freeze
2
+ VERSION = "3.1.0".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_ab_testing
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-08-13 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rake
@@ -44,14 +43,14 @@ dependencies:
44
43
  requirements:
45
44
  - - '='
46
45
  - !ruby/object:Gem::Version
47
- version: 5.0.2
46
+ version: 5.1.20
48
47
  type: :development
49
48
  prerelease: false
50
49
  version_requirements: !ruby/object:Gem::Requirement
51
50
  requirements:
52
51
  - - '='
53
52
  - !ruby/object:Gem::Version
54
- version: 5.0.2
53
+ version: 5.1.20
55
54
  - !ruby/object:Gem::Dependency
56
55
  name: yard
57
56
  requirement: !ruby/object:Gem::Requirement
@@ -74,6 +73,7 @@ extensions: []
74
73
  extra_rdoc_files: []
75
74
  files:
76
75
  - ".github/dependabot.yml"
76
+ - ".github/workflows/actionlint.yml"
77
77
  - ".github/workflows/ci.yml"
78
78
  - ".gitignore"
79
79
  - ".rspec"
@@ -104,7 +104,6 @@ homepage: https://github.com/alphagov/govuk_ab_testing
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'
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.17
123
- signing_key:
121
+ rubygems_version: 4.0.3
124
122
  specification_version: 4
125
123
  summary: Gem to help with A/B testing on the GOV.UK platform
126
124
  test_files: []