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 +4 -4
- data/lib/gds_api/version.rb +1 -1
- data/test/publishing_api_v2_test.rb +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04272eb2b13ca787d551913892fd5fca3d6aa811
|
|
4
|
+
data.tar.gz: 53c9ec99bddfe9aa595af6623f53aaee690fa3f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87036a6b8df55f5c7a4816d613c993d81e5eb62f37564a921c47e82eb4bb41a4eeb49718e104bb1a1108f773ac8682e8c443bf99779fcd36e84d74edf19f8b15
|
|
7
|
+
data.tar.gz: 8ae4acdb7689c5405e5ff24d37b2420d7a240a5e1fd6c0501a9a3e65e73e602a0ba39f05d162c14b87e88e889388a57e658b1f0722568d26845b85f782239209
|
data/lib/gds_api/version.rb
CHANGED
|
@@ -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" => "
|
|
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"], "
|
|
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" => "
|
|
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"], "
|
|
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" => "
|
|
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:
|
|
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-
|
|
11
|
+
date: 2016-08-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: plek
|