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 +4 -4
- data/lib/serfx/connection.rb +1 -1
- data/lib/serfx/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bbe4c686f43424524bb2439428dc65af274bd48
|
4
|
+
data.tar.gz: 1b022ac532671e5d61444b823ff53ef7fa9986b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f34f1b1d291c36b62c7a56bbddfc6fd70a30aff2d823461ef7d521525c95a691e1cd02297cf07f174146c797b8f3ddba7b7ee7bbdc06272b24eff936cff33ee7
|
7
|
+
data.tar.gz: 5f8e3312ec0b7b9b3eaa2a6da06fd4271a4982cf7f3f7af8326e5fe397e84586907b7052056d7346e39f0935e5ab2273f398512141fe9335f926ab38f7dc6b90
|
data/lib/serfx/connection.rb
CHANGED
@@ -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
|
data/lib/serfx/version.rb
CHANGED
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.
|
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-
|
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.
|
194
|
+
rubygems_version: 2.2.2
|
195
195
|
signing_key:
|
196
196
|
specification_version: 4
|
197
197
|
summary: A barebone ruby client for serf
|