Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| db21758f3b | |||
| 5fa83fd517 | |||
| bae484c69d | |||
| 9c57240cfb |
+4
-3
@@ -4,11 +4,12 @@ language: ruby
|
||||
rvm:
|
||||
- 1.9.3
|
||||
- 2.0.0
|
||||
- 2.1.7
|
||||
- 2.2.3
|
||||
- 2.1.10
|
||||
- 2.2.5
|
||||
- 2.3.1
|
||||
- jruby-19mode
|
||||
- jruby-9
|
||||
- rbx-2.5
|
||||
- rbx-2
|
||||
|
||||
script:
|
||||
- bundle exec rspec -c spec
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
### 0.1.3 / 2016-05-20
|
||||
|
||||
* Amend all warnings issued when running with -W2
|
||||
|
||||
### 0.1.2 / 2015-11-06
|
||||
|
||||
* The server does not send `server_max_window_bits` if the client does not ask
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# Code of Conduct
|
||||
|
||||
All projects under the [Faye](https://github.com/faye) umbrella are covered by
|
||||
the [Code of Conduct](https://github.com/faye/code-of-conduct).
|
||||
@@ -70,7 +70,7 @@ can be used to set the local session's behaviour and control that of the peer:
|
||||
|
||||
(The MIT License)
|
||||
|
||||
Copyright (c) 2014-2015 James Coglan
|
||||
Copyright (c) 2014-2016 James Coglan
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the 'Software'), to deal in
|
||||
|
||||
@@ -34,6 +34,8 @@ class PermessageDeflate
|
||||
define_method(:rsv3) { false }
|
||||
|
||||
def configure(options)
|
||||
@options ||= nil
|
||||
|
||||
PermessageDeflate.validate_options(options, VALID_OPTIONS)
|
||||
options = (@options || {}).merge(options)
|
||||
PermessageDeflate.new(options)
|
||||
|
||||
@@ -39,6 +39,8 @@ class PermessageDeflate
|
||||
@accept_max_window_bits = options.fetch(:max_window_bits, nil)
|
||||
@request_no_context_takeover = options.fetch(:request_no_context_takeover, false)
|
||||
@request_max_window_bits = options.fetch(:request_max_window_bits, nil)
|
||||
|
||||
@deflate = @inflate = nil
|
||||
end
|
||||
|
||||
def process_incoming_message(message)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Gem::Specification.new do |s|
|
||||
s.name = 'permessage_deflate'
|
||||
s.version = '0.1.2'
|
||||
s.version = '0.1.3'
|
||||
s.summary = 'Per-message DEFLATE compression extension for WebSocket connections'
|
||||
s.author = 'James Coglan'
|
||||
s.email = 'jcoglan@gmail.com'
|
||||
|
||||
Reference in New Issue
Block a user