faye-websocket 0.10.6 → 0.10.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of faye-websocket might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b6bf17084f08c82f3d0d7ac138e98ddd2a0f059
4
- data.tar.gz: 8b86e6161c6c6822f46675a8ac7644ad64257be8
3
+ metadata.gz: 04b914f093bd2e483eba87b081b1731e96145a9c
4
+ data.tar.gz: d11b22297ff5ce1fd4f1a6f32cb54cb818fb10f3
5
5
  SHA512:
6
- metadata.gz: 41099891f06201e60913915da0bec5f3420b2ebaf955a80d5c17cf7d3cab53feac35e0a7376ad301880eb5245f9e7412304c4a448abdbb4a942c535d46c780a8
7
- data.tar.gz: 66350cd838a0a77e20285130c28bcbe2a197d7179c729866ec5d38d78c8635c212c57670ca2496e0d292f1279825d21624b4a341a1e64df7a8fa83f1d6ab8f60
6
+ metadata.gz: 9fab557063c51f4e3d4332ec395e82d76b6ce73fe6e877f594eb280c85d1fb5d7d45cd9af8b7ebeb5064d4aa480fb364768f02d0d3fbd8ba0edff08009e53257
7
+ data.tar.gz: ca55257cb5654ef76d5da7c7d04f1501914ed986a8cfba664657765be226e21d3eb32185163844392fda9fd63a8d39cf93505a3271ccacd7485ffbb2c7732022
@@ -1,3 +1,7 @@
1
+ ### 0.10.7 / 2017-02-22
2
+
3
+ * Emit an error if `EventMachine::Connection#unbind` is called with an error
4
+
1
5
  ### 0.10.6 / 2017-01-22
2
6
 
3
7
  * Forcibly close the I/O stream after a timeout if the peer does not respond
@@ -21,6 +21,8 @@ when 'goliath'
21
21
  end
22
22
 
23
23
  when 'puma'
24
+ require 'puma/binder'
25
+ require 'puma/events'
24
26
  events = Puma::Events.new($stdout, $stderr)
25
27
  binder = Puma::Binder.new(events)
26
28
  binder.parse(["tcp://0.0.0.0:#{port}"], App)
@@ -80,7 +80,8 @@ module Faye
80
80
  parent.__send__(:parse, data)
81
81
  end
82
82
 
83
- def unbind
83
+ def unbind(error = nil)
84
+ parent.__send__(:emit_error, error) if error
84
85
  parent.__send__(:finalize_close)
85
86
  end
86
87
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faye-websocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.6
4
+ version: 0.10.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Coglan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-22 00:00:00.000000000 Z
11
+ date: 2017-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine