metricsd 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.2.1 (July 27, 2011)
2
+
3
+ Bugfixes:
4
+
5
+ - Fixed problem with safe_send under Goliath
6
+
1
7
  ## 0.2.0 (July 27, 2011)
2
8
 
3
9
  Features:
@@ -203,17 +203,17 @@ module Metricsd
203
203
  end
204
204
 
205
205
  if msg.size + s.size + (msg.size > 0 ? 1 : 0) > 250
206
- safe_send(msg)
206
+ safe_send_packet(msg)
207
207
  msg = ''
208
208
  end
209
209
  msg << (msg.size > 0 ? ';' : '') << s
210
210
  end
211
- safe_send(msg) if msg.size > 0
211
+ safe_send_packet(msg) if msg.size > 0
212
212
  end
213
213
 
214
214
  # Sends a string to the MetricsD. Should never raise any network-specific
215
215
  # exceptions, but log them instead, and silently return.
216
- def safe_send(msg)
216
+ def safe_send_packet(msg)
217
217
  collector_socket.send(msg, 0)
218
218
  true
219
219
  rescue Errno::ECONNREFUSED => e
@@ -1,3 +1,3 @@
1
1
  module Metricsd
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metricsd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dmytro Shteflyuk