async-websocket 0.11.1 → 0.12.0

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
  SHA256:
3
- metadata.gz: 59123bc7ccf2af0d260325c7aa1c334069e8f39033e7f4816d026c03b9ff30d3
4
- data.tar.gz: f88b770e168497e9331bfd9eaa47ff3ba0247f4f9d1ef326e7f90f798330e5c1
3
+ metadata.gz: 2d59d147ba4ce20f2134da282eeb61c2d0804c8e5f28d92dec8d66b58822ba04
4
+ data.tar.gz: f12775e9382b040bc22b9b2953254573ebd107cd548fde8d6a81395a3fdd0aba
5
5
  SHA512:
6
- metadata.gz: f4e9e0c695517a81251fc5fafb56a03fcf9b26338b2942131b002a34731178ee4f9249c4ca89b652308c8dd7baf7cf6ec9bd0b299fc48df09004695413813ed0
7
- data.tar.gz: dc18bbb860db8cda14bc863211ead3c64276086c297632beca706dc142e10005a7c4a75e6e8876c3d0781dacd149be1a020530e6759a6caceb91b492ca816490
6
+ metadata.gz: 618c0aff69a52d971c7b4e2c59200be9633b7835e26dfbc01971c1496ae73bf11f98f74012b72a63cc35331604d8dee9029cee5466a01bcfd329bdd21705cf45
7
+ data.tar.gz: 58567157e1ae431d60cbcf62a1bf88cb757e89bd89a1dd996ee442ad05dbb3595da9f8ae469b2273370e92b9f3115fde05019d0e72f178d49b992637eff4e061
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Async::WebSocket
2
2
 
3
- A simple asynchronous websocket client/server implementation.
3
+ A simple asynchronous websocket client/server implementation for [HTTP/1](https://tools.ietf.org/html/rfc6455) and [HTTP/2](https://tools.ietf.org/html/rfc8441).
4
4
 
5
5
  [![Build Status](https://secure.travis-ci.org/socketry/async-websocket.svg)](http://travis-ci.org/socketry/async-websocket)
6
6
  [![Code Climate](https://codeclimate.com/github/socketry/async-websocket.svg)](https://codeclimate.com/github/socketry/async-websocket)
@@ -16,11 +16,11 @@ Gem::Specification.new do |spec|
16
16
  spec.require_paths = ["lib"]
17
17
 
18
18
  spec.add_dependency "async-io", "~> 1.23"
19
- spec.add_dependency "async-http", "~> 0.41"
19
+ spec.add_dependency "async-http", "~> 0.43"
20
20
  spec.add_dependency "protocol-websocket", "~> 0.6.0"
21
21
 
22
22
  spec.add_development_dependency "async-rspec"
23
- spec.add_development_dependency "falcon", "~> 0.30"
23
+ spec.add_development_dependency "falcon", "~> 0.32"
24
24
 
25
25
  spec.add_development_dependency "covered"
26
26
  spec.add_development_dependency "bundler"
@@ -37,7 +37,7 @@ module Async
37
37
  end
38
38
 
39
39
  body = Async::HTTP::Body::Hijack.wrap(request, &block)
40
- super(request.version, 200, nil, headers, body)
40
+ super(request.version, 200, headers, body)
41
41
  end
42
42
  end
43
43
  end
@@ -45,7 +45,7 @@ module Async
45
45
  end
46
46
 
47
47
  body = Async::HTTP::Body::Hijack.wrap(request, &block)
48
- super(request.version, status, nil, headers, body, PROTOCOL)
48
+ super(request.version, status, headers, body, PROTOCOL)
49
49
  end
50
50
  end
51
51
  end
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module WebSocket
23
- VERSION = "0.11.1"
23
+ VERSION = "0.12.0"
24
24
  end
25
25
  end
@@ -32,7 +32,7 @@ RSpec.describe Async::WebSocket::Client do
32
32
  let(:stream) {double}
33
33
 
34
34
  subject {described_class.new(client)}
35
- let(:response) {Protocol::HTTP::Response.new(nil, 101, "Switching Protocols", {}, nil, Protocol::WebSocket::Headers::PROTOCOL)}
35
+ let(:response) {Protocol::HTTP::Response.new(nil, 101, {}, nil, Protocol::WebSocket::Headers::PROTOCOL)}
36
36
 
37
37
  it "sets client request headers" do
38
38
  expect(response).to receive(:stream?).and_return(true)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-websocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-23 00:00:00.000000000 Z
11
+ date: 2019-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async-io
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.41'
33
+ version: '0.43'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.41'
40
+ version: '0.43'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: protocol-websocket
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.30'
75
+ version: '0.32'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.30'
82
+ version: '0.32'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: covered
85
85
  requirement: !ruby/object:Gem::Requirement