gds-api-adapters 95.0.1 → 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: eca1ab75bfd2f00808448d2897066b9d4c30862d379a2b908a80d06314b55658
4
- data.tar.gz: 6b6c117e61425120efb36a7302f0b2b9916c46a90a4dc488589269d7063b53d8
3
+ metadata.gz: f78286a645138b8550e894afcb2393b473478029130792938f9e6f8ba75c1ea0
4
+ data.tar.gz: 20a54d1a6115aca4b3f8b579b7174861cb18718b465280bf7922179ac1cb4508
5
5
  SHA512:
6
- metadata.gz: 93d3faccac5e2d1af0010dc97b65bceb34a12abf6ea29686c1cac48e43d27dc0a080279414a8b4e781dcb816e44a7616ed3e7ec9e15ef776827004a93c5f3bdb
7
- data.tar.gz: 654e9ced3d221b51ad62a513245cc45782cfc525916943aff934df6cc186a600694417c5035c960b89a0631ac549fe27ee51b198906a87ea62979810915db4aa
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.1".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.1
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-27 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