async-http 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -12
- data/Rakefile +2 -1
- data/async-http.gemspec +1 -1
- data/lib/async/http/server.rb +1 -1
- data/lib/async/http/url_endpoint.rb +3 -0
- data/lib/async/http/version.rb +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52cf6dc85fcbfa045a17959e27ba77d8cc3ebeb211074598501ebfeb560f3ac6
|
4
|
+
data.tar.gz: 34a8c1a0bfa896da593b901cc31eb80002d74e3d4422440f6ad24073156b009c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 630b0308b56222426254806595c485f1fbe75b98f2e5a7b85c2d889176e28e04068054672e1b74a302680b15a972d1b3d46a002d03da10a66af5a937e5f63dcd
|
7
|
+
data.tar.gz: 17fe537532ce17b0e3103f1f645dd8c900a42aad8d1bffcca0a8da5fc4476debb924eb5319fc19a50e7ee6b2db5f0517eda3cab6b79ef94bedcedc9d529a1509
|
data/.travis.yml
CHANGED
@@ -1,24 +1,16 @@
|
|
1
1
|
language: ruby
|
2
2
|
sudo: required
|
3
|
-
dist:
|
3
|
+
dist: xenial
|
4
4
|
cache: bundler
|
5
5
|
|
6
6
|
addons:
|
7
7
|
apt:
|
8
8
|
packages:
|
9
|
-
|
9
|
+
- wrk
|
10
10
|
- apache2-utils
|
11
11
|
|
12
|
-
|
13
|
-
- echo "deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe" | sudo tee -a /etc/apt/sources.list
|
14
|
-
- sudo apt-get update -qq
|
15
|
-
- sudo apt-get install openssl libssl-dev wrk
|
16
|
-
# Rebuild Ruby using the updated OpenSSL libraries which allows 2.5 to pass.
|
17
|
-
# - rvm reinstall --disable-binary `rvm current`
|
18
|
-
# Fix a bug with Ruby 2.5: LoadError: cannot load such file -- bundler/dep_proxy
|
12
|
+
before_script:
|
19
13
|
- gem update --system
|
20
|
-
# This works for Ruby 2.3 and 2.4 but not 2.5 which doesn't seem to use the local gem.
|
21
|
-
- gem install openssl
|
22
14
|
|
23
15
|
matrix:
|
24
16
|
include:
|
@@ -30,7 +22,6 @@ matrix:
|
|
30
22
|
- rvm: ruby-head
|
31
23
|
- rvm: rbx-3
|
32
24
|
allow_failures:
|
33
|
-
- rvm: 2.5
|
34
25
|
- rvm: ruby-head
|
35
26
|
- rvm: jruby-head
|
36
27
|
- rvm: rbx-3
|
data/Rakefile
CHANGED
@@ -6,6 +6,7 @@ RSpec::Core::RakeTask.new(:test)
|
|
6
6
|
task :default => :test
|
7
7
|
|
8
8
|
require 'async/http/protocol'
|
9
|
+
|
9
10
|
PROTOCOL = Async::HTTP::Protocol::HTTP2
|
10
11
|
|
11
12
|
task :debug do
|
@@ -67,4 +68,4 @@ task :wrk do
|
|
67
68
|
Process.kill(:KILL, pid)
|
68
69
|
Process.wait pid
|
69
70
|
end
|
70
|
-
end
|
71
|
+
end
|
data/async-http.gemspec
CHANGED
data/lib/async/http/server.rb
CHANGED
data/lib/async/http/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.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: 2018-03-
|
11
|
+
date: 2018-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.8'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: openssl
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: async-rspec
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|