rubycut-metriks 0.9.9.9 → 0.9.9.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -105,7 +105,7 @@ module Metriks::Reporter
105
105
  def send_metric(compound_name, metric, keys, snapshot_keys = [])
106
106
  keys.each do |key|
107
107
  command = "INSERT INTO #{@table} (server,metric,time,v) VALUES ('#{@source}','#{compound_name}','#{Time.now.utc.strftime("%Y-%m-%d %H:%M:%S+0000")}',#{metric.send(key)})"
108
- puts command
108
+ # puts command
109
109
  connection.execute command
110
110
  end
111
111
  end
@@ -103,7 +103,7 @@ module Metriks::Reporter
103
103
  def send_metric(compound_name, metric, keys, snapshot_keys = [])
104
104
  name, tags = compound_name.split("#")
105
105
  if keys.size == 1
106
- puts "put #{name} #{Time.now.to_i} #{metric.send(keys.first)} #{tags}"
106
+ # puts "put #{name} #{Time.now.to_i} #{metric.send(keys.first)} #{tags}"
107
107
  connection.puts("put #{name} #{Time.now.to_i} #{metric.send(keys.first)} #{tags}")
108
108
  else
109
109
  keys.each do |key|
data/metriks.gemspec CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'rubycut-metriks'
16
- s.version = '0.9.9.9'
17
- s.date = '2013-10-29'
16
+ s.version = '0.9.9.10'
17
+ s.date = '2013-12-04'
18
18
 
19
19
  ## Make sure your summary is short. The description may be as long
20
20
  ## as you like.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubycut-metriks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.9.9
4
+ version: 0.9.9.10
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-10-29 00:00:00.000000000 Z
12
+ date: 2013-12-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: atomic