notifications-ruby-client 6.4.0 → 6.5.1

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: 0f795202efa7a08dc79833a2c1ff7aec35a7deadf495c8380e290bff1c11189f
4
- data.tar.gz: 0e938bb4e2a4ed8d516766131192ef8a7acae0de5dee6d25a69cdfbfe1673456
3
+ metadata.gz: a729f4a4babb045a13f1b649025a786220afd9e72f1c919f30deaf256e1c9560
4
+ data.tar.gz: 5bbc31ccee18125aae5fcf9635f034c3658f3aa7aee2c6096ce2a310c824890d
5
5
  SHA512:
6
- metadata.gz: b910c3bf6d1e115763bc4e88db202dc33a4d633439e26b5599aab48b5a5d1260cf34ebc4b4f494a911b5d039dc4b4cff2620589ee82e7d73ddfda0b9c35c7429
7
- data.tar.gz: 28aef4fdb14d28c0100262fa583eaab52e9f7d949490405f13a1c5e351afa8326956f262fbe30a7a9029400f3be16e1638673dea057fff6e4746be2510eb3c4b
6
+ metadata.gz: ea1ad32ca2113e6e6cd2a8760bf25543ddfb16bc6e38a3f54d4cc4b1aba71877ec5e2ec19aba6392d418c68f1f0dca5d12c3b82b93721410ed560280698de157
7
+ data.tar.gz: e87702a7c357460cfa659cc0c5d2a283a82e3fa8437bd385bbccf9ea0514e6bce3f80ea1066da0fd08ff3437fe52997e5d18a4a617a5ca9f4313fbefdd29cf9e
data/.dockerignore CHANGED
@@ -1,2 +1,3 @@
1
1
  **/.git/*
2
2
  environment*.sh
3
+ Gemfile.lock
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 6.5.1
2
+
3
+ * Same contents as 6.5.0. That version was never published because the CI image failed to build after Debian 11 LTS ended.
4
+ * Move the CI Docker image from `ruby:2.6-slim` (Debian 11) to `ruby:3.4-slim`. This does not change the gem for users.
5
+
6
+ ## 6.5.0
7
+
8
+ * Add `personalisation` to the `Notifications::Client::Template` object returned by `get_template_by_id`, `get_template_version` and `get_all_templates`. This is a hash of placeholder names, for example `{"name" => {"required" => true}}`.
9
+ * Not published to RubyGems. Use 6.5.1.
10
+
1
11
  ## 6.4.0
2
12
 
3
13
  * Add support for the optional `sanitise_content_for` parameter when sending email (list of personalisation placeholder keys to sanitise for Markdown). Documented on `Notifications::Client::Speaker#post`.
data/Dockerfile CHANGED
@@ -1,12 +1,11 @@
1
- FROM ruby:2.6-slim
1
+ FROM ruby:3.4-slim
2
2
 
3
3
  RUN \
4
4
  echo "Install Debian packages" \
5
5
  && apt-get update \
6
6
  && apt-get install -y --no-install-recommends \
7
7
  awscli \
8
- gcc \
9
- make \
8
+ build-essential \
10
9
  curl \
11
10
  git \
12
11
  gnupg \
data/Gemfile CHANGED
@@ -1,3 +1,3 @@
1
- source 'https://rubygems.org'
1
+ source 'https://rubygems.org', cooldown: 7
2
2
 
3
3
  gemspec
@@ -14,6 +14,7 @@ module Notifications
14
14
  body
15
15
  subject
16
16
  letter_contact_block
17
+ personalisation
17
18
  ).freeze
18
19
 
19
20
  attr_reader(*FIELDS)
@@ -9,6 +9,6 @@
9
9
 
10
10
  module Notifications
11
11
  class Client
12
- VERSION = "6.4.0".freeze
12
+ VERSION = "6.5.1".freeze
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notifications-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.4.0
4
+ version: 6.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Government Digital Service
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2026-05-15 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: jwt
@@ -79,9 +78,6 @@ dependencies:
79
78
  - - "~>"
80
79
  - !ruby/object:Gem::Version
81
80
  version: '6.1'
82
- - - "<"
83
- - !ruby/object:Gem::Version
84
- version: 6.4.5
85
81
  type: :development
86
82
  prerelease: false
87
83
  version_requirements: !ruby/object:Gem::Requirement
@@ -89,10 +85,6 @@ dependencies:
89
85
  - - "~>"
90
86
  - !ruby/object:Gem::Version
91
87
  version: '6.1'
92
- - - "<"
93
- - !ruby/object:Gem::Version
94
- version: 6.4.5
95
- description:
96
88
  email:
97
89
  - notify@digital.cabinet-office.gov.uk
98
90
  executables: []
@@ -135,7 +127,6 @@ files:
135
127
  homepage: https://github.com/alphagov/notifications-ruby-client
136
128
  licenses: []
137
129
  metadata: {}
138
- post_install_message:
139
130
  rdoc_options: []
140
131
  require_paths:
141
132
  - lib
@@ -150,8 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
141
  - !ruby/object:Gem::Version
151
142
  version: '0'
152
143
  requirements: []
153
- rubygems_version: 3.0.3.1
154
- signing_key:
144
+ rubygems_version: 3.6.9
155
145
  specification_version: 4
156
146
  summary: Ruby client for GOV.UK Notifications API
157
147
  test_files: []