async-http 0.46.3 → 0.46.4

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: 1ba8a8a466d5347cf27a55b523dfa0b8faec5dbd88f0ddbd977c053333762bb9
4
- data.tar.gz: 2675f68f80ee0ec638d5922de49710291208eb610f202b37595b5cc64a382465
3
+ metadata.gz: 0a113b8685408552c9b24fd5abbb0d9ba844c91105b1c6e1f96e4a516c8223ac
4
+ data.tar.gz: bbf73351618744ce86a1dc7bf1ea884c8221dd483b13ad111d9a5e79ab5cf8a9
5
5
  SHA512:
6
- metadata.gz: 627f99a4575491bf2141851f4873735ae4a4df76f50c54500e790df5a8f0b939b4e43c78088d148b43d2ea63be26f9941f6bdbe3be37175d0452ffdb4dcd40a4
7
- data.tar.gz: 0be194518b6c9470037f0a1443fbd93669da82afb99392cd7e016c277f5c91f8cbecd3a24502b54f3d5f6b14a4bb13e1c16297a3087959e965d5b3621befcbed
6
+ metadata.gz: a508faf1a1431687767c3256c9b740e7c7baa5b009bb7cfd7c887c79a324f06d6bfce4ce2809af82419a42d38f8ed4a5b840f2363620bb276d65885ac85f37da
7
+ data.tar.gz: 696a1dcabdbb82549f5efa24ab2795f3086f677ef325ae7f5c25c59f14e41888baaccc8d62a1b5b8fef6a9e08441744b89828041a1ab0eeffb2043d875b472cf
@@ -13,6 +13,7 @@ addons:
13
13
 
14
14
  matrix:
15
15
  include:
16
+ - rvm: 2.3
16
17
  - rvm: 2.4
17
18
  - rvm: 2.5
18
19
  - rvm: 2.6
@@ -17,9 +17,9 @@ Gem::Specification.new do |spec|
17
17
  spec.require_paths = ["lib"]
18
18
 
19
19
  spec.add_dependency("async", "~> 1.19")
20
- spec.add_dependency("async-io", "~> 1.18")
20
+ spec.add_dependency("async-io", "~> 1.24")
21
21
 
22
- spec.add_dependency("protocol-http", "~> 0.8.0")
22
+ spec.add_dependency("protocol-http", "~> 0.10.0")
23
23
  spec.add_dependency("protocol-http1", "~> 0.8.0")
24
24
  spec.add_dependency("protocol-http2", "~> 0.9.0")
25
25
 
@@ -28,6 +28,8 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency "async-rspec", "~> 1.10"
29
29
  spec.add_development_dependency "async-container", "~> 0.14"
30
30
 
31
+ spec.add_development_dependency "rack-test"
32
+
31
33
  spec.add_development_dependency "covered"
32
34
  spec.add_development_dependency "bundler"
33
35
  spec.add_development_dependency "rspec", "~> 3.6"
@@ -29,6 +29,8 @@ module Async
29
29
  @input = input
30
30
  @output = output
31
31
 
32
+ raise ArgumentError, "Non-writable output!" unless output.respond_to?(:write)
33
+
32
34
  # Will hold remaining data in `#read`.
33
35
  @buffer = nil
34
36
  @closed = false
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module HTTP
23
- VERSION = "0.46.3"
23
+ VERSION = "0.46.4"
24
24
  end
25
25
  end
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.46.3
4
+ version: 0.46.4
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-07-01 00:00:00.000000000 Z
11
+ date: 2019-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.18'
33
+ version: '1.24'
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: '1.18'
40
+ version: '1.24'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: protocol-http
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.8.0
47
+ version: 0.10.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.8.0
54
+ version: 0.10.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: protocol-http1
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.14'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rack-test
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: covered
113
127
  requirement: !ruby/object:Gem::Requirement