serfx 0.1.0 → 0.1.1

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: 683dd4d08bf7bae9fe1bbe8eb3be76bb374597b3
4
- data.tar.gz: 86923b12a193f8ab737e714265d8880670d1f766
3
+ metadata.gz: e5e8963af19771e7ab10beb9884a56df2b7e243e
4
+ data.tar.gz: 8fb8fd4c678d8676a3ee998d081ac762774f182e
5
5
  SHA512:
6
- metadata.gz: fe3a1c28e9036b08f59f75a092b71a067bca78a8f4f76c6dd852f2ae6df269b716ca99b275f942125ba071bfbb5d660e1bced14dd26d70b6cf1dec22d20aa8f4
7
- data.tar.gz: 8272fad66e719ae2d779a4b1045275f118d4c8ea110b071e96cd855bc19231e33796ab9afb5fd3eb15ef305ae9fc4a595ee39d4edda0cfd0901948afef4e9af2
6
+ metadata.gz: c7f0b9572aae1f65940e0c433baf92a66515255185bab492ba7fe2d0f2aa285d6b2af535d06c92159311ed3943e035b11371b340a1ba835252674a50440ee520
7
+ data.tar.gz: 7bfd741b91d0be4fc366fb3359e548820cd2261cf8608f826931cd4994c01cf53030d94dc8216169782861da22348e284723b48f8b236ea3b1abdc8e9d5a93c4
data/README.md CHANGED
@@ -176,6 +176,8 @@ Serfx aims to support and is [tested against][serfx-travis] the following Ruby i
176
176
  [serfx-travis]: https://travis-ci.org/ranjib/serfx
177
177
 
178
178
  ## License
179
+ Copyright (c) 2014, PagerDuty
180
+
179
181
  Licensed under the Apache License, Version 2.0 (the "License");
180
182
  you may not use this file except in compliance with the License.
181
183
  You may obtain a copy of the License at
@@ -150,6 +150,10 @@ module Serfx
150
150
  header = read_data
151
151
  check_rpc_error!(header)
152
152
  ev = read_data
153
+
154
+ # Ignore responses with an empty From field
155
+ break if ev['From'].nil? || ev['From'].empty?
156
+
153
157
  if ev['Type'] == 'done'
154
158
  break
155
159
  else
data/lib/serfx/version.rb CHANGED
@@ -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.0'
5
+ VERSION = '0.1.1'
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.0
4
+ version: 0.1.1
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-02-25 00:00:00.000000000 Z
11
+ date: 2016-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack