api_client 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,7 @@ module ApiClient
14
14
  extend ApiClient::Mixins::Delegation
15
15
  extend ApiClient::Mixins::Configuration
16
16
 
17
- delegate :fetch, :get, :put, :post, :delete, :headers, :endpoint, :options, :adapter, :params, :to => :scope
17
+ delegate :fetch, :get, :put, :post, :delete, :headers, :endpoint, :options, :adapter, :params, :raw, :to => :scope
18
18
 
19
19
  dsl_accessor :format, :namespace
20
20
 
@@ -1,3 +1,3 @@
1
1
  module ApiClient
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -5,7 +5,7 @@ describe ApiClient::Base do
5
5
  it "delegates methods to scope" do
6
6
  scope = mock
7
7
  ApiClient::Base.stub(:scope).and_return(scope)
8
- [:fetch, :get, :put, :post, :delete, :headers, :endpoint, :options, :adapter, :params].each do |method|
8
+ [:fetch, :get, :put, :post, :delete, :headers, :endpoint, :options, :adapter, :params, :raw].each do |method|
9
9
  scope.should_receive(method)
10
10
  ApiClient::Base.send(method)
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
16
- requirement: &70184951743680 !ruby/object:Gem::Requirement
16
+ requirement: &70364887438800 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.7.5
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70184951743680
24
+ version_requirements: *70364887438800
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: hashie
27
- requirement: &70184951743180 !ruby/object:Gem::Requirement
27
+ requirement: &70364887438300 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - =
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.2.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70184951743180
35
+ version_requirements: *70364887438300
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: yajl-ruby
38
- requirement: &70184951742800 !ruby/object:Gem::Requirement
38
+ requirement: &70364887437920 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70184951742800
46
+ version_requirements: *70364887437920
47
47
  description: API client builder
48
48
  email:
49
49
  - marcin@futuresimple.com