gds-api-adapters 18.2.0 → 18.3.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: 01d1d67051f7f9f5184cdd94799f4acfbf69a7b8
4
- data.tar.gz: d592e813d42ca2d04803c4a1bc1353572da6ccdb
3
+ metadata.gz: 2cb3df378c1b4501239088e727aa660759071c2e
4
+ data.tar.gz: 00d394581491aff326c0a37b43b088703ea2dcea
5
5
  SHA512:
6
- metadata.gz: e3652e91a04fbfd60a1a0d968ce911a4ce16acdf5f4a2df4f74bc14dc841f64668eb20f49d8a12fd603ab674eb27ff85598cda49bf28bc388672d2d85f5de160
7
- data.tar.gz: 42285f7b2ccd1bc931e169875165d9a0e13a2fb18206f0525b9803cdff320e26675bf9243539bd042092c011c67926ced2711f145ea62e4124fded23f8cea560
6
+ metadata.gz: 22d73ae8fcd505c6d6acfbb6740d2b0a722d89351a6af1e3c1cc0c04287b746c93d7e3d8a677b6a8914bba2452bc35e8db03403ba9ea50fd6a3929657cce9796
7
+ data.tar.gz: ea87c9d752dc8df5d99c4c98dc1dc7f0a8903c547637d7cb4893e61ceee0c796704a7a5c07c84b27a8b8f815ede9264389930876c0cc344df0b960a74b5755a5
@@ -48,6 +48,11 @@ module GdsApi
48
48
  assert_publishing_api_put(url, attributes, times)
49
49
  end
50
50
 
51
+ def assert_publishing_api_put_draft_item(base_path, attributes = {}, times = 1)
52
+ url = PUBLISHING_API_ENDPOINT + "/draft-content" + base_path
53
+ assert_publishing_api_put(url, attributes, times)
54
+ end
55
+
51
56
  def assert_publishing_api_put_intent(base_path, attributes = {}, times = 1)
52
57
  url = PUBLISHING_API_ENDPOINT + "/publish-intent" + base_path
53
58
  assert_publishing_api_put(url, attributes, times)
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '18.2.0'
2
+ VERSION = '18.3.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: 18.2.0
4
+ version: 18.3.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: 2015-03-26 00:00:00.000000000 Z
11
+ date: 2015-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plek
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.7.3
75
+ version: 1.8.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.7.3
82
+ version: 1.8.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rack-cache
85
85
  requirement: !ruby/object:Gem::Requirement