sinatra-websocket 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/sinatra-websocket/ext/thin/connection.rb +2 -5
- data/lib/sinatra-websocket/version.rb +1 -1
- metadata +22 -25
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9ea24933149c9f5947c42e7ea55d945c2f1244c7
|
4
|
+
data.tar.gz: b7a442ea614cbe9b3b16791ee5a0b9e7aea96243
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3b80cc8b744a3db912a61d641c6036077e53d16e42696ac3727fd7e4e869f65c40aa580f29c26185ab9a5829804d0712b458b6278b45a52586c40eef02778125
|
7
|
+
data.tar.gz: 412ace94928013e3b21824c13dca1bd2f0536d192da0a4a1264e36db0bb0b422036b25e4286301db6a1dacbb2d30a6b5a6067c5d44a4e5e6e3b460e65a4d5e45
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 0.3.1
|
2
|
+
- [#10](https://github.com/simulacre/sinatra-websocket/issues/10): Event machine not initialized error on close
|
3
|
+
- [#12](https://github.com/simulacre/sinatra-websocket/issues/12): Don't use Thin 2.0.0
|
4
|
+
|
1
5
|
## 0.3.0
|
2
6
|
- [#6](https://github.com/simulacre/sinatra-websocket/pull/6): check for the existence of async.orig_callback - [@crazed](https://github.com/crazed)
|
3
7
|
|
data/README.md
CHANGED
@@ -44,11 +44,8 @@ module SinatraWebsocket
|
|
44
44
|
# Skip standard unbind it this is
|
45
45
|
# WebSocket connection
|
46
46
|
def unbind_with_websocket
|
47
|
-
|
48
|
-
|
49
|
-
else
|
50
|
-
unbind_without_websocket
|
51
|
-
end
|
47
|
+
self.websocket? && self.websocket.unbind
|
48
|
+
unbind_without_websocket
|
52
49
|
end
|
53
50
|
|
54
51
|
# Send flash policy file if requested
|
metadata
CHANGED
@@ -1,62 +1,61 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-websocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Caleb Crane
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-12-02 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: eventmachine
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: thin
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 1.3.1
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 2.0.0
|
38
37
|
type: :runtime
|
39
38
|
prerelease: false
|
40
39
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
40
|
requirements:
|
43
|
-
- -
|
41
|
+
- - ">="
|
44
42
|
- !ruby/object:Gem::Version
|
45
43
|
version: 1.3.1
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 2.0.0
|
46
47
|
- !ruby/object:Gem::Dependency
|
47
48
|
name: em-websocket
|
48
49
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
50
|
requirements:
|
51
|
-
- - ~>
|
51
|
+
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 0.3.6
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
57
|
requirements:
|
59
|
-
- - ~>
|
58
|
+
- - "~>"
|
60
59
|
- !ruby/object:Gem::Version
|
61
60
|
version: 0.3.6
|
62
61
|
description: Makes it easy to upgrade any request to a websocket connection in Sinatra
|
@@ -65,36 +64,34 @@ executables: []
|
|
65
64
|
extensions: []
|
66
65
|
extra_rdoc_files: []
|
67
66
|
files:
|
67
|
+
- CHANGELOG.md
|
68
|
+
- README.md
|
69
|
+
- lib/sinatra-websocket.rb
|
68
70
|
- lib/sinatra-websocket/error.rb
|
69
71
|
- lib/sinatra-websocket/ext/sinatra/request.rb
|
70
72
|
- lib/sinatra-websocket/ext/thin/connection.rb
|
71
73
|
- lib/sinatra-websocket/version.rb
|
72
|
-
- lib/sinatra-websocket.rb
|
73
|
-
- CHANGELOG.md
|
74
|
-
- README.md
|
75
74
|
homepage: http://github.com/simulacre/sinatra-websocket
|
76
75
|
licenses: []
|
76
|
+
metadata: {}
|
77
77
|
post_install_message:
|
78
78
|
rdoc_options: []
|
79
79
|
require_paths:
|
80
80
|
- lib
|
81
81
|
required_ruby_version: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
82
|
requirements:
|
84
|
-
- -
|
83
|
+
- - ">="
|
85
84
|
- !ruby/object:Gem::Version
|
86
85
|
version: '0'
|
87
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
|
-
none: false
|
89
87
|
requirements:
|
90
|
-
- -
|
88
|
+
- - ">="
|
91
89
|
- !ruby/object:Gem::Version
|
92
90
|
version: '0'
|
93
91
|
requirements: []
|
94
92
|
rubyforge_project:
|
95
|
-
rubygems_version:
|
93
|
+
rubygems_version: 2.4.4
|
96
94
|
signing_key:
|
97
|
-
specification_version:
|
95
|
+
specification_version: 4
|
98
96
|
summary: Simple, upgradable WebSockets for Sinatra.
|
99
97
|
test_files: []
|
100
|
-
has_rdoc:
|