gds-api-adapters 103.0.0 → 103.1.0
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 +4 -4
- data/lib/gds_api/test_helpers/publishing_api.rb +5 -0
- data/lib/gds_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f87a0c748394f953dfe398d35c71f6a5aa637c60b8367043902f569241f153ae
|
|
4
|
+
data.tar.gz: bc879fee2338ee348d1f3c09d0b7a21610623a9da017c84b3a09fc99153068f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9be1b823e210dd253ef6e5486b284046fa19b258a3f356ed98a1b573c6835849164e99cbce647429901149e7cc39681215e274c4bd5ab8ae529bb6225e946f1
|
|
7
|
+
data.tar.gz: b5787a47025a9dd834d6dba0b958d7e72f3fd43b706a65229ae7e5ede0ab3fe9a4a17a6191f2019df9e8d10e96aa3a58fe945207a4d239f146a1a5a3144e58f7
|
|
@@ -177,6 +177,11 @@ module GdsApi
|
|
|
177
177
|
stub_request(:any, %r{\A#{PUBLISHING_API_ENDPOINT}})
|
|
178
178
|
end
|
|
179
179
|
|
|
180
|
+
# Stub any request to the publishing API to return a 504 response
|
|
181
|
+
def stub_any_publishing_api_call_to_return_timeout
|
|
182
|
+
stub_request(:any, /#{PUBLISHING_API_ENDPOINT}\/.*/).to_timeout
|
|
183
|
+
end
|
|
184
|
+
|
|
180
185
|
# Stub any request to the publishing API to return a 404 response
|
|
181
186
|
def stub_any_publishing_api_call_to_return_not_found
|
|
182
187
|
stub_request(:any, %r{\A#{PUBLISHING_API_ENDPOINT}})
|
data/lib/gds_api/version.rb
CHANGED