gds-api-adapters 47.1.3 → 47.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: eb1a7458edcd52899c5df1d5d01388c9306bb6b6
4
- data.tar.gz: 6bb1d82fb017451eeae8e443833a9be30f6e1bc6
3
+ metadata.gz: 290e695fde3f88aade363d2ac884dad1b48385e3
4
+ data.tar.gz: 063ababc3ef3ed45d6de2cd3974e60b30bff189f
5
5
  SHA512:
6
- metadata.gz: a3bfda8fb9b7c278c8330727f1e5c968c9ae36614f266cfdbb7e8f6827f947371e843e8d475a2add921170f9da346f75162949ba6e9ab77e28942d32b4137862
7
- data.tar.gz: ddd80ae4a50e4741222b6535e1b9c8c777e9cc4f5530cf81bf1fe2f8c5696d719809b2c7e137b2a92b3c7e3a180357b6ce3655723ae8e5774fb64590090b770a
6
+ metadata.gz: dc69687c5f3d264866c8e8c7a45c55adbe19086d4ab255c49b169a1987d2248df7abd03a5316f21d91381ed3109cf3835f9baa904835ac85b8e263d7869d623d
7
+ data.tar.gz: 06c202e4da5e6dda013218f53b0ca6c72b0506dcc10b339bc93e56d54dbf7b7edb9b0cb5ad86b80abbc4dac2358fe9c61690cb08bf764eb3d61f6b7e99f04204
@@ -95,7 +95,7 @@ class GdsApi::PublishingApiV2 < GdsApi::Base
95
95
  # @option options [String] locale The language, defaults to 'en' in publishing-api.
96
96
  #
97
97
  # @see https://github.com/alphagov/publishing-api/blob/master/doc/api.md#post-v2contentcontent_idpublish
98
- def publish(content_id, update_type, options = {})
98
+ def publish(content_id, update_type = nil, options = {})
99
99
  params = {
100
100
  update_type: update_type
101
101
  }
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '47.1.3'.freeze
2
+ VERSION = '47.2.0'.freeze
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: 47.1.3
4
+ version: 47.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: 2017-07-06 00:00:00.000000000 Z
11
+ date: 2017-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plek