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 +4 -4
- data/harness.gemspec +1 -0
- data/lib/harness.rb +2 -0
- data/lib/harness/adapters/librato_adapter.rb +1 -2
- data/lib/harness/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54d0f17083fab798f91fd9ef53723d8ba9b043e5
|
4
|
+
data.tar.gz: d32c8251b440a1baac09dc8b02af02a008a3d5e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 373a966fa9e100347e615dc254ec68d21a310b4db9816041d88d0bf44f88f68e7a2e82c57e27af6d95890020ecd9f36b8e114b518bd242da86b427b5a301483a
|
7
|
+
data.tar.gz: 2897bcf4344ce24755ac65f82186cf452d7fa9f95f9c5c478bd82752912a5e922864d28bfb52ef0f10921d5020cddda45eae00a91c0cb8a0f2d1a4810525ab7c
|
data/harness.gemspec
CHANGED
@@ -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"
|
data/lib/harness.rb
CHANGED
@@ -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
|
53
|
+
request.body = MultiJson.dump params
|
55
54
|
|
56
55
|
response = http.request request
|
57
56
|
|
data/lib/harness/version.rb
CHANGED
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.
|
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-
|
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
|