telemetry 1.0.8 → 1.0.9

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.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Telemetry
2
2
 
3
- This gem provides a wrapper around the Telemetry API (http://www.telemetryboard.com).
3
+ This gem provides a wrapper around the Telemetry API (http://www.telemetryapp.com).
4
4
 
5
5
  ## Installation
6
6
 
data/bin/telemetryd CHANGED
@@ -6,7 +6,7 @@ require_relative "../lib/telemetry.rb"
6
6
  include Telemetry
7
7
 
8
8
  runner = Dante::Runner.new('telemetryd', :port => 9990)
9
- runner.description = "telemetryd, a daemon for sending data to www.telemetryapp.com"
9
+ runner.description = "telemetryd #{Telemetry::VERSION}, a daemon for sending data to www.telemetryapp.com"
10
10
  runner.with_options do |opts|
11
11
  opts.on("-c", "--config PATH", String, "Config file location") do |config|
12
12
  options[:config] = config
@@ -12,11 +12,11 @@ module Telemetry
12
12
 
13
13
  body = MultiJson.dump({:data => data})
14
14
 
15
- uri = URI("https://data.telemetryapp.com/v1/data.json")
15
+ uri = URI("https://data.telemetryapp.com/data")
16
16
  request = Net::HTTP::Post.new(uri.path)
17
17
  request.basic_auth(Telemetry.token, "")
18
18
  request['Content-Type'] = 'application/json'
19
- request['User-Agent'] = "telemetryd"
19
+ request['User-Agent'] = "Telemetry Ruby Gem (#{Telemetry::VERSION})"
20
20
  request.body = body
21
21
 
22
22
  begin
@@ -1,3 +1,3 @@
1
1
  module Telemetry
2
- VERSION = "1.0.8"
2
+ VERSION = "1.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telemetry
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
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: 2013-07-08 00:00:00.000000000 Z
12
+ date: 2013-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: oj