teamspeak-ruby 1.0.0 → 1.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e597f9317f78597ad033ee1a497c7a9cf13459d
4
- data.tar.gz: 73c37f6efc8231e5fe46ae2fd35c0ec64fd8f23c
3
+ metadata.gz: a3b5d48d77f79b5ed11b1e0bbc58289e0d2aa6bb
4
+ data.tar.gz: ab66df702c845ac8d1a9620574a2d3441ab747b0
5
5
  SHA512:
6
- metadata.gz: f244e7925b258b707da5f52084f9e555911ea65104d5f783e00e0a47a5081af66e8822e55b27aa656342e4c2d1bf206bd59316749c46533cbd7f15cda3e6c98e
7
- data.tar.gz: 8dcfc08728b28be8c707a2a522ac9128843ab6733546a2be68eab17859f112a3bf43877b96b84d42404bf9938225611f33d696a1d7e11f568ea9a1f58b5e44cd
6
+ metadata.gz: 7373de91ce88a7d2dccdba24d1185eef6e8182079de3fe795a52c9da8ada2a29db35911a5311630d39df73fc7139a14417948eb6a4d12fe9a34f409604664550
7
+ data.tar.gz: bc3a0d0661964c1a691fb6d9e72b876b9de83410797598209411234221ed4ef9a731600e0be210349a70dae15617326750ec7472bbaac035856e641a422e5668
@@ -133,8 +133,8 @@ module Teamspeak
133
133
  end
134
134
 
135
135
  def check_response_error(response)
136
- id = response.first['id']
137
- message = response.first['msg']
136
+ id = response.first['id'] || 0
137
+ message = response.first['msg'] || 0
138
138
 
139
139
  raise ServerError.new(id, message) unless id == 0
140
140
  end
@@ -1,3 +1,3 @@
1
1
  module Teamspeak
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teamspeak-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Harrison