gibbon 0.1.3 → 0.1.4

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.

Potentially problematic release.


This version of gibbon might be problematic. Click here for more details.

Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/gibbon.gemspec +1 -1
  3. data/lib/gibbon.rb +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
data/gibbon.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gibbon}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Amro Mousa"]
data/lib/gibbon.rb CHANGED
@@ -27,7 +27,7 @@ module Gibbon
27
27
  def call(method, params = {})
28
28
  url = base_api_url + method
29
29
  params = @default_params.merge(params)
30
- params.each_pair {|k,v| params[k] = CGI::escape(v)}
30
+ params.each_pair {|k,v| params[k] = CGI::escape(v) if v.class == String}
31
31
  response = API.post(url, :body => params.to_json, :timeout => @timeout)
32
32
 
33
33
  begin
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gibbon
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.3
5
+ version: 0.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Amro Mousa
@@ -114,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- hash: -2914633051446595683
117
+ hash: 3438354439166932671
118
118
  segments:
119
119
  - 0
120
120
  version: "0"