gds-api-adapters 95.0.0 → 95.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '04936db278a48a8c1fe350c870bf72729e86b79d78c421bb21e29cc64d51ca25'
4
- data.tar.gz: 85d68fe622bcc3ada1f74326bb6734990211a5fff69713a580d577997c858012
3
+ metadata.gz: f78286a645138b8550e894afcb2393b473478029130792938f9e6f8ba75c1ea0
4
+ data.tar.gz: 20a54d1a6115aca4b3f8b579b7174861cb18718b465280bf7922179ac1cb4508
5
5
  SHA512:
6
- metadata.gz: 4b5b267cc2877561dd887d1f18f2d33fb5f6f460c736bcbda6fa9a963149c8187c89ea1bd87f97c535d97c3c5478abba76d85409d87c7d1a9097055e72794df1
7
- data.tar.gz: cf6bae3e01000b811a0a05b6d715824bb4df0f5f694c71b58bc13542f1ff79b07733157e32920fb06984fa116cb318f0a67d9e402079004651ff5f96860c0076
6
+ metadata.gz: 7ae193ead9fcac2cbcc3daae953e5c7f053d4de0bca092928139059b46cf7d07fad02e29789952018d5fb95c677e2e1d6f99271954bd1294d0e5685568db14d5
7
+ data.tar.gz: 5217375bc7e419a85666c8cc51976a91104e87e6ba5abb79520f6fea3fae035180d82c67bae1ca9d92f342f2473a585822efee9da45153ff84f9dfe908f30f83
@@ -92,6 +92,11 @@ module GdsApi
92
92
  .to_return(body: body.to_json, status: 200)
93
93
  end
94
94
 
95
+ def stub_asset_manager_delete_asset_missing(asset_id)
96
+ stub_request(:delete, "#{ASSET_MANAGER_ENDPOINT}/assets/#{asset_id}")
97
+ .to_return(status: 404)
98
+ end
99
+
95
100
  def stub_asset_manager_delete_asset_failure(asset_id)
96
101
  stub_request(:delete, "#{ASSET_MANAGER_ENDPOINT}/assets/#{asset_id}").to_return(status: 500)
97
102
  end
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = "95.0.0".freeze
2
+ VERSION = "95.1.0".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: 95.0.0
4
+ version: 95.1.0
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: 2024-03-26 00:00:00.000000000 Z
11
+ date: 2024-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '4.4'
131
+ version: '5.0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '4.4'
138
+ version: '5.0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: minitest
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -268,14 +268,14 @@ dependencies:
268
268
  requirements:
269
269
  - - '='
270
270
  - !ruby/object:Gem::Version
271
- version: 4.15.0
271
+ version: 4.16.1
272
272
  type: :development
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
276
  - - '='
277
277
  - !ruby/object:Gem::Version
278
- version: 4.15.0
278
+ version: 4.16.1
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: simplecov
281
281
  requirement: !ruby/object:Gem::Requirement
@@ -402,7 +402,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
402
402
  - !ruby/object:Gem::Version
403
403
  version: '0'
404
404
  requirements: []
405
- rubygems_version: 3.5.7
405
+ rubygems_version: 3.5.9
406
406
  signing_key:
407
407
  specification_version: 4
408
408
  summary: Adapters to work with GDS APIs