faye-websocket 0.4.5-java → 0.4.6-java
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.
- data/CHANGELOG.txt +5 -0
- data/lib/faye/eventsource.rb +1 -0
- data/lib/faye_websocket_mask.jar +0 -0
- data/spec/faye/websocket/hybi_parser_spec.rb +0 -7
- metadata +2 -2
data/CHANGELOG.txt
CHANGED
data/lib/faye/eventsource.rb
CHANGED
data/lib/faye_websocket_mask.jar
CHANGED
Binary file
|
@@ -127,13 +127,6 @@ describe Faye::WebSocket::HybiParser do
|
|
127
127
|
bytes(@parser.frame message).should == [0x81, 0x7e, 0x00, 0xc8] + [0x48, 0x65, 0x6c, 0x6c, 0x6f] * 40
|
128
128
|
end
|
129
129
|
|
130
|
-
it "encodes long strings using extra length bytes" do
|
131
|
-
message = "Hello" * 13108
|
132
|
-
bytes(@parser.frame message).should == [0x81, 0x7f] +
|
133
|
-
[0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x04] +
|
134
|
-
[0x48, 0x65, 0x6c, 0x6c, 0x6f] * 13108
|
135
|
-
end
|
136
|
-
|
137
130
|
it "encodes close frames with an error code" do
|
138
131
|
frame = @parser.frame "Hello", :close, 1002
|
139
132
|
bytes(frame).should == [0x88, 0x07, 0x03, 0xea, 0x48, 0x65, 0x6c, 0x6c, 0x6f]
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: faye-websocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.4.
|
5
|
+
version: 0.4.6
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- James Coglan
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-07-09 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: eventmachine
|