ts3query 0.3.2 → 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/ts3query/ts3_connection.rb +1 -1
  2. metadata +1 -1
@@ -29,8 +29,8 @@ class TS3Connection
29
29
 
30
30
  @connection.cmd("String" => "#{meth}#{params}#{options}\r",
31
31
  "Match" => /error id=0 msg=ok\n/) { |data|
32
- current_data = {}
33
32
  data.split("|").each do |current|
33
+ current_data = {}
34
34
  data.split(" ").each do |entity|
35
35
  current_data[entity.split("=")[0]] = entity.split("=")[1]
36
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ts3query
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: '0.4'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: