gds-api-adapters 8.4.1 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/gds_api/panopticon.rb +0 -4
- data/lib/gds_api/version.rb +1 -1
- data/test/panopticon_api_test.rb +0 -7
- metadata +3 -3
data/lib/gds_api/panopticon.rb
CHANGED
data/lib/gds_api/version.rb
CHANGED
data/test/panopticon_api_test.rb
CHANGED
|
@@ -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:
|
|
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:
|
|
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:
|
|
379
|
+
hash: 447425582349548424
|
|
380
380
|
requirements: []
|
|
381
381
|
rubyforge_project:
|
|
382
382
|
rubygems_version: 1.8.23
|