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 +4 -4
- data/lib/gds_api/test_helpers/content_api.rb +2 -2
- data/lib/gds_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50b8a8d1af674fd28b30b7448d6db9ea75a24fb0
|
4
|
+
data.tar.gz: d10980131326a18a50b025be53155a0916ab6a19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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=[])
|
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.3.
|
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-
|
11
|
+
date: 2015-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: plek
|