fanforce-api 0.14.5 → 0.14.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmMwMWNjN2Q3MTcyZGNiMWNiZGNiZmY2MDZlZWM4ODljMWVjN2I3NA==
4
+ ZjU2NmE5YzVmY2JkOTFkNWRkMDcwYmY5ZTA4N2I2OGVjMGNhMmI3Yw==
5
5
  data.tar.gz: !binary |-
6
- OThlM2RlMDNiMTY4ODM2MWE0NjZmZjZkNmJiZjUzZWQ3MTVhNzMwMw==
6
+ ZjMxYjgzMDRiNDYzMjQ4Zjg1YzBiYzIwODRhM2M5ZTIxZTg4MGY5MQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YzgzZGJkNDkwNjJkZGVlZjRkNmY4NjYwZjJjODU2NmZkYTE1ZGZjZTNjODIx
10
- MTEzMDIzMzE2NWJjZTA0ZWJmMjEzNmZiNTcwYmNhN2EzMmNhOTFhNTUwZTdm
11
- Y2IwOTg1ZTc5ZTA5NjFkZjY1MGYyNzllZDJiM2UwOWM3NzdkYTg=
9
+ MDU1ZmU4NTEwZWEyYTgzYTRhYTQ3MGE0ZmM3NjlkOGQzN2M0MzM3Y2IzZTk0
10
+ ZDExMzBlNTRmMDM5NzAzNGExNzlmYTAzZmJlZTYzZWJmNjdhZmY5ZjRkYjBj
11
+ NDgyZGRiOWY2MjZkNDI2OGQxZjgzZTNjM2JlOTA2OTE1OGYwZmM=
12
12
  data.tar.gz: !binary |-
13
- ODE0YTM2YzQ4NGVjNTYwOGVjNjdiMWY4MWM4NGI0NTNmMGI3ZGUwZWU4ZWNj
14
- M2JhZWViOTIxN2ZmNTM2OTRmMzMzYWZkOGUyNjg5NzE4YTFkOGVlOTg3MDI0
15
- OWQ5ZTZkZDFkYTExZGMwYmRhYzJiOWFiMTBiNmVjYTcxMGYyOTY=
13
+ OGVkNTM5NWZkZDcyMTVmMTk2YWNmZTM1OGE1M2ExNWViN2Q3YTg2N2ZlYWMz
14
+ MzliYTFiZWY4YjhmYjg5MDk4ZWFlYmUzNzE2MDdiZmMyNDBhOTJhYzI3ZjQ4
15
+ NDcyNDhiZTUyNTcwZjg3ZGNkMjNkNjk4MDE4Y2EwYmRkMjI5NGY=
@@ -17,7 +17,8 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ['lib']
19
19
 
20
- gem.add_runtime_dependency 'multi_json', '~> 1.3'
20
+ gem.add_runtime_dependency 'oj', '~> 2.1.4'
21
+ gem.add_runtime_dependency 'multi_json', '~> 1.7.9'
21
22
  gem.add_runtime_dependency 'rest-client', '~> 1.6.7'
22
23
 
23
24
  gem.add_runtime_dependency 'fanforce', '~> 0.12'
@@ -43,7 +43,7 @@ class Fanforce::API
43
43
  def post(path, req_params={})
44
44
  url = complete_url(path)
45
45
  req_params = apply_auth(req_params)
46
- RestClient.post(url, req_params.to_json, :content_type => :json, :accept => :json) do |response, request, result, &block|
46
+ RestClient.post(url, MultiJson.dump(req_params), :content_type => :json, :accept => :json) do |response, request, result, &block|
47
47
  Fanforce::API::Response.process(response, request, url, req_params)
48
48
  end
49
49
  end
@@ -51,7 +51,7 @@ class Fanforce::API
51
51
  def put(path, req_params={})
52
52
  url = complete_url(path)
53
53
  req_params = apply_auth(req_params)
54
- RestClient.put(url, req_params.to_json, :content_type => :json, :accept => :json) do |response, request, result, &block|
54
+ RestClient.put(url, MultiJson.dump(req_params), :content_type => :json, :accept => :json) do |response, request, result, &block|
55
55
  Fanforce::API::Response.process(response, request, url, req_params)
56
56
  end
57
57
  end
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class API
3
- VERSION = '0.14.5'
3
+ VERSION = '0.14.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.5
4
+ version: 0.14.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark
@@ -10,20 +10,34 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2012-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: oj
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 2.1.4
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 2.1.4
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: multi_json
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
31
  - - ~>
18
32
  - !ruby/object:Gem::Version
19
- version: '1.3'
33
+ version: 1.7.9
20
34
  type: :runtime
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
38
  - - ~>
25
39
  - !ruby/object:Gem::Version
26
- version: '1.3'
40
+ version: 1.7.9
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rest-client
29
43
  requirement: !ruby/object:Gem::Requirement