gds-api-adapters 7.19.0 → 7.20.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,6 +48,13 @@ module GdsApi
48
48
  stub_request(:get, url).to_return(status: 200, body: need.to_json, headers: {})
49
49
  end
50
50
 
51
+ def need_api_has_raw_response_for_page(response, page = nil)
52
+ url = NEED_API_ENDPOINT + "/needs"
53
+ url << "?page=#{page}" unless page.nil?
54
+
55
+ stub_request(:get, url).to_return(status: 200, body: response, headers: {})
56
+ end
57
+
51
58
  def need_api_has_no_need(need_id)
52
59
  url = NEED_API_ENDPOINT + "/needs/#{need_id}"
53
60
  not_found_body = {
@@ -1,3 +1,3 @@
1
1
  module GdsApi
2
- VERSION = '7.19.0'
2
+ VERSION = '7.20.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: 7.19.0
4
+ version: 7.20.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: 2013-11-12 00:00:00.000000000 Z
12
+ date: 2013-11-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: plek
@@ -340,7 +340,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
340
340
  version: '0'
341
341
  segments:
342
342
  - 0
343
- hash: -2831006864257726038
343
+ hash: -2601990448612617871
344
344
  required_rubygems_version: !ruby/object:Gem::Requirement
345
345
  none: false
346
346
  requirements:
@@ -349,7 +349,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
349
349
  version: '0'
350
350
  segments:
351
351
  - 0
352
- hash: -2831006864257726038
352
+ hash: -2601990448612617871
353
353
  requirements: []
354
354
  rubyforge_project:
355
355
  rubygems_version: 1.8.23