gds-api-adapters 23.2.2 → 24.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
  SHA1:
3
- metadata.gz: 146fc2c08df691e77339fe6b7bc1fa0610e5524f
4
- data.tar.gz: 16b5c231df6ba9635b444d0361bda7612f973903
3
+ metadata.gz: 73d453d8f6340f3b18e48ab8781e9c620a724fa4
4
+ data.tar.gz: d5d7c839176cf6ea64e3f5ef6add7912ebe48de7
5
5
  SHA512:
6
- metadata.gz: 9294bcfdfdcc7c4548e74bd617e7df6ecdc5562ced0f01e0393f579b7fdc4fbe8f5b25d1a6174fdfc2c0a9c15910ea610a1af0963398508e758f0a101279f287
7
- data.tar.gz: eeb30426caaa3501e658041ea962e90347aa040e89352e0ceb7dd3588f15d5f9a98ccdfa4e2bf62c8b223ab9fd260dd67b23b693fe721005f381de04d0d908a9
6
+ metadata.gz: fa483d6b7cd0def80a3c976ca77c9b7d457c563f33689ce5b2da22061ad9aedee7e064ad45881af16e7fd89e7888b486297bfbecf5a5be579c87d5245abc0dcd
7
+ data.tar.gz: 09b54359ea7114850884706c1b145a93097fa3eb9f3ce1008ab8d86ff7de134142fb14d0bd12fb8017264f1b4f7f0f86756ea534e6494068de3a7f89413e64c4
@@ -15,10 +15,6 @@ module GdsApi
15
15
  get_json!(request_path)
16
16
  end
17
17
 
18
- def organisations
19
- get_json!("#{base_url}/organisations")
20
- end
21
-
22
18
  def add_document(type, id, document)
23
19
  post_json!(
24
20
  documents_url,
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '23.2.2'
2
+ VERSION = '24.0.0'
3
3
  end
@@ -7,15 +7,6 @@ describe GdsApi::Rummager do
7
7
  stub_request(:get, /example.com\/unified_search/).to_return(body: "[]")
8
8
  end
9
9
 
10
- # tests for #organisations
11
-
12
- it "should request the list of organisations" do
13
- stub_request(:get, /example.com\/organisations/).to_return(body: "{}")
14
- GdsApi::Rummager.new("http://example.com").organisations
15
-
16
- assert_requested :get, /organisations/
17
- end
18
-
19
10
  # tests for #advanced_search
20
11
 
21
12
  it "#advanced_search should raise an exception if the service at the search URI returns a 500" do
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: 23.2.2
4
+ version: 24.0.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-08-13 00:00:00.000000000 Z
11
+ date: 2015-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plek