websocket-extensions 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of websocket-extensions might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/LICENSE.md +20 -0
- data/README.md +0 -23
- data/lib/websocket/extensions.rb +1 -1
- data/lib/websocket/extensions/parser.rb +2 -2
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddb4c7765ef0aa140fa983e4b565023f88cd0409
|
4
|
+
data.tar.gz: cbbbe7b54d2afa723f28373bd1ed494d683208dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d46b1af3f4d8939e034a38a37899948d0efe3524a7647120ee4ece4b77e4d9954497a2221f2abfd337015c2e74b01a8dc1a575379b547d51980e859be5e7ac2b
|
7
|
+
data.tar.gz: 2149b48885360a4f84a32286b2f4cd6678256706c5e4038c1bd386bed0bedb835bb3b4f653a6e1554fce0b2ceba8c1d18501058c84aa814e189bb4a797895bf8
|
data/CHANGELOG.md
CHANGED
data/LICENSE.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# The MIT license
|
2
|
+
|
3
|
+
Copyright (c) 2014-2017 James Coglan
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
|
+
this software and associated documentation files (the 'Software'), to deal in
|
7
|
+
the Software without restriction, including without limitation the rights to
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
10
|
+
subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -311,26 +311,3 @@ the session to release any resources it's using.
|
|
311
311
|
|
312
312
|
* Consumer: [websocket-driver](https://github.com/faye/websocket-driver-ruby)
|
313
313
|
* Provider: [permessage-deflate](https://github.com/faye/permessage-deflate-ruby)
|
314
|
-
|
315
|
-
## License
|
316
|
-
|
317
|
-
(The MIT License)
|
318
|
-
|
319
|
-
Copyright (c) 2014-2015 James Coglan
|
320
|
-
|
321
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
322
|
-
this software and associated documentation files (the 'Software'), to deal in
|
323
|
-
the Software without restriction, including without limitation the rights to
|
324
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
325
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
326
|
-
subject to the following conditions:
|
327
|
-
|
328
|
-
The above copyright notice and this permission notice shall be included in all
|
329
|
-
copies or substantial portions of the Software.
|
330
|
-
|
331
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
332
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
333
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
334
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
335
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
336
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/lib/websocket/extensions.rb
CHANGED
@@ -4,8 +4,8 @@ module WebSocket
|
|
4
4
|
class Extensions
|
5
5
|
|
6
6
|
class Parser
|
7
|
-
TOKEN = /([!#\$%&'\*\+\-\.\^_`\|~0-
|
8
|
-
NOTOKEN = /([^!#\$%&'\*\+\-\.\^_`\|~0-
|
7
|
+
TOKEN = /([!#\$%&'\*\+\-\.\^_`\|~0-9A-Za-z]+)/
|
8
|
+
NOTOKEN = /([^!#\$%&'\*\+\-\.\^_`\|~0-9A-Za-z])/
|
9
9
|
QUOTED = /"((?:\\[\x00-\x7f]|[^\x00-\x08\x0a-\x1f\x7f"])*)"/
|
10
10
|
PARAM = %r{#{TOKEN.source}(?:=(?:#{TOKEN.source}|#{QUOTED.source}))?}
|
11
11
|
EXT = %r{#{TOKEN.source}(?: *; *#{PARAM.source})*}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: websocket-extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Coglan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -32,10 +32,11 @@ extra_rdoc_files:
|
|
32
32
|
- README.md
|
33
33
|
files:
|
34
34
|
- CHANGELOG.md
|
35
|
+
- LICENSE.md
|
35
36
|
- README.md
|
36
37
|
- lib/websocket/extensions.rb
|
37
38
|
- lib/websocket/extensions/parser.rb
|
38
|
-
homepage:
|
39
|
+
homepage: https://github.com/faye/websocket-extensions-ruby
|
39
40
|
licenses:
|
40
41
|
- MIT
|
41
42
|
metadata: {}
|
@@ -59,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
59
60
|
version: '0'
|
60
61
|
requirements: []
|
61
62
|
rubyforge_project:
|
62
|
-
rubygems_version: 2.
|
63
|
+
rubygems_version: 2.6.13
|
63
64
|
signing_key:
|
64
65
|
specification_version: 4
|
65
66
|
summary: Generic extension manager for WebSocket connections
|