gds-api-adapters 32.3.0 → 33.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9aeead33f16d7971b151925cf306e1cc3777e94f
4
- data.tar.gz: 7d34c0f7607e66742bd58749526b11b0c0c62e4b
3
+ metadata.gz: 04272eb2b13ca787d551913892fd5fca3d6aa811
4
+ data.tar.gz: 53c9ec99bddfe9aa595af6623f53aaee690fa3f4
5
5
  SHA512:
6
- metadata.gz: 4e956ff4cf182f461d7f9fcaad9ffd848506193ec3d5f91bd623f5485860969e728f1b00a3b87bb1d4cf810ea20bc0de3696add35d743b9da5ba8d7634c3e8a9
7
- data.tar.gz: 5e46864dfc8b5d777abf26592d141c246c031fb3450f9ec775b0e5bd8134ed8cdd47c48dc7d32998b5a474659d4f89b677663f0562d25f3a7060ac96223915f2
6
+ metadata.gz: 87036a6b8df55f5c7a4816d613c993d81e5eb62f37564a921c47e82eb4bb41a4eeb49718e104bb1a1108f773ac8682e8c443bf99779fcd36e84d74edf19f8b15
7
+ data.tar.gz: 8ae4acdb7689c5405e5ff24d37b2420d7a240a5e1fd6c0501a9a3e65e73e602a0ba39f05d162c14b87e88e889388a57e658b1f0722568d26845b85f782239209
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '32.3.0'
2
+ VERSION = '33.0.0'
3
3
  end
@@ -350,7 +350,7 @@ describe GdsApi::PublishingApiV2 do
350
350
  "routes" => Pact.like([{}]),
351
351
  "public_updated_at" => Pact.like("2015-07-30T13:58:11.000Z"),
352
352
  "details" => Pact.like({}),
353
- "publication_state" => "live"
353
+ "publication_state" => "published"
354
354
  },
355
355
  headers: {
356
356
  "Content-Type" => "application/json; charset=utf-8",
@@ -361,7 +361,7 @@ describe GdsApi::PublishingApiV2 do
361
361
  it "responds with 200 and the published content item" do
362
362
  response = @api_client.get_content(@content_id, version: 2)
363
363
  assert_equal 200, response.code
364
- assert_equal response["publication_state"], "live"
364
+ assert_equal response["publication_state"], "published"
365
365
  end
366
366
  end
367
367
 
@@ -388,7 +388,7 @@ describe GdsApi::PublishingApiV2 do
388
388
  "routes" => Pact.like([{}]),
389
389
  "public_updated_at" => Pact.like("2015-07-30T13:58:11.000Z"),
390
390
  "details" => Pact.like({}),
391
- "publication_state" => "live"
391
+ "publication_state" => "published"
392
392
  },
393
393
  headers: {
394
394
  "Content-Type" => "application/json; charset=utf-8",
@@ -399,7 +399,7 @@ describe GdsApi::PublishingApiV2 do
399
399
  it "responds with 200 and the published content item" do
400
400
  response = @api_client.get_content(@content_id)
401
401
  assert_equal 200, response.code
402
- assert_equal response["publication_state"], "live"
402
+ assert_equal response["publication_state"], "published"
403
403
  end
404
404
  end
405
405
  end
@@ -1107,7 +1107,7 @@ describe GdsApi::PublishingApiV2 do
1107
1107
  "title" => "Content Item B",
1108
1108
  "internal_name" => "Content Item B",
1109
1109
  "content_id" => "bbbbbbbb-bbbb-2bbb-bbbb-bbbbbbbbbbbb",
1110
- "publication_state" => "live",
1110
+ "publication_state" => "published",
1111
1111
  "base_path" => "/another-base-path",
1112
1112
  },
1113
1113
  ]
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: 32.3.0
4
+ version: 33.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-08-04 00:00:00.000000000 Z
11
+ date: 2016-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plek