haproxy 0.0.6 → 0.0.7

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.
@@ -60,7 +60,6 @@ module HAProxy
60
60
  end
61
61
 
62
62
  cmd = "show stat #{params[:proxy]} #{params[:type]} #{params[:server]}"
63
-
64
63
  returning([]) do |stats|
65
64
  send_cmd(cmd) do |line|
66
65
  stats << CSVParser.parse(line) unless line.start_with?('#')
@@ -83,7 +82,7 @@ module HAProxy
83
82
  end
84
83
 
85
84
  def backends
86
- stats :frontend, :proxy => :all, :server => :all
85
+ stats :backend, :proxy => :all, :server => :all
87
86
  end
88
87
 
89
88
  def servers
@@ -1,3 +1,3 @@
1
1
  module HAProxy
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
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.6
4
+ version: 0.0.7
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-09-27 00:00:00.000000000 Z
12
+ date: 2013-02-06 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