nugget 0.0.2 → 0.0.3

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.
@@ -29,16 +29,16 @@ module Nugget
29
29
  Nugget::Log.debug("Sending the following to backstop: #{metric}: #{value}")
30
30
 
31
31
  body = [{
32
- metric: metric,
33
- value: value,
34
- measure_time: Time.now.to_i
32
+ :metric => metric,
33
+ :value => value,
34
+ :measure_time => Time.now.to_i
35
35
  }].to_json
36
36
 
37
37
  request = Typhoeus::Request.new(
38
38
  Nugget::Config.backstop_url,
39
- method: :post,
40
- body: body,
41
- headers: { 'Content-Type' => 'application/json' }
39
+ :method => :post,
40
+ :body => body,
41
+ :headers => { 'Content-Type' => 'application/json' }
42
42
  )
43
43
 
44
44
  response = request.run
@@ -1,3 +1,3 @@
1
1
  module Nugget
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nugget
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-15 00:00:00.000000000 Z
12
+ date: 2014-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mixlib-config