lib/statsd.rb in statsd-client-0.0.1 vs lib/statsd.rb in statsd-client-0.0.2
- old
+ new
@@ -1,10 +1,10 @@
require 'socket'
class Statsd
- Version = '0.0.1'
+ Version = '0.0.2'
class << self
attr_accessor :host, :port
@@ -50,10 +50,9 @@
raise "host and port must be set" unless host && port
sock = UDPSocket.new
data.each do |d|
- puts d
sock.send(d, 0, host, port)
end
true
end
\ No newline at end of file