gds-api-adapters 18.6.0 → 18.7.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: 25af22810d4e67476e08d444e3c56efaa38d490c
4
- data.tar.gz: f8d6841e428b96d3f3afb45703744c7ccfc69fe8
3
+ metadata.gz: 8d0f4332878715a42de2e7846febc632f15bd2d6
4
+ data.tar.gz: 5154defd507e0f38ec248edf75501333044ba6de
5
5
  SHA512:
6
- metadata.gz: 8993bcbf68eb8ce8e914c727cdaad25f939b2180c911a098892ce074ea7c999d04e38eee32dc9c655bb06c8b484b5d2d1470e76e5673cd9a76fc80e153cea2cc
7
- data.tar.gz: 57cd8c103bf952a300274aa89d12760a0ee53a23dea8b0e5ae9bc0452f709b724511d64d8db95cffa162d9ce5d22465ac4eb7542fafc03135fbc0ad820fee92e
6
+ metadata.gz: 8b745cb843cbc419af6f14b8f028ea4919fc6ff9bbcb35f772e7293b3b4262e764eb8920b666ec34b1f799b7a4122b9e502675a4b2d22cd20e95c48448fd604f
7
+ data.tar.gz: 10b7672eb0e2095b16306f161e8aa82b156b874a68d96ccf5a4ab4d641cfcc81cbcc602b50e0f63631e97e12a135d437258bbd6c5082f61a33bc98d962af1561
@@ -51,11 +51,21 @@ module GdsApi
51
51
  end
52
52
 
53
53
  def rummager_has_no_policies_for_any_organisation
54
+ puts "`rummager_has_no_policies_for_any_organisation` has been deprecated in favour of `rummager_has_no_policies_for_any_type`"
55
+ rummager_has_no_policies_for_any_type
56
+ end
57
+
58
+ def rummager_has_no_policies_for_any_type
54
59
  stub_request(:get, %r{/unified_search.json})
55
60
  .to_return(body: no_search_results_found)
56
61
  end
57
62
 
58
- def rummager_has_new_policies_for_every_organisation(options = {})
63
+ def rummager_has_new_policies_for_every_organisation(*args)
64
+ puts "`rummager_has_new_policies_for_every_organisation` has been deprecated in favour of `rummager_has_new_policies_for_every_type`"
65
+ rummager_has_new_policies_for_every_type(*args)
66
+ end
67
+
68
+ def rummager_has_new_policies_for_every_type(options = {})
59
69
  if count = options[:count]
60
70
  stub_request(:get, %r{/unified_search.json.*count=#{count}.*})
61
71
  .to_return(body: first_n_results(new_policies_results, n: count))
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '18.6.0'
2
+ VERSION = '18.7.0'
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.6.0
4
+ version: 18.7.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: 2015-04-24 00:00:00.000000000 Z
11
+ date: 2015-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plek
@@ -410,7 +410,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
410
410
  version: '0'
411
411
  requirements: []
412
412
  rubyforge_project:
413
- rubygems_version: 2.2.2
413
+ rubygems_version: 2.2.3
414
414
  signing_key:
415
415
  specification_version: 4
416
416
  summary: Adapters to work with GDS APIs