permessage_deflate 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a14c8dd2a4f9ba707ef04843ddf38f63edab8a96
4
- data.tar.gz: a5ae9bc81616693639e4c3bc119c9e0f56fba26e
3
+ metadata.gz: 152e4441be7d3c79b3e8169d4268b2d7f5abdb09
4
+ data.tar.gz: af5b39863453e9a56cbc33cd1cb96a4e0956bf9b
5
5
  SHA512:
6
- metadata.gz: 3a652f56d83877215d70642b93fa2d06903e5dbdf1696cc73a397ffa6614864a71d82ec5b4d0f5cdb5854930e166dfe0f24da605137b1e70acac10fd533fcc32
7
- data.tar.gz: 3c7d27e351764c4f6c19ced876ba6a8664b638ac0aef40ce8290a03412d628164723b49b277582887eb9aa0aeca6fdfa7fb4e11c73730c194ac6a576c5d0d407
6
+ metadata.gz: 3a80afa2e48ab51d6f2d80f2132f4c52ff3c9c80dcf3a17b4911970266f728919b068e0df991b060af8aa5e4a940df65749908b0a13c7ece32f3b7503d79929e
7
+ data.tar.gz: 989ee3dfa1d4c62618cd816be874a69e4f7508dd5e8d23c4e64cfa67b6e312fcc0a4c99ed523825b82c623b486bea216672a79d169b2d4e2959a020e846a5981
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.1.3 / 2016-05-20
2
+
3
+ * Amend all warnings issued when running with -W2
4
+
1
5
  ### 0.1.2 / 2015-11-06
2
6
 
3
7
  * The server does not send `server_max_window_bits` if the client does not ask
data/README.md CHANGED
@@ -70,7 +70,7 @@ can be used to set the local session's behaviour and control that of the peer:
70
70
 
71
71
  (The MIT License)
72
72
 
73
- Copyright (c) 2014-2015 James Coglan
73
+ Copyright (c) 2014-2016 James Coglan
74
74
 
75
75
  Permission is hereby granted, free of charge, to any person obtaining a copy of
76
76
  this software and associated documentation files (the 'Software'), to deal in
@@ -34,6 +34,8 @@ class PermessageDeflate
34
34
  define_method(:rsv3) { false }
35
35
 
36
36
  def configure(options)
37
+ @options ||= nil
38
+
37
39
  PermessageDeflate.validate_options(options, VALID_OPTIONS)
38
40
  options = (@options || {}).merge(options)
39
41
  PermessageDeflate.new(options)
@@ -39,6 +39,8 @@ class PermessageDeflate
39
39
  @accept_max_window_bits = options.fetch(:max_window_bits, nil)
40
40
  @request_no_context_takeover = options.fetch(:request_no_context_takeover, false)
41
41
  @request_max_window_bits = options.fetch(:request_max_window_bits, nil)
42
+
43
+ @deflate = @inflate = nil
42
44
  end
43
45
 
44
46
  def process_incoming_message(message)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: permessage_deflate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
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: 2015-11-06 00:00:00.000000000 Z
11
+ date: 2016-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  version: '0'
62
62
  requirements: []
63
63
  rubyforge_project:
64
- rubygems_version: 2.4.5.1
64
+ rubygems_version: 2.5.1
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: Per-message DEFLATE compression extension for WebSocket connections