harness 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a97408f57ca2028c1d20abddc3a872c2f8ba25c
4
- data.tar.gz: bc43e4e4c660b7d30b79b9b8b0de1f3c0e1130f7
3
+ metadata.gz: 54d0f17083fab798f91fd9ef53723d8ba9b043e5
4
+ data.tar.gz: d32c8251b440a1baac09dc8b02af02a008a3d5e2
5
5
  SHA512:
6
- metadata.gz: 2ddbc2a211b2fc8d676b2600e0c03b87e81bec9dc7fdb9f2c74dcb4e4a53587888238ca492e873eae0d91a72d361e1fefac2b5a652eaaa07df6912b60afa7e3e
7
- data.tar.gz: c488a588b16d8cf9507faa1cb9163bad3811ed786eeb267934d7a15ac31cf43b133ab92e91b82bd34581892352d63cecd1b15d893b740d04b782767ced458ebf
6
+ metadata.gz: 373a966fa9e100347e615dc254ec68d21a310b4db9816041d88d0bf44f88f68e7a2e82c57e27af6d95890020ecd9f36b8e114b518bd242da86b427b5a301483a
7
+ data.tar.gz: 2897bcf4344ce24755ac65f82186cf452d7fa9f95f9c5c478bd82752912a5e922864d28bfb52ef0f10921d5020cddda45eae00a91c0cb8a0f2d1a4810525ab7c
@@ -18,6 +18,7 @@ Gem::Specification.new do |gem|
18
18
  gem.add_dependency "activesupport", ">= 3"
19
19
  gem.add_dependency "redis"
20
20
  gem.add_dependency "redis-namespace"
21
+ gem.add_dependency "multi_json"
21
22
 
22
23
  gem.add_development_dependency "simplecov"
23
24
  gem.add_development_dependency "webmock"
@@ -1,5 +1,7 @@
1
1
  require "harness/version"
2
2
 
3
+ require 'multi_json'
4
+
3
5
  require 'redis'
4
6
  require 'redis/namespace'
5
7
 
@@ -1,4 +1,3 @@
1
- require 'json'
2
1
  require 'uri'
3
2
  require 'net/http'
4
3
 
@@ -51,7 +50,7 @@ module Harness
51
50
 
52
51
  request.basic_auth config.email, config.token
53
52
  request['Content-Type'] = 'application/json'
54
- request.body = params.to_json
53
+ request.body = MultiJson.dump params
55
54
 
56
55
  response = http.request request
57
56
 
@@ -1,3 +1,3 @@
1
1
  module Harness
2
- VERSION = "0.7.0"
2
+ VERSION = "0.8.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harness
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ahawkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-16 00:00:00.000000000 Z
11
+ date: 2013-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: multi_json
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: simplecov
57
71
  requirement: !ruby/object:Gem::Requirement