petef-statsd 0.3 → 0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/statsd.rb +1 -1
  2. metadata +8 -6
data/lib/statsd.rb CHANGED
@@ -123,7 +123,7 @@ module StatsD
123
123
  end
124
124
 
125
125
  def receive_data(packet)
126
- bits = packet.split(":")
126
+ bits = packet.strip.split(":")
127
127
  key = bits.shift.gsub(/\s+/, "_") \
128
128
  .gsub(/\//, "-") \
129
129
  .gsub(/[^a-zA-Z_\-0-9\.]/, "")
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: petef-statsd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
5
- prerelease:
4
+ hash: 3
5
+ prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 3
9
- version: "0.3"
8
+ - 4
9
+ version: "0.4"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Pete Fritchman
@@ -14,7 +14,8 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-12-02 00:00:00 Z
17
+ date: 2011-12-16 00:00:00 -08:00
18
+ default_executable:
18
19
  dependencies:
19
20
  - !ruby/object:Gem::Dependency
20
21
  name: eventmachine
@@ -55,6 +56,7 @@ extra_rdoc_files: []
55
56
  files:
56
57
  - lib/statsd.rb
57
58
  - bin/statsd
59
+ has_rdoc: true
58
60
  homepage: https://github.com/fetep/ruby-statsd
59
61
  licenses:
60
62
  - Mozilla Public License (1.1)
@@ -85,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
87
  requirements: []
86
88
 
87
89
  rubyforge_project:
88
- rubygems_version: 1.8.10
90
+ rubygems_version: 1.3.7
89
91
  signing_key:
90
92
  specification_version: 3
91
93
  summary: statsd -- stat collector/aggregator