gds-api-adapters 18.1.0 → 18.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01d1d67051f7f9f5184cdd94799f4acfbf69a7b8
|
4
|
+
data.tar.gz: d592e813d42ca2d04803c4a1bc1353572da6ccdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3652e91a04fbfd60a1a0d968ce911a4ce16acdf5f4a2df4f74bc14dc841f64668eb20f49d8a12fd603ab674eb27ff85598cda49bf28bc388672d2d85f5de160
|
7
|
+
data.tar.gz: 42285f7b2ccd1bc931e169875165d9a0e13a2fb18206f0525b9803cdff320e26675bf9243539bd042092c011c67926ced2711f145ea62e4124fded23f8cea560
|
@@ -10,7 +10,8 @@ module GdsApi
|
|
10
10
|
"format" => "guide",
|
11
11
|
"need_ids" => ["100001"],
|
12
12
|
"public_updated_at" => "2014-05-06T12:01:00+00:00",
|
13
|
-
|
13
|
+
# base_path is added in as necessary (ie for content-store GET responses)
|
14
|
+
# "base_path" => base_path,
|
14
15
|
"details" => {
|
15
16
|
"body" => "Some content for #{base_path}",
|
16
17
|
}
|
@@ -35,6 +35,10 @@ module GdsApi
|
|
35
35
|
stub_request(:put, %r{\A#{PUBLISHING_API_ENDPOINT}/content})
|
36
36
|
end
|
37
37
|
|
38
|
+
def stub_default_publishing_api_put_draft()
|
39
|
+
stub_request(:put, %r{\A#{PUBLISHING_API_ENDPOINT}/draft-content})
|
40
|
+
end
|
41
|
+
|
38
42
|
def stub_default_publishing_api_put_intent()
|
39
43
|
stub_request(:put, %r{\A#{PUBLISHING_API_ENDPOINT}/publish-intent})
|
40
44
|
end
|
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: 18.
|
4
|
+
version: 18.2.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-
|
11
|
+
date: 2015-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: plek
|