websocket_parser 0.1.6 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/websocket/parser.rb +1 -1
- data/lib/websocket/version.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1aa34970d6259f6e755eecd2ed9c037e8ba7d357
|
4
|
+
data.tar.gz: bc09ee08e0fde4334aba3b4395a0a12524c21a8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c738e1bb07ae00fc4dce03e009a5f0513ad2ac1f6b1f6751294795014cc4238a6be34da1cca0da70441551d507577e8b03225d215fba2b3d7b586ea1123ea4d
|
7
|
+
data.tar.gz: dd2872a3d3f8e839262990666956242751313e02f037bc909d69c8105a1cad65b6c0d053e283adfdcc0971e04039edbd4cc8f4aeb0568bcd62f0a8c8ec43b8a0
|
data/lib/websocket/parser.rb
CHANGED
@@ -190,7 +190,7 @@ module WebSocket
|
|
190
190
|
when :ping
|
191
191
|
@on_ping.call(@current_message) if @on_ping
|
192
192
|
when :pong
|
193
|
-
@on_pong.call(@current_message) if @
|
193
|
+
@on_pong.call(@current_message) if @on_pong
|
194
194
|
when :close
|
195
195
|
status_code, message = @current_message.unpack('S<a*')
|
196
196
|
status = STATUS_CODES[status_code]
|
data/lib/websocket/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module WebSocket
|
2
|
-
VERSION = "0.
|
3
|
-
end
|
2
|
+
VERSION = "1.0.0"
|
3
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: websocket_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alberto Fernandez-Capel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.2.
|
84
|
+
rubygems_version: 2.2.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: Parse websockets messages in Ruby
|