gds-api-adapters 30.9.0 → 31.0.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
  SHA1:
3
- metadata.gz: 62a2f15d54c1c2bcbbc0afc11d0a3727c7f00f53
4
- data.tar.gz: d2dda07f7d6ee25379ea96429808eba5b0cc0464
3
+ metadata.gz: 07244f73dba6d5b8f4d0f8af88d5d4fe7a7af7a4
4
+ data.tar.gz: 2d45b90cd1854aa4232a710216377b3f1ce6e043
5
5
  SHA512:
6
- metadata.gz: 7217c3f13e08f9af8eeb9f1c371552411431416083de8d25d48b7f905e3f1b73f635d32897c8b01de576881214ed3323a7edad7020f837c3b157edb5807c18dc
7
- data.tar.gz: 0745c4001fb74d58d82bdd9c338ad3ad26dfb3d84d67d7a82e6f271165868c06137eaba7a6f49422829a378c05fb1cad939c72300d7c66a498e4ca63b4fcaf52
6
+ metadata.gz: a251c06b06fbe266e659c08d389787aa1cb01bca5d2b92cc8d90ea7f5635e37ae8ae699986b8d071582dd3de26e514bcae351241ec566f726ee6b3b1d8d6b7d4
7
+ data.tar.gz: 152bf7e4596016897c9b0229c2c5731cdd19699a5f38e09ba85740b8b3a7d9acb729bcba808153f345c706abde9687e3a08f38d28688e42baebd416906c01e05
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '30.9.0'
2
+ VERSION = '31.0.0'
3
3
  end
@@ -226,7 +226,8 @@ describe GdsApi::PublishingApiV2 do
226
226
  status: 200,
227
227
  body: {
228
228
  "content_id" => @content_id,
229
- "format" => Pact.like("special_route"),
229
+ "document_type" => Pact.like("special_route"),
230
+ "schema_name" => Pact.like("special_route"),
230
231
  "publishing_app" => Pact.like("publisher"),
231
232
  "rendering_app" => Pact.like("frontend"),
232
233
  "locale" => Pact.like("en"),
@@ -243,7 +244,7 @@ describe GdsApi::PublishingApiV2 do
243
244
  it "responds with 200 and the content item" do
244
245
  response = @api_client.get_content(@content_id)
245
246
  assert_equal 200, response.code
246
- assert_equal @content_item["format"], response["format"]
247
+ assert_equal @content_item["format"], response["document_type"]
247
248
  end
248
249
  end
249
250
 
@@ -263,7 +264,8 @@ describe GdsApi::PublishingApiV2 do
263
264
  status: 200,
264
265
  body: {
265
266
  "content_id" => @content_id,
266
- "format" => Pact.like("special_route"),
267
+ "document_type" => Pact.like("special_route"),
268
+ "schema_name" => Pact.like("special_route"),
267
269
  "publishing_app" => Pact.like("publisher"),
268
270
  "rendering_app" => Pact.like("frontend"),
269
271
  "locale" => "fr",
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: 30.9.0
4
+ version: 31.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Stewart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-06 00:00:00.000000000 Z
11
+ date: 2016-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plek