websocket 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/websocket/frame/base.rb +2 -1
- data/lib/websocket/frame/handler/handler05.rb +3 -3
- data/lib/websocket/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
data/lib/websocket/frame/base.rb
CHANGED
@@ -6,9 +6,9 @@ module WebSocket
|
|
6
6
|
class Handler05 < Handler04
|
7
7
|
|
8
8
|
def encode_frame
|
9
|
-
if @code
|
10
|
-
@frame.data = Data.new([@code].pack('n') + @frame.data.to_s)
|
11
|
-
@code = nil
|
9
|
+
if @frame.code
|
10
|
+
@frame.data = Data.new([@frame.code].pack('n') + @frame.data.to_s)
|
11
|
+
@frame.code = nil
|
12
12
|
end
|
13
13
|
super
|
14
14
|
end
|
data/lib/websocket/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: websocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-07-02 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Universal Ruby library to handle WebSocket protocol
|
15
15
|
email:
|
@@ -101,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
101
|
version: '0'
|
102
102
|
segments:
|
103
103
|
- 0
|
104
|
-
hash:
|
104
|
+
hash: 1890539524106182943
|
105
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
107
|
requirements:
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
segments:
|
112
112
|
- 0
|
113
|
-
hash:
|
113
|
+
hash: 1890539524106182943
|
114
114
|
requirements: []
|
115
115
|
rubyforge_project:
|
116
116
|
rubygems_version: 1.8.25
|