gds-api-adapters 59.2.0 → 59.2.1

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: ec24c3b59b3cc1db154edf2b009ef223651a1530067b85931e11201f993276c5
4
- data.tar.gz: e3b9c3fa2dab1c6741049a91175290b7277c4630bcc958621ac8f47412f35d12
3
+ metadata.gz: '08d9b71cfbe86deeeb50b839920566ef53d38771e3d016130fe67dc67bd038f8'
4
+ data.tar.gz: 83c87959f515e86aef83712f46deaf8573c5e8b5c95b3da7c2de4629e5f5b10d
5
5
  SHA512:
6
- metadata.gz: cd38630932fd7eee080846734651f34147924e43cbffdf53636e111c9649ff292fe7ee930f0a4496a4a75c341887246cd564c9d6dc4e38754d13e942685a79df
7
- data.tar.gz: fb37484a2789b2a2f0c90faf6fa9f1cd1f45f9011ace188980687555f72141cc1fe9f024f73a758a1ad512f3b6796c341f82920747e0e4f120f0d95f47aa6dfe
6
+ metadata.gz: 0c4944dd6be3a5ecc6463db8b78d05e1fa834a4cdd078ada6d14e7e809a7c198f9e6bc4a171d1537919c15a606bfc41a3a5d99139c72b274f597db83260a9bfc
7
+ data.tar.gz: 7b20ee22e98b80604c1f4704a80b420419060d294478d465a573f7ddffd727217bb1bedc2fc5bf410e70cb7120c987d92ebbc201bf7fb16b27e675ab594c5a8d
@@ -2,6 +2,9 @@ require 'gds_api/search'
2
2
 
3
3
  module GdsApi
4
4
  class Rummager < Search
5
- warn "GdsApi::Rummager is deprecated. Use GdsApi::Search instead."
5
+ def initialize(*args)
6
+ warn "GdsApi::Rummager is deprecated. Use GdsApi::Search instead."
7
+ super
8
+ end
6
9
  end
7
10
  end
@@ -5,10 +5,12 @@ require 'gds_api/test_helpers/search'
5
5
  module GdsApi
6
6
  module TestHelpers
7
7
  module Rummager
8
- warn "GdsApi::TestHelpers::Rummager is deprecated. Use GdsApi::TestHelpers::Search instead."
9
-
10
8
  include GdsApi::TestHelpers::Search
11
9
 
10
+ def self.included(_base)
11
+ warn "GdsApi::TestHelpers::Rummager is deprecated. Use GdsApi::TestHelpers::Search instead."
12
+ end
13
+
12
14
  RUMMAGER_ENDPOINT = SEARCH_ENDPOINT
13
15
 
14
16
  def stub_any_rummager_post(*args)
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '59.2.0'.freeze
2
+ VERSION = '59.2.1'.freeze
3
3
  end
data/lib/gds_api.rb CHANGED
@@ -169,8 +169,6 @@ module GdsApi
169
169
  #
170
170
  # @return [GdsApi::Rummager]
171
171
  def self.rummager(options = {})
172
- warn "GdsApi.rummager is deprecated. Use GdsApi.search instead."
173
-
174
172
  GdsApi::Rummager.new(Plek.find('search'), options)
175
173
  end
176
174
 
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: 59.2.0
4
+ version: 59.2.1
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-05-07 00:00:00.000000000 Z
11
+ date: 2019-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable