api-client 1.6.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,9 @@
1
1
  rvm:
2
+ - 1.8.7
2
3
  - 1.9.2
3
4
  - 1.9.3
5
+ - jruby
6
+ - ree
4
7
  gemfile:
5
8
  - gemfiles/Gemfile.net_http
6
9
  - gemfiles/Gemfile.typhoeus
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v1.6.0
4
+
5
+ * Initial Support for Typhoeus added.
6
+ * Fixed bug with get request and headers.
7
+ * Support for ruby 1.8.7, 1.9.2, jruby and ree added.
8
+
3
9
  ## v1.5.1 to v1.5.4
4
10
 
5
11
  * Fixed Bug with errors from external API and self.
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # ApiClient [![Build Status](https://secure.travis-ci.org/plribeiro3000/api-client.png)](http://travis-ci.org/plribeiro3000/api-client)
2
2
 
3
- Client to make Api calls easily. The master only supports ruby-1.9.3.
4
- For older versions, check branch retro-compatibility.
3
+ Client to make Api calls easily. It supports ruby 1.8.7, 1.9.2, 1.9.3, jruby and ree out of the box.
5
4
 
6
5
  ## Installation
7
6
 
@@ -59,7 +58,7 @@ end
59
58
  ```
60
59
 
61
60
  ## TODO
62
- * Add Support to Typhoeus and Faraday
61
+ * Add Support to Faraday
63
62
  * Add more Response Handlers
64
63
 
65
64
  ## Contributing
@@ -61,7 +61,6 @@ module ApiClient
61
61
  protected
62
62
 
63
63
  def self.method_missing(method, *args)
64
- return super unless Dispatcher.respond_to?(method)
65
64
  json_object = Parser.response(Dispatcher.send(method, *args), remote_object)
66
65
  return json_object.map { |a| new(a) } if json_object.instance_of?(Array)
67
66
  new(json_object)
@@ -1,5 +1,5 @@
1
1
  # High Level Namespace of the library ApiClient.
2
2
  module ApiClient
3
3
  # Version of the library.
4
- VERSION = "1.6.0"
4
+ VERSION = "1.6.1"
5
5
  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: 1.6.0
4
+ version: 1.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -165,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  segments:
167
167
  - 0
168
- hash: -3045857671343172453
168
+ hash: 3779983035564175223
169
169
  required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  none: false
171
171
  requirements:
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  version: '0'
175
175
  segments:
176
176
  - 0
177
- hash: -3045857671343172453
177
+ hash: 3779983035564175223
178
178
  requirements: []
179
179
  rubyforge_project:
180
180
  rubygems_version: 1.8.24