faye-websocket 0.7.4 → 0.7.5

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: 8dcdc38223e538b343f05db520876c71966e1635
4
- data.tar.gz: 391e3bbbbcce5fa9577bb4b34f1a61179879bea5
3
+ metadata.gz: 1329268e0b5934a61fd2299c3cdabb547aec1b9e
4
+ data.tar.gz: eca931855f0e975d19871249057fc0dcf3ad6e48
5
5
  SHA512:
6
- metadata.gz: 6bea9365425bbbc494ae6a491d9e5b8bec2d66338f09252f1b697d613c33ac995b70baf7fe9768923e509d6ebf5cda8190c51cb326af8c3a7fc4b72720d57fce
7
- data.tar.gz: 9808ea07bc27e3ff661b167b44fa3ba542f5511641d4c52a5485555234810b082e4e1662f73e8f5d7234406509f1c28e961cea0746847c3979723aa40ab1de10
6
+ metadata.gz: 04392fbcfa76568836349af666b79cabecf8ecc168845a6365a272539309a67c4bec3f66918a5a2f7ca7cf8a97efa5a2510ce327093963450009c58721a596bb
7
+ data.tar.gz: 81e71e07a1effb46e2411159df142f2d82634e63f354b7ef5c03d80de54ecefc2c60b2f570458a463158b675ad804370d4813c34c7dfb60be8ba820fc712e6a0
@@ -1,13 +1,20 @@
1
+ ### 0.7.5 / 2014-10-04
2
+
3
+ * Allow sockets to be closed when they are in any state other than `CLOSED`
4
+
5
+
1
6
  ### 0.7.4 / 2014-07-06
2
7
 
3
8
  * Stop using `define_method` to implement `Event` properties, since it blows the method cache
4
9
  * Stop setup errors masking URI errors in `Client#initialize`
5
10
  * Make the Goliath adapter compatible with goliath-1.0.4.
6
11
 
12
+
7
13
  ### 0.7.3 / 2014-04-24
8
14
 
9
15
  * Remove an unneeded method override in the `WebSocket` class
10
16
 
17
+
11
18
  ### 0.7.2 / 2013-12-29
12
19
 
13
20
  * Fix WebSocket detection in cases where the web server does not produce an `env`
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # faye-websocket
2
2
 
3
3
  * Travis CI build: [![Build
4
- status](https://secure.travis-ci.org/faye/faye-websocket-ruby.png)](http://travis-ci.org/faye/faye-websocket-ruby)
4
+ status](https://secure.travis-ci.org/faye/faye-websocket-ruby.svg)](http://travis-ci.org/faye/faye-websocket-ruby)
5
5
  * Autobahn tests: [server](http://faye.jcoglan.com/autobahn/servers/),
6
6
  [client](http://faye.jcoglan.com/autobahn/clients/)
7
7
 
@@ -20,7 +20,7 @@ based on streaming HTTP responses and can be easier to access via proxies than
20
20
  WebSockets.
21
21
 
22
22
  The following web servers are supported. Other servers that implement the
23
- `rack.hjiack` API should also work.
23
+ `rack.hijack` API should also work.
24
24
 
25
25
  * [Goliath](http://postrank-labs.github.com/goliath/)
26
26
  * [Phusion Passenger](https://www.phusionpassenger.com/) >= 4.0 with nginx >= 1.4
@@ -100,7 +100,7 @@ module Faye
100
100
  end
101
101
 
102
102
  def close
103
- @ready_state = CLOSING if @ready_state == OPEN
103
+ @ready_state = CLOSING unless @ready_state == CLOSED
104
104
  @driver.close
105
105
  end
106
106
 
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.7.4
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Coglan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-06 00:00:00.000000000 Z
11
+ date: 2014-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.3.1
33
+ version: 0.3.5
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.3.1
40
+ version: 0.3.5
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: progressbar
43
43
  requirement: !ruby/object:Gem::Requirement