govuk_personalisation 0.11.2 → 0.12.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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/govuk_personalisation/urls.rb +9 -2
- data/lib/govuk_personalisation/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c39459eaa24cf0a206d262a3b22012f27d4717ed72d5be1edebfdea0c2062f6
|
|
4
|
+
data.tar.gz: a8a864122c8f6b5af39b80d205f42b1c9224db3cd9e34ecdbbf8c326d5f05681
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a37a0367677c4e78a7833155a8ba24c00170f7bc1888ca3871eda809e2c47639e18e78e0e57923a4a108e5330e4bcce6ec73f5bafa33d5c5d8366a9497234419
|
|
7
|
+
data.tar.gz: 270b9fa63d894ad378821791fad8fa7073f437573f9c15a935959c9eb072a5caa551733906d41281932a44931357bc3f2f3f39bed0a9c9b576f2712a845a038f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# 0.12.0
|
|
2
|
+
|
|
3
|
+
- Set account home to Digital Identity URI ([#36](https://github.com/alphagov/govuk_personalisation/pull/36))
|
|
4
|
+
- Add `GovukPersonalisation::Urls.manage_email` link ([#38](https://github.com/alphagov/govuk_personalisation/pull/38))
|
|
5
|
+
|
|
6
|
+
|
|
1
7
|
# 0.11.2
|
|
2
8
|
|
|
3
9
|
- Add support for Rails 7 ([#33](https://github.com/alphagov/govuk_personalisation/pull/33))
|
|
@@ -15,11 +15,18 @@ module GovukPersonalisation::Urls
|
|
|
15
15
|
find_govuk_url(var: "SIGN_OUT", application: "frontend", path: "/sign-out")
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
-
# Find the GOV.UK URL for the "
|
|
18
|
+
# Find the GOV.UK URL for the "email manager" page
|
|
19
|
+
#
|
|
20
|
+
# @return [String] the URL
|
|
21
|
+
def self.manage_email
|
|
22
|
+
find_govuk_url(var: "SIGN_OUT", application: "email-alert-frontend", path: "/email/manage")
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# Find the external URL for the "your account" page
|
|
19
26
|
#
|
|
20
27
|
# @return [String] the URL
|
|
21
28
|
def self.your_account
|
|
22
|
-
|
|
29
|
+
find_external_url(var: "YOUR_ACCOUNT", url: "https://#{digital_identity_domain}")
|
|
23
30
|
end
|
|
24
31
|
|
|
25
32
|
# Find the external URL for the "manage" page
|
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: 0.
|
|
4
|
+
version: 0.12.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: 2022-
|
|
11
|
+
date: 2022-06-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: plek
|