tl-api-client 0.1.4 → 0.1.6

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: cdfdfa8077711666be56842d40830065655ef005
4
- data.tar.gz: 077202dfd5fbc2735f56fc705f5b83148978f3df
3
+ metadata.gz: afffd6070ebc97cc1979608d712f430ce5a9da39
4
+ data.tar.gz: c3dabe0b2e1db8636c19cad3a6f4148961894bba
5
5
  SHA512:
6
- metadata.gz: 9be18a5e00cc0ece15c7bd3061a0da6d8513657c85a46f586eeca40d154cb0c2879b87561a2ba30f941f3e77ed075f8caff0a28f259694de3cb14c85ee51fa65
7
- data.tar.gz: c08ceb023629ff1e905be42a20a62b3ef41d14e523a56d3da175721a14a2f6aa3a2c7160df0b74a4de627cf3061ed5c0183df38542008216f1498eef6f10d611
6
+ metadata.gz: 65cb35b6e09b5bdcd7775ebc45725387319e369fb21d74685bfd53a4fe5d5de6f1da842d9988362b4339b0e60c8ece995f00fe92f99f1df1d7009e43fa56b844
7
+ data.tar.gz: cbca0a6cb8b44d7d4ba33cd7323c0bd7e9cdc40bdde03f4d8af6c742698af3a0fd6f7dd20d845bb09eda690972b861720902e166ca1fbe7db9edba6373f16f8a
@@ -29,7 +29,7 @@ module Testlink
29
29
 
30
30
  result = connection.call2 method, input
31
31
  if result[0]
32
- if result[1][0].class == {}.class and result[1][0].has_key? "message"
32
+ if defined? result[1][0] and !result[1][0].nil? and result[1][0].has_key? "message"
33
33
  warn result[1][0]["message"]
34
34
  else
35
35
  result[1]
@@ -1,7 +1,7 @@
1
1
  module Tl
2
2
  module Api
3
3
  module Client
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.6"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tl-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emma Chen