gds-api-adapters 30.8.0 → 30.9.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_v2.rb +5 -0
- data/lib/gds_api/version.rb +1 -1
- 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: 62a2f15d54c1c2bcbbc0afc11d0a3727c7f00f53
|
|
4
|
+
data.tar.gz: d2dda07f7d6ee25379ea96429808eba5b0cc0464
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7217c3f13e08f9af8eeb9f1c371552411431416083de8d25d48b7f905e3f1b73f635d32897c8b01de576881214ed3323a7edad7020f837c3b157edb5807c18dc
|
|
7
|
+
data.tar.gz: 0745c4001fb74d58d82bdd9c338ad3ad26dfb3d84d67d7a82e6f271165868c06137eaba7a6f49422829a378c05fb1cad939c72300d7c66a498e4ca63b4fcaf52
|
|
@@ -110,6 +110,11 @@ module GdsApi
|
|
|
110
110
|
assert_publishing_api(:post, url, attributes_or_matcher, times)
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
+
def assert_publishing_api_unpublish(content_id, attributes_or_matcher = nil, times = 1)
|
|
114
|
+
url = PUBLISHING_API_V2_ENDPOINT + "/content/#{content_id}/unpublish"
|
|
115
|
+
assert_publishing_api(:post, url, attributes_or_matcher, times)
|
|
116
|
+
end
|
|
117
|
+
|
|
113
118
|
def assert_publishing_api_patch_links(content_id, attributes_or_matcher = nil, times = 1)
|
|
114
119
|
url = PUBLISHING_API_V2_ENDPOINT + "/links/" + content_id
|
|
115
120
|
assert_publishing_api(:patch, url, attributes_or_matcher, times)
|
data/lib/gds_api/version.rb
CHANGED
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.
|
|
4
|
+
version: 30.9.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-
|
|
11
|
+
date: 2016-06-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: plek
|