haproxy 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -86,6 +86,7 @@ module HAProxy
86
86
  socket = UNIXSocket.new(@path)
87
87
  socket.write(cmd + ';')
88
88
  socket.each do |line|
89
+ next if line.chomp.empty?
89
90
  yield(line.strip)
90
91
  end
91
92
  end
@@ -1,3 +1,3 @@
1
1
  module HAProxy
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haproxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-17 00:00:00.000000000 Z
12
+ date: 2012-08-30 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: This gem is intended for use as a HAProxy interface when you need to
15
15
  read statistics or if you like to manage proxies thru Ruby