serfx 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e5e8963af19771e7ab10beb9884a56df2b7e243e
4
- data.tar.gz: 8fb8fd4c678d8676a3ee998d081ac762774f182e
3
+ metadata.gz: 1bbe4c686f43424524bb2439428dc65af274bd48
4
+ data.tar.gz: 1b022ac532671e5d61444b823ff53ef7fa9986b4
5
5
  SHA512:
6
- metadata.gz: c7f0b9572aae1f65940e0c433baf92a66515255185bab492ba7fe2d0f2aa285d6b2af535d06c92159311ed3943e035b11371b340a1ba835252674a50440ee520
7
- data.tar.gz: 7bfd741b91d0be4fc366fb3359e548820cd2261cf8608f826931cd4994c01cf53030d94dc8216169782861da22348e284723b48f8b236ea3b1abdc8e9d5a93c4
6
+ metadata.gz: f34f1b1d291c36b62c7a56bbddfc6fd70a30aff2d823461ef7d521525c95a691e1cd02297cf07f174146c797b8f3ddba7b7ee7bbdc06272b24eff936cff33ee7
7
+ data.tar.gz: 5f8e3312ec0b7b9b3eaa2a6da06fd4271a4982cf7f3f7af8326e5fe397e84586907b7052056d7346e39f0935e5ab2273f398512141fe9335f926ab38f7dc6b90
@@ -107,7 +107,7 @@ module Serfx
107
107
  #
108
108
  # @param header [Hash] RPC response header as hash
109
109
  def check_rpc_error!(header)
110
- fail RPCError, header['Error'] unless header['Error'].empty?
110
+ fail RPCError, header['Error'] unless header['Error'].nil? || header['Error'].empty?
111
111
  end
112
112
 
113
113
  # read data from the tcp socket. and convert it to a [Response] object
@@ -2,5 +2,5 @@
2
2
  #
3
3
  # Provides version as a contsant for the serf gem
4
4
  module Serfx
5
- VERSION = '0.1.1'
5
+ VERSION = '0.1.2'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serfx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rnjib Dey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-03 00:00:00.000000000 Z
11
+ date: 2016-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  version: '0'
192
192
  requirements: []
193
193
  rubyforge_project:
194
- rubygems_version: 2.4.5.1
194
+ rubygems_version: 2.2.2
195
195
  signing_key:
196
196
  specification_version: 4
197
197
  summary: A barebone ruby client for serf