govuk_personalisation 0.16.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -13
- data/.govuk_dependabot_merger.yml +6 -5
- data/.ruby-version +1 -1
- data/CHANGELOG.md +9 -0
- data/govuk_personalisation.gemspec +3 -3
- data/lib/govuk_personalisation/controller_concern.rb +1 -1
- data/lib/govuk_personalisation/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e91d64d967c4505c49e7dd4c4bac03e0e411e70cf43141ff1923634fc3b44e2
|
4
|
+
data.tar.gz: 26a907d48f1a2cd469f6377d5c9b08b02e4ce89d5a677bdeca7465a9acb48f1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d954dacf7180bf3656c551f36dd2e97ea69295f4efea7f558ebdc81a6300a93e44d3d455f6467fb36d642283ee6f5ac23ef54788d6b31c8562c348ffd7e48f4d
|
7
|
+
data.tar.gz: 12337b09f3ba0ad13db3da6d9934165b1c51d04c55df491fa022e20441ca4075d220315437c625f0893273cc0e8f26c20df6c4b0eba5850b6c93cd7a24b023fc
|
data/.github/workflows/ci.yml
CHANGED
@@ -1,17 +1,6 @@
|
|
1
1
|
on: [push, pull_request]
|
2
2
|
|
3
3
|
jobs:
|
4
|
-
snyk-security:
|
5
|
-
name: SNYK security analysis
|
6
|
-
uses: alphagov/govuk-infrastructure/.github/workflows/snyk-security.yml@main
|
7
|
-
with:
|
8
|
-
skip_sca: true
|
9
|
-
secrets: inherit
|
10
|
-
permissions:
|
11
|
-
contents: read
|
12
|
-
security-events: write
|
13
|
-
actions: read
|
14
|
-
|
15
4
|
codeql-sast:
|
16
5
|
name: CodeQL SAST scan
|
17
6
|
uses: alphagov/govuk-infrastructure/.github/workflows/codeql-analysis.yml@main
|
@@ -27,8 +16,7 @@ jobs:
|
|
27
16
|
strategy:
|
28
17
|
fail-fast: false
|
29
18
|
matrix:
|
30
|
-
|
31
|
-
ruby: ['3.0', 3.1, 3.2]
|
19
|
+
ruby: [3.1, 3.2, 3.3]
|
32
20
|
runs-on: ubuntu-latest
|
33
21
|
steps:
|
34
22
|
- uses: actions/checkout@v4
|
@@ -1,6 +1,7 @@
|
|
1
|
-
api_version:
|
2
|
-
|
1
|
+
api_version: 2
|
2
|
+
defaults:
|
3
|
+
auto_merge: false
|
4
|
+
update_external_dependencies: false # TODO: enable after verifying that this repo meets the conditions
|
5
|
+
overrides:
|
3
6
|
- dependency: rubocop-govuk
|
4
|
-
|
5
|
-
- patch
|
6
|
-
- minor
|
7
|
+
auto_merge: true
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.1.5
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# 1.1.0
|
2
|
+
|
3
|
+
- Update Rails requirements to allow Rails 8 ([#85](https://github.com/alphagov/govuk_personalisation/pull/85))
|
4
|
+
|
5
|
+
# 1.0.0
|
6
|
+
|
7
|
+
- Release 1 (no code changes, so this is not breaking in practise). Gem has been in use
|
8
|
+
for long enough that we should not keep marking it as a 0.x version.
|
9
|
+
|
1
10
|
# 0.16.0
|
2
11
|
|
3
12
|
- Update minimum required Ruby version ([#67](https://github.com/alphagov/govuk_personalisation/pull/67))
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.description = "A gem to hold shared code which other GOV.UK apps will use to implement accounts-related functionality."
|
15
15
|
spec.homepage = "https://github.com/alphagov/govuk_personalisation"
|
16
16
|
spec.license = "MIT"
|
17
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 3.
|
17
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 3.1")
|
18
18
|
|
19
19
|
# Specify which files should be added to the gem when it is released.
|
20
20
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -26,13 +26,13 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.require_paths = %w[lib]
|
27
27
|
|
28
28
|
spec.add_dependency "plek", ">= 1.9.0"
|
29
|
-
spec.add_dependency "rails", ">= 6", "<
|
29
|
+
spec.add_dependency "rails", ">= 6", "< 9"
|
30
30
|
|
31
31
|
spec.add_development_dependency "bundler"
|
32
32
|
spec.add_development_dependency "climate_control"
|
33
33
|
spec.add_development_dependency "pry-byebug"
|
34
34
|
spec.add_development_dependency "rake"
|
35
35
|
spec.add_development_dependency "rspec-rails"
|
36
|
-
spec.add_development_dependency "rubocop-govuk", "
|
36
|
+
spec.add_development_dependency "rubocop-govuk", "5.0.2"
|
37
37
|
spec.add_development_dependency "simplecov"
|
38
38
|
end
|
@@ -136,7 +136,7 @@ module GovukPersonalisation
|
|
136
136
|
#
|
137
137
|
# @param url [String] The URL to redirect to
|
138
138
|
def redirect_with_analytics(url, allow_other_host: true)
|
139
|
-
redirect_to(url_with_analytics(url), allow_other_host:
|
139
|
+
redirect_to(url_with_analytics(url), allow_other_host:)
|
140
140
|
end
|
141
141
|
|
142
142
|
# Build a URL adding parameters necessary for cross-domain analytics
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_personalisation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: plek
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '6'
|
34
34
|
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: '
|
36
|
+
version: '9'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '6'
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '9'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,14 +120,14 @@ dependencies:
|
|
120
120
|
requirements:
|
121
121
|
- - '='
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version:
|
123
|
+
version: 5.0.2
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - '='
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version:
|
130
|
+
version: 5.0.2
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: simplecov
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,14 +185,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
185
185
|
requirements:
|
186
186
|
- - ">="
|
187
187
|
- !ruby/object:Gem::Version
|
188
|
-
version: '3.
|
188
|
+
version: '3.1'
|
189
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
190
|
requirements:
|
191
191
|
- - ">="
|
192
192
|
- !ruby/object:Gem::Version
|
193
193
|
version: '0'
|
194
194
|
requirements: []
|
195
|
-
rubygems_version: 3.5.
|
195
|
+
rubygems_version: 3.5.23
|
196
196
|
signing_key:
|
197
197
|
specification_version: 4
|
198
198
|
summary: A gem to hold shared code which other GOV.UK apps will use to implement accounts-related
|