stathat 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stathat.rb +0 -4
  3. data/stathat.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f712632e447b4080112679ca7ec6e394b05e046
4
- data.tar.gz: ddad787af0dac1b0767f31bbe49c3aa91a306d98
3
+ metadata.gz: 9fcaa45f9e117f54ad4e94dfbbd76eaf9c1c5f67
4
+ data.tar.gz: 09713380a82ad0d6153fc15c0039cbcd6d613737
5
5
  SHA512:
6
- metadata.gz: c3796e60ca19835064c12ebbca110d24aecffb85b3832b9d9bd5cb0de4744cc11b3a869eb6010d9de4b3a59e734d506c7f5df2e21efebe50825afcf79f8bebe9
7
- data.tar.gz: bb87774ba90be3a48291ffd28e5f7f0fd22fef49b0c875f3754a3923b99ce596e436e550604057f0b21b31a2b9aa4aeecfa21995e63cbafca720cbba07fa0109
6
+ metadata.gz: 491f1e5d91a2a59f14042ed3b384f8badd6ad8b2d6c2309437d20dc50948ac3ce63c6e4637230031dfc3ce53e2e2a2243c5790521f2d131349e45bff393790b9
7
+ data.tar.gz: 41994c6a53130aa45f6f860816132bb30ff3f14df18d5f545fb2049e6055defac11ba8ee01c5e93b7600d13242d4bd6aaf99a535d2a2b1b5a57ff500b65127e7
data/lib/stathat.rb CHANGED
@@ -60,7 +60,6 @@ module StatHat
60
60
  end
61
61
 
62
62
  def ez_post_value(stat_name, ezkey, value, timestamp, cb)
63
- puts "ezval cb: #{cb}"
64
63
  args = { :stat => stat_name,
65
64
  :ezkey => ezkey,
66
65
  :value => value }
@@ -82,12 +81,10 @@ module StatHat
82
81
  @pool = []
83
82
  5.times do |i|
84
83
  @pool[i] = Thread.new do
85
- puts "thread #{i} started"
86
84
  while true do
87
85
  point = @que.pop
88
86
  # XXX check for error?
89
87
  begin
90
- puts "thread #{i}: sending"
91
88
  resp = send_to_stathat(point[:url], point[:args])
92
89
  if point[:cb]
93
90
  point[:cb].call(resp)
@@ -99,7 +96,6 @@ module StatHat
99
96
  break unless @running
100
97
  }
101
98
  end
102
- puts "reporter thread #{i} finished"
103
99
  end
104
100
  end
105
101
  end
data/stathat.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{stathat}
5
- s.version = "0.1.4"
5
+ s.version = "0.1.5"
6
6
  s.authors = ["StatHat"]
7
7
  s.description = %q{Easily post stats to your StatHat account using this gem. Encapsulates full API.}
8
8
  s.email = %q{info@stathat.com}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stathat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - StatHat