gds-api-adapters 29.3.0 → 29.3.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
  SHA1:
3
- metadata.gz: f9b62c3d717ced2cf4a1606042f7a30d2671b1b5
4
- data.tar.gz: 9a40bc142cc071a324b834347f8410f221a14140
3
+ metadata.gz: 47a5ea938b00f84981bf99e6cd2f0e3d6fb94b3f
4
+ data.tar.gz: a35284df3295fd23b5fc59771649acebf7f64cd7
5
5
  SHA512:
6
- metadata.gz: 0dfbf18074c8c8116668b3d1e42d5e566794de5fdd76f4fcdf15a3540be8758c3e8e059285e31f71e2802c403cac17fc5ad2e45da17070af256da21771398be1
7
- data.tar.gz: 681f7782f9ca6e2753a4ea5165233b8f3d504861ce60c5989860fce7978b0db75e0255bbd62b3ee0d6cc62328eefee9664124cbe45c720f4c07967cd04aa96c1
6
+ metadata.gz: ac5a10f123ecbf570a1ec183968d5e5d76faeb2bdc2423eace86dfea7ef56250fbe8f964b0295fd26d6c3fe281b183230a6b114e44e45ce98e27a15d22384426
7
+ data.tar.gz: 2f25ce61b3eead78a1579882485efbc9bdfbda4cf3a227c835c42500fabdcf9024d3e15b6aabb8c63393d2af14f9b0a4efaa8d37fe6427ad1f2fe774bd600537
@@ -148,8 +148,8 @@ module GdsApi
148
148
  stub_request(:get, url).to_return(:status => 200, :body => body.to_json, :headers => {})
149
149
  end
150
150
 
151
- def publishing_api_has_linkables(linkables, format:)
152
- url = PUBLISHING_API_V2_ENDPOINT + "/linkables?format=#{format}"
151
+ def publishing_api_has_linkables(linkables, document_type:)
152
+ url = PUBLISHING_API_V2_ENDPOINT + "/linkables?document_type=#{document_type}"
153
153
  stub_request(:get, url).to_return(:status => 200, :body => linkables.to_json, :headers => {})
154
154
  end
155
155
 
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '29.3.0'
2
+ VERSION = '29.3.1'
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: 29.3.0
4
+ version: 29.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Stewart