gds-api-adapters 103.0.0 → 103.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: 5466fd88ebad0eade12add0803ada43006fd837882f35f6adfe153d5ac736912
4
- data.tar.gz: 57accbf997589f12049ef1a376cdbbacfda7703e3efa47c32ecb99a7f732c7b7
3
+ metadata.gz: 856e51b28caf448a15abb333dfe0cddd99d2af342f797f0eb4babf8f52fd8dff
4
+ data.tar.gz: 32a23878a58c751f01b719324691b4c006f71bfbf8ced8fd0f9b0f8e4957dc37
5
5
  SHA512:
6
- metadata.gz: de07572a24d68c222ba4e37b5b868a8b092410bcfe57425bc314a5415a972fb13acdbdadc6f72f864df32b21a0e375ffb2e9830364ff6d142708f2e94a611ca0
7
- data.tar.gz: 185c33da779e1c53b103233acaf0d06f259bd166dd308f288a8a4f213f600f0676e767c9944317ef3d1f7a5fcea71c10a8c828bc62c480b2f92096f115ec2bb3
6
+ metadata.gz: a7a4f203d644ab6f709042d098219d7d985f13e56f3d9972e6b4d43010356cde38baa9463b8bbbe3d193dc785c7978c557f7912c0244a02445fad03d7362c547
7
+ data.tar.gz: c9e403d6b0c0f0d5be055b95ff08ee9ec0af0524225b40b50f23736d332ffc607574d5c5cc9430757d033afea48f0ade1a54dcc1006d945c73f7e5976691ef26
@@ -519,7 +519,7 @@ class GdsApi::PublishingApi < GdsApi::Base
519
519
  # {
520
520
  # publish_time: '2024-03-15T09:00:00.000+00:00',
521
521
  # publishing_app: 'content-publisher',
522
- # rendering_app: 'government-frontend',
522
+ # rendering_app: 'frontend',
523
523
  # }
524
524
  # )
525
525
  #
@@ -1,3 +1,4 @@
1
+ require "plek"
1
2
  require "gds_api/test_helpers/json_client_helper"
2
3
  require "gds_api/test_helpers/content_item_helpers"
3
4
  require "json"
@@ -177,6 +178,11 @@ module GdsApi
177
178
  stub_request(:any, %r{\A#{PUBLISHING_API_ENDPOINT}})
178
179
  end
179
180
 
181
+ # Stub any request to the publishing API to return a 504 response
182
+ def stub_any_publishing_api_call_to_return_timeout
183
+ stub_request(:any, /#{PUBLISHING_API_ENDPOINT}\/.*/).to_timeout
184
+ end
185
+
180
186
  # Stub any request to the publishing API to return a 404 response
181
187
  def stub_any_publishing_api_call_to_return_not_found
182
188
  stub_request(:any, %r{\A#{PUBLISHING_API_ENDPOINT}})
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = "103.0.0".freeze
2
+ VERSION = "103.1.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gds-api-adapters
3
3
  version: !ruby/object:Gem::Version
4
- version: 103.0.0
4
+ version: 103.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
@@ -397,7 +397,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
397
397
  - !ruby/object:Gem::Version
398
398
  version: '0'
399
399
  requirements: []
400
- rubygems_version: 4.0.7
400
+ rubygems_version: 4.0.9
401
401
  specification_version: 4
402
402
  summary: Adapters to work with GDS APIs
403
403
  test_files: []