4 Commits

Author SHA1 Message Date
James Coglan db21758f3b Bump version to 0.1.3. 2016-05-20 08:43:21 +01:00
James Coglan 5fa83fd517 Silence all -W2 warnings. 2016-05-18 22:45:21 +01:00
James Coglan bae484c69d Update Ruby versions for Travis. 2016-04-30 13:11:17 +01:00
James Coglan 9c57240cfb Create CODE_OF_CONDUCT.md. 2015-11-08 12:17:05 +00:00
7 changed files with 18 additions and 5 deletions
+4 -3
View File
@@ -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
+4
View File
@@ -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
+4
View File
@@ -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).
+1 -1
View File
@@ -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
+2
View File
@@ -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)
+2
View File
@@ -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 -1
View File
@@ -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'