statsdeify 0.0.1 → 0.0.2

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
@@ -34,6 +34,10 @@ measurement = Statsdeify::Measurement.from_line('measure=foo.bar value=12345')
34
34
  writer.puts(measurement)
35
35
  ```
36
36
 
37
+ ## Credit
38
+
39
+ Giant props to @ryandotsmith and his excellent [`ryandotsmith/l2met`](https://github.com/ryandotsmith/l2met) for inspiration.
40
+
37
41
  ## Contributing
38
42
 
39
43
  1. Fork it
@@ -1,3 +1,3 @@
1
1
  module Statsdeify
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
@@ -16,7 +16,7 @@ module Statsdeify
16
16
  end
17
17
 
18
18
  def puts(measurement)
19
- socket.write(measurement.to_s, 0)
19
+ socket.send(measurement.to_s, 0)
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statsdeify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -62,7 +62,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  version: '0'
63
63
  segments:
64
64
  - 0
65
- hash: -4527870241418967139
65
+ hash: 2603189444452856695
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  none: false
68
68
  requirements:
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  version: '0'
72
72
  segments:
73
73
  - 0
74
- hash: -4527870241418967139
74
+ hash: 2603189444452856695
75
75
  requirements: []
76
76
  rubyforge_project:
77
77
  rubygems_version: 1.8.23