gds-api-adapters 62.0.0 → 63.0.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
  SHA256:
3
- metadata.gz: 92eba8c68e225ff418851d17f752e878114c846406a537081ebe34e0ae2e34c4
4
- data.tar.gz: 7f42445ceb3ab057ded3a60a1dc8689fcec344398c1b735dbafb43e01c51653d
3
+ metadata.gz: 154a65678536f8bc302691fd8491ec4cf42d968a0567dc18b90e0b0d110a63f7
4
+ data.tar.gz: 4ca5ca74bf707a09dace341942326a0ed9d189c085ce6ed2e9d8b42bd0c74403
5
5
  SHA512:
6
- metadata.gz: e9d9b95df9631d8b54ac61ae808be26cc8f47d48fb8a9a13489aa1bb04457d76a044eae8732b7abd0a774304be484c5c29f0fa7a4430a06e2f9daf1cad698008
7
- data.tar.gz: 326e54ff7b2f4fb098ce3d39f50fd96897cedd25d9a73c86f1eba71b7b70a188ab4952bddc59cd8059abc4caf01b2c80d1326cde50bc4a7dcd464283e6ed61a3
6
+ metadata.gz: 7b715c10926dc05aba2b73673c8748b0a976b166be64b74698d10252fb873eaf9b8af8370aac775eb223140e19ffbae35a26025a6b05d5119f815d5ffa536407
7
+ data.tar.gz: f440ca06f27c10fa07420da1bac34f6cdc7e753122db0c8369a2a6ae08661da2aed0d547c0214073a24357e337b13744576c01e3d585695e7238b3ad500574de
@@ -13,7 +13,6 @@ require "gds_api/organisations"
13
13
  require "gds_api/publishing_api"
14
14
  require "gds_api/publishing_api_v2"
15
15
  require "gds_api/router"
16
- require "gds_api/rummager"
17
16
  require "gds_api/search"
18
17
  require "gds_api/support"
19
18
  require "gds_api/support_api"
@@ -165,13 +164,6 @@ module GdsApi
165
164
  )
166
165
  end
167
166
 
168
- # Creates a GdsApi::Rummager adapter to access via a rummager.* hostname
169
- #
170
- # @return [GdsApi::Rummager]
171
- def self.rummager(options = {})
172
- GdsApi::Rummager.new(Plek.find("search"), options)
173
- end
174
-
175
167
  # Creates a GdsApi::Search adapter to access via a search.* hostname
176
168
  #
177
169
  # @return [GdsApi::Search]
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = "62.0.0".freeze
2
+ VERSION = "63.0.0".freeze
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: 62.0.0
4
+ version: 63.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-05 00:00:00.000000000 Z
11
+ date: 2019-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -410,7 +410,6 @@ files:
410
410
  - lib/gds_api/railtie.rb
411
411
  - lib/gds_api/response.rb
412
412
  - lib/gds_api/router.rb
413
- - lib/gds_api/rummager.rb
414
413
  - lib/gds_api/search.rb
415
414
  - lib/gds_api/support.rb
416
415
  - lib/gds_api/support_api.rb
@@ -433,7 +432,6 @@ files:
433
432
  - lib/gds_api/test_helpers/publishing_api.rb
434
433
  - lib/gds_api/test_helpers/publishing_api_v2.rb
435
434
  - lib/gds_api/test_helpers/router.rb
436
- - lib/gds_api/test_helpers/rummager.rb
437
435
  - lib/gds_api/test_helpers/search.rb
438
436
  - lib/gds_api/test_helpers/support.rb
439
437
  - lib/gds_api/test_helpers/support_api.rb
@@ -1,10 +0,0 @@
1
- require "gds_api/search"
2
-
3
- module GdsApi
4
- class Rummager < Search
5
- def initialize(*args)
6
- warn "GdsApi::Rummager is deprecated. Use GdsApi::Search instead."
7
- super
8
- end
9
- end
10
- end
@@ -1,93 +0,0 @@
1
- require "json"
2
- require "gds_api/test_helpers/json_client_helper"
3
- require "gds_api/test_helpers/search"
4
-
5
- module GdsApi
6
- module TestHelpers
7
- module Rummager
8
- include GdsApi::TestHelpers::Search
9
-
10
- def self.included(_base)
11
- warn "GdsApi::TestHelpers::Rummager is deprecated. Use GdsApi::TestHelpers::Search instead."
12
- end
13
-
14
- RUMMAGER_ENDPOINT = SEARCH_ENDPOINT
15
-
16
- def stub_any_rummager_post(*args)
17
- stub_any_search_post(*args)
18
- end
19
-
20
- def assert_rummager_posted_item(*args)
21
- assert_search_posted_item(*args)
22
- end
23
-
24
- def stub_any_rummager_search(*args)
25
- stub_any_search(*args)
26
- end
27
-
28
- def stub_any_rummager_search_to_return_no_results(*args)
29
- stub_any_search_to_return_no_results(*args)
30
- end
31
-
32
- def assert_rummager_search(*args)
33
- assert_search(*args)
34
- end
35
-
36
- def stub_any_rummager_delete(*args)
37
- stub_any_search_delete(*args)
38
- end
39
-
40
- def stub_any_rummager_delete_content(*args)
41
- stub_any_search_delete_content(*args)
42
- end
43
-
44
- def assert_rummager_deleted_item(*args)
45
- assert_search_deleted_item(*args)
46
- end
47
-
48
- def assert_rummager_deleted_content(*args)
49
- assert_search_deleted_content(*args)
50
- end
51
-
52
- def stub_rummager_has_services_and_info_data_for_organisation(*args)
53
- stub_search_has_services_and_info_data_for_organisation(*args)
54
- end
55
-
56
- def stub_rummager_has_no_services_and_info_data_for_organisation(*args)
57
- stub_search_has_no_services_and_info_data_for_organisation(*args)
58
- end
59
-
60
- def stub_rummager_has_specialist_sector_organisations(*args)
61
- stub_rummager_has_specialist_sector_organisations(*args)
62
- end
63
-
64
- def stub_rummager_has_no_policies_for_any_type(*args)
65
- stub_search_has_no_policies_for_any_type(*args)
66
- end
67
-
68
- def stub_rummager_has_policies_for_every_type(*args)
69
- stub_search_has_policies_for_every_type(*args)
70
- end
71
-
72
- def rummager_has_services_and_info_data_for_organisation(*args)
73
- stub_rummager_has_services_and_info_data_for_organisation(*args)
74
- end
75
-
76
- def rummager_has_no_services_and_info_data_for_organisation(*args)
77
- stub_rummager_has_no_services_and_info_data_for_organisation(*args)
78
- end
79
-
80
- def rummager_has_specialist_sector_organisations(*args)
81
- stub_rummager_has_specialist_sector_organisations(*args)
82
- end
83
-
84
- def rummager_has_no_policies_for_any_type(*args)
85
- stub_rummager_has_no_policies_for_any_type(*args)
86
- end
87
-
88
- def rummager_has_policies_for_every_type(*args)
89
- stub_rummager_has_policies_for_every_type(*args)
90
- end
91
- end
92
- end
93
- end