gamespy_query 0.2.0pre14 → 0.2.0pre15

Sign up to get free protection for your applications and to get access to all the features.
@@ -63,19 +63,19 @@ module GamespyQuery
63
63
  packets = packet.split(RX_PLAYER_HEADER, 2)
64
64
 
65
65
  # Parse last game_data piece if available
66
- data[:game].merge!(parse_game_data(packets[0])) unless packets[0].empty?
66
+ data[:game].merge!(parse_game_data( encode_string(packets[0]) )) unless packets[0].empty?
67
67
 
68
68
  # Collect the player_data if available
69
69
  player_data += packets[1]
70
70
  else
71
71
  # GameData-only
72
- data[:game].merge! parse_game_data( encode_string(packet, true) )
72
+ data[:game].merge! parse_game_data( encode_string(packet) )
73
73
  end
74
74
  end
75
75
  end
76
76
 
77
77
  # Parse player_data
78
- data[:players] = parse_player_data( encode_string(player_data, true) )
78
+ data[:players] = parse_player_data( encode_string(player_data) )
79
79
 
80
80
  data
81
81
  end
@@ -1,4 +1,4 @@
1
1
  module GamespyQuery
2
2
  # Version of the library
3
- VERSION = "0.2.0pre14"
3
+ VERSION = "0.2.0pre15"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gamespy_query
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0pre14
4
+ version: 0.2.0pre15
5
5
  prerelease: 5
6
6
  platform: ruby
7
7
  authors: