gds-api-adapters 14.1.0 → 14.1.1
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.
- data/lib/gds_api/test_helpers/content_api.rb +6 -2
- data/lib/gds_api/version.rb +1 -1
- metadata +4 -4
@@ -103,8 +103,12 @@ module GdsApi
|
|
103
103
|
"results" => slugs_or_tags.map { |tag| tag_result(tag, tag_type) }
|
104
104
|
)
|
105
105
|
|
106
|
-
|
107
|
-
|
106
|
+
[
|
107
|
+
"#{CONTENT_API_ENDPOINT}/tags.json?sort=#{sort_order}&type=#{tag_type}",
|
108
|
+
"#{CONTENT_API_ENDPOINT}/tags.json?draft=true&sort=#{sort_order}&type=#{tag_type}"
|
109
|
+
].each do |url|
|
110
|
+
stub_request(:get, url).to_return(status: 200, body: body.to_json, headers: {})
|
111
|
+
end
|
108
112
|
end
|
109
113
|
|
110
114
|
def content_api_has_child_tags(tag_type, parent_slug_or_hash, child_tag_ids)
|
data/lib/gds_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gds-api-adapters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.1.
|
4
|
+
version: 14.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-08-
|
12
|
+
date: 2014-08-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: plek
|
@@ -410,7 +410,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
410
410
|
version: '0'
|
411
411
|
segments:
|
412
412
|
- 0
|
413
|
-
hash:
|
413
|
+
hash: 640986324676272384
|
414
414
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
415
415
|
none: false
|
416
416
|
requirements:
|
@@ -419,7 +419,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
419
419
|
version: '0'
|
420
420
|
segments:
|
421
421
|
- 0
|
422
|
-
hash:
|
422
|
+
hash: 640986324676272384
|
423
423
|
requirements: []
|
424
424
|
rubyforge_project:
|
425
425
|
rubygems_version: 1.8.23
|