gds-api-adapters 18.3.0 → 18.3.1

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: 2cb3df378c1b4501239088e727aa660759071c2e
4
- data.tar.gz: 00d394581491aff326c0a37b43b088703ea2dcea
3
+ metadata.gz: 50b8a8d1af674fd28b30b7448d6db9ea75a24fb0
4
+ data.tar.gz: d10980131326a18a50b025be53155a0916ab6a19
5
5
  SHA512:
6
- metadata.gz: 22d73ae8fcd505c6d6acfbb6740d2b0a722d89351a6af1e3c1cc0c04287b746c93d7e3d8a677b6a8914bba2452bc35e8db03403ba9ea50fd6a3929657cce9796
7
- data.tar.gz: ea87c9d752dc8df5d99c4c98dc1dc7f0a8903c547637d7cb4893e61ceee0c796704a7a5c07c84b27a8b8f815ede9264389930876c0cc344df0b960a74b5755a5
6
+ metadata.gz: 33d6af7da6e7fe24f435ca236ade36aafe93d5097a4c298a527a976715b08baf3bc88635249dcad6abd78dbf6e41a2e7ff0bae0f67d8e9e3ceef761ef6be8444
7
+ data.tar.gz: e18c56abeaf398171f3fd9046b4f12c7b65be1c3ccd9b90af4a1282382aaf9fd9da3f4352417e9a545d58e8ee68015d2f33d52e9b22951e6e090191c0a7c1727
@@ -171,7 +171,7 @@ module GdsApi
171
171
 
172
172
  body = plural_response_base.merge(
173
173
  "results" => artefact_slugs.map do |artefact_slug|
174
- artefact_for_slug(artefact_slug, options[:artefact])
174
+ artefact_for_slug(artefact_slug, options.fetch(:artefact, {}))
175
175
  end
176
176
  )
177
177
 
@@ -227,7 +227,7 @@ module GdsApi
227
227
  end
228
228
 
229
229
  def content_api_has_artefacts_with_a_draft_tag(tag_type, slug, artefact_slugs=[])
230
- content_api_has_artefacts_with_a_tag(tag_type, slug, artefact_slugs, draft: true)
230
+ content_api_has_artefacts_with_a_tag(tag_type, slug, artefact_slugs, tag: {draft: true})
231
231
  end
232
232
 
233
233
  def content_api_has_sorted_artefacts_with_a_tag(tag_type, slug, sort_order, artefact_slugs=[])
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '18.3.0'
2
+ VERSION = '18.3.1'
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.3.0
4
+ version: 18.3.1
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-04-15 00:00:00.000000000 Z
11
+ date: 2015-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plek