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 +4 -4
- data/lib/gds_api/test_helpers/rummager.rb +11 -1
- data/lib/gds_api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d0f4332878715a42de2e7846febc632f15bd2d6
|
4
|
+
data.tar.gz: 5154defd507e0f38ec248edf75501333044ba6de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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))
|
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.
|
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-
|
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.
|
413
|
+
rubygems_version: 2.2.3
|
414
414
|
signing_key:
|
415
415
|
specification_version: 4
|
416
416
|
summary: Adapters to work with GDS APIs
|