gds-api-adapters 30.8.0 → 30.9.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: e3a3b6b72bde7cb02eca74406ce459d8b0e1c0eb
4
- data.tar.gz: 18fcbb5226a2955b86ce7d44103d40e18f05c899
3
+ metadata.gz: 62a2f15d54c1c2bcbbc0afc11d0a3727c7f00f53
4
+ data.tar.gz: d2dda07f7d6ee25379ea96429808eba5b0cc0464
5
5
  SHA512:
6
- metadata.gz: 79f632253e60ec84857b74d6b912f3e10d7558801e985d31f4d3bc48bee2ee105d4aa7c9d178c073fd5abb9922c0fcf533c77479079ce39ba746259f5ef8d6f2
7
- data.tar.gz: c9a7395b18c8a4747e4e4cb77833aee0ffa64dad76cf2ab19726450545fad58d845ae35856938e419dd748b886faf56a94c4e90e9879f122f14d0267c71d7200
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)
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '30.8.0'
2
+ VERSION = '30.9.0'
3
3
  end
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.8.0
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-01 00:00:00.000000000 Z
11
+ date: 2016-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plek