gds-api-adapters 12.4.1 → 12.4.2

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.
@@ -90,8 +90,12 @@ module GdsApi
90
90
  "results" => slugs_or_tags.map { |tag| tag_result(tag, tag_type) }
91
91
  )
92
92
 
93
- url = "#{CONTENT_API_ENDPOINT}/tags.json?type=#{tag_type}"
94
- stub_request(:get, url).to_return(status: 200, body: body.to_json, headers: {})
93
+ [
94
+ "#{CONTENT_API_ENDPOINT}/tags.json?type=#{tag_type}",
95
+ "#{CONTENT_API_ENDPOINT}/tags.json?draft=true&type=#{tag_type}"
96
+ ].each do |url|
97
+ stub_request(:get, url).to_return(status: 200, body: body.to_json, headers: {})
98
+ end
95
99
  end
96
100
 
97
101
  def content_api_has_sorted_tags(tag_type, sort_order, slugs_or_tags)
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '12.4.1'
2
+ VERSION = '12.4.2'
3
3
  end
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: 12.4.1
4
+ version: 12.4.2
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-07-23 00:00:00.000000000 Z
12
+ date: 2014-07-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: plek
@@ -405,7 +405,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
405
405
  version: '0'
406
406
  segments:
407
407
  - 0
408
- hash: 2831224877910651605
408
+ hash: -2054066614405770012
409
409
  required_rubygems_version: !ruby/object:Gem::Requirement
410
410
  none: false
411
411
  requirements:
@@ -414,7 +414,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
414
414
  version: '0'
415
415
  segments:
416
416
  - 0
417
- hash: 2831224877910651605
417
+ hash: -2054066614405770012
418
418
  requirements: []
419
419
  rubyforge_project:
420
420
  rubygems_version: 1.8.23