gds-api-adapters 67.1.0 → 67.1.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: fa2f8e5ae181c47883077132c2fb3a4910d28567860c2466f594ebf0d5aaa305
4
- data.tar.gz: 1f5c76190d01dea3f9d7772bd613e7b05f532e2a1df4eaed2987df335ac707e6
3
+ metadata.gz: 19eaf100f2daa9f68ac9bbd4489af46288c472434d22f81735258284e4d55da6
4
+ data.tar.gz: 1d8305795bd9f57730e66a1215031e3f9ab41d88c2f84028aea64c2ca02523a7
5
5
  SHA512:
6
- metadata.gz: d86be0927061f0fe19b6da7333dcdbba7ab1f54411a6c6bfbbe59f7bbc9a6b6c469609e3ecd597c5c2d41798170f114f14396791b980a7c26968e45fcb975913
7
- data.tar.gz: fb2556343854773fec59ce8e02341263cfb5829bdd18223c65381035274b6554aeb431fc12e98a0483c1608879c272bead25f58f97ce29d540a33c17b3631905
6
+ metadata.gz: bec2d56f7974d78cf2b28bb418115d155fe53adf7bc159b778ea9468357a7acc0565604251813434d4bf89fc53d8cc1062f68b18200c17d639888ea619ce46f1
7
+ data.tar.gz: f3a25306f8c628715898387c31ab940aa3011462c6243abba9398d5d93cf8829c4c2d8ea795ab78d6bbe51f375c3aef39d6f69d5a6dcf6a40b6b0fa9da6647d2
@@ -222,14 +222,14 @@ module GdsApi
222
222
  stub_request(:post, "#{EMAIL_ALERT_API_ENDPOINT}/subscriptions")
223
223
  .with(
224
224
  body: { subscriber_list_id: subscriber_list_id, address: address, frequency: frequency }.to_json,
225
- ).to_return(status: 201, body: { subscription_id: returned_subscription_id }.to_json)
225
+ ).to_return(status: 201, body: { id: returned_subscription_id }.to_json)
226
226
  end
227
227
 
228
228
  def stub_email_alert_api_creates_an_existing_subscription(subscriber_list_id, address, frequency, returned_subscription_id)
229
229
  stub_request(:post, "#{EMAIL_ALERT_API_ENDPOINT}/subscriptions")
230
230
  .with(
231
231
  body: { subscriber_list_id: subscriber_list_id, address: address, frequency: frequency }.to_json,
232
- ).to_return(status: 200, body: { subscription_id: returned_subscription_id }.to_json)
232
+ ).to_return(status: 200, body: { id: returned_subscription_id }.to_json)
233
233
  end
234
234
 
235
235
  def stub_email_alert_api_refuses_to_create_subscription(subscriber_list_id, address, frequency)
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = "67.1.0".freeze
2
+ VERSION = "67.1.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gds-api-adapters
3
3
  version: !ruby/object:Gem::Version
4
- version: 67.1.0
4
+ version: 67.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-08 00:00:00.000000000 Z
11
+ date: 2020-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable