gds-api-adapters 10.9.0 → 10.10.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -71,7 +71,7 @@ In `test_helper.rb`:
71
71
 
72
72
  In the test:
73
73
 
74
- panopticon_has_metadata('id' => 12345, 'need_id' => need.id,
74
+ panopticon_has_metadata('id' => 12345, 'need_ids' => [need.id],
75
75
  'slug' => 'my_slug')
76
76
 
77
77
  ### Dependencies
@@ -30,7 +30,7 @@ module GdsApi
30
30
  end
31
31
 
32
32
  optional_params = [
33
- :need_id, :section, :specialist_sectors, :organisation_ids,
33
+ :need_id, :need_ids, :section, :specialist_sectors, :organisation_ids,
34
34
  :indexable_content, :paths, :prefixes
35
35
  ]
36
36
 
@@ -216,7 +216,7 @@ module GdsApi
216
216
  "id" => "#{CONTENT_API_ENDPOINT}/#{CGI.escape(slug)}.json",
217
217
  "web_url" => "http://frontend.test.gov.uk/#{slug}",
218
218
  "details" => {
219
- "need_id" => "1234",
219
+ "need_ids" => ["100001"],
220
220
  "business_proposition" => false, # To be removed and replaced with proposition tags
221
221
  "format" => "Guide",
222
222
  "alternative_title" => "",
@@ -385,7 +385,7 @@ module GdsApi
385
385
  "web_url" => "http://www.test.gov.uk/#{details[:slug]}",
386
386
  "format" => "licence",
387
387
  "details" => {
388
- "need_id" => nil,
388
+ "need_ids" => [],
389
389
  "business_proposition" => false,
390
390
  "alternative_title" => nil,
391
391
  "overview" => nil,
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '10.9.0'
2
+ VERSION = '10.10.0'
3
3
  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: 10.9.0
4
+ version: 10.10.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-17 00:00:00.000000000 Z
12
+ date: 2014-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: plek
@@ -376,7 +376,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
376
376
  version: '0'
377
377
  segments:
378
378
  - 0
379
- hash: -553660564906139153
379
+ hash: -4095217778574635020
380
380
  required_rubygems_version: !ruby/object:Gem::Requirement
381
381
  none: false
382
382
  requirements:
@@ -385,7 +385,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
385
385
  version: '0'
386
386
  segments:
387
387
  - 0
388
- hash: -553660564906139153
388
+ hash: -4095217778574635020
389
389
  requirements: []
390
390
  rubyforge_project:
391
391
  rubygems_version: 1.8.23