hastats 0.0.3 → 0.0.4

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.
@@ -9,7 +9,7 @@ class HAStats::Socket
9
9
  def run(cmd)
10
10
  result = ""
11
11
  UNIXSocket.open(socket_addr) do |socket|
12
- socket.puts(cmd)
12
+ socket.write("#{cmd};")
13
13
  while out = socket.gets
14
14
  result += out
15
15
  end
@@ -1,4 +1,4 @@
1
1
  module HAStats
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hastats
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Travis Petticrew