websocket-extensions 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ddb4c7765ef0aa140fa983e4b565023f88cd0409
4
- data.tar.gz: cbbbe7b54d2afa723f28373bd1ed494d683208dd
2
+ SHA256:
3
+ metadata.gz: 7820a309cf08485c15d1b831be4a2a9b15d4e754dbdf573cc67960f68526fe25
4
+ data.tar.gz: 0f47a86a75722413a3086b2d97ff7a9395926279ba9da7a0a3b7e8beea7dab34
5
5
  SHA512:
6
- metadata.gz: d46b1af3f4d8939e034a38a37899948d0efe3524a7647120ee4ece4b77e4d9954497a2221f2abfd337015c2e74b01a8dc1a575379b547d51980e859be5e7ac2b
7
- data.tar.gz: 2149b48885360a4f84a32286b2f4cd6678256706c5e4038c1bd386bed0bedb835bb3b4f653a6e1554fce0b2ceba8c1d18501058c84aa814e189bb4a797895bf8
6
+ metadata.gz: b40d64358de343b7684a64ab68a18d4e9c4951ff8027271710c1450fb68315f416c785acbba94098fbdd3e1a9910b435d6fa09e1522ba710cae70223fecba28f
7
+ data.tar.gz: 13892dac1c28a87fea45d24c4d3107614396fd99fb9b04d2f55b3012f48dc4a31ff50f281488cb63eacfebc46f849e326f50519ae72df742bf36706675f8d28b
@@ -1,15 +1,19 @@
1
+ ### 0.1.4 / 2019-06-10
2
+
3
+ - Fix a deprecation warning for using the `=~` operator on `true`
4
+
1
5
  ### 0.1.3 / 2017-11-11
2
6
 
3
- * Accept extension names and parameters including uppercase letters
7
+ - Accept extension names and parameters including uppercase letters
4
8
 
5
9
  ### 0.1.2 / 2015-02-19
6
10
 
7
- * Make it safe to call `Extensions#close` if the handshake is not complete
11
+ - Make it safe to call `Extensions#close` if the handshake is not complete
8
12
 
9
13
  ### 0.1.1 / 2014-12-14
10
14
 
11
- * Explicitly require `strscan` which is not loaded in a vanilla Ruby environment
15
+ - Explicitly require `strscan` which is not loaded in a vanilla Ruby environment
12
16
 
13
17
  ### 0.1.0 / 2014-12-13
14
18
 
15
- * Initial release
19
+ - Initial release
data/LICENSE.md CHANGED
@@ -1,20 +1,12 @@
1
- # The MIT license
1
+ Copyright 2014-2019 James Coglan
2
2
 
3
- Copyright (c) 2014-2017 James Coglan
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at
4
6
 
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:
7
+ http://www.apache.org/licenses/LICENSE-2.0
11
8
 
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.
9
+ Unless required by applicable law or agreed to in writing, software distributed
10
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
11
+ CONDITIONS OF ANY KIND, either express or implied. See the License for the
12
+ specific language governing permissions and limitations under the License.
data/README.md CHANGED
@@ -309,5 +309,5 @@ the session to release any resources it's using.
309
309
 
310
310
  ## Examples
311
311
 
312
- * Consumer: [websocket-driver](https://github.com/faye/websocket-driver-ruby)
313
- * Provider: [permessage-deflate](https://github.com/faye/permessage-deflate-ruby)
312
+ - Consumer: [websocket-driver](https://github.com/faye/websocket-driver-ruby)
313
+ - Provider: [permessage-deflate](https://github.com/faye/permessage-deflate-ruby)
@@ -38,7 +38,7 @@ module WebSocket
38
38
  else
39
39
  data = true
40
40
  end
41
- if data =~ NUMBER
41
+ if data != true and data =~ NUMBER
42
42
  data = data =~ /\./ ? data.to_f : data.to_i(10)
43
43
  end
44
44
 
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Coglan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-11 00:00:00.000000000 Z
11
+ date: 2019-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -38,7 +38,7 @@ files:
38
38
  - lib/websocket/extensions/parser.rb
39
39
  homepage: https://github.com/faye/websocket-extensions-ruby
40
40
  licenses:
41
- - MIT
41
+ - Apache-2.0
42
42
  metadata: {}
43
43
  post_install_message:
44
44
  rdoc_options:
@@ -59,8 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  requirements: []
62
- rubyforge_project:
63
- rubygems_version: 2.6.13
62
+ rubygems_version: 3.0.3
64
63
  signing_key:
65
64
  specification_version: 4
66
65
  summary: Generic extension manager for WebSocket connections