gds-api-adapters 8.4.1 → 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,10 +49,6 @@ class GdsApi::Panopticon < GdsApi::Base
49
49
  delete_json!("#{base_url}/#{id_or_slug}.json")
50
50
  end
51
51
 
52
- def curated_lists
53
- get_json("#{@endpoint}/curated_lists.json").to_hash
54
- end
55
-
56
52
  private
57
53
  def base_url
58
54
  "#{endpoint}/artefacts"
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '8.4.1'
2
+ VERSION = '9.0.0'
3
3
  end
@@ -145,11 +145,4 @@ class PanopticonApiTest < MiniTest::Unit::TestCase
145
145
  record = OpenStruct.new(artefact.merge(title: artefact[:name]))
146
146
  r.register(record)
147
147
  end
148
-
149
- def test_should_be_able_to_fetch_curated_lists
150
- stub_request(:get, "#{PANOPTICON_ENDPOINT}/curated_lists.json").
151
- with(:headers => GdsApi::JsonClient::DEFAULT_REQUEST_HEADERS).
152
- to_return(:status => 200, :body => '{ "crume": ["pinishment", "prosin"]}', :headers => {})
153
- assert_equal({ "crume" => ["pinishment", "prosin"]}, api.curated_lists)
154
- end
155
148
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gds-api-adapters
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.4.1
4
+ version: 9.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -367,7 +367,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
367
367
  version: '0'
368
368
  segments:
369
369
  - 0
370
- hash: -3285942060517664709
370
+ hash: 447425582349548424
371
371
  required_rubygems_version: !ruby/object:Gem::Requirement
372
372
  none: false
373
373
  requirements:
@@ -376,7 +376,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
376
376
  version: '0'
377
377
  segments:
378
378
  - 0
379
- hash: -3285942060517664709
379
+ hash: 447425582349548424
380
380
  requirements: []
381
381
  rubyforge_project:
382
382
  rubygems_version: 1.8.23