httpx 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/release_notes/0_11_1.md +1 -0
- data/lib/httpx/io/udp.rb +3 -2
- data/lib/httpx/plugins/compression.rb +1 -1
- data/lib/httpx/version.rb +1 -1
- metadata +28 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b21be17b0c6a6d3e2f60a97582b88f33dc1f62e09e5555cabfc2d6bea1f06a7
|
4
|
+
data.tar.gz: e0ca927150864a80a8050cc9fbc2c23e58b55452b536ce4301eceecebf1c6d37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1493d50a5b49dd7c83f48078d582f874cc204d3e5df3442d7ea8308b31e6fd011e30cc3fdc5f1825d0daebd270c22af387700ab8f6d2fb9183d2e1fb63bd7265
|
7
|
+
data.tar.gz: ac48ea08cacc65a4948fea8a2abdd50fe7d7fd30c6260400cd61197ea7e6e8d87de2b4750ca1452f242569bbf6dc304c14865f809e7871a4f55d33e7e5543c03
|
@@ -0,0 +1 @@
|
|
1
|
+
0_11_1.md
|
data/lib/httpx/io/udp.rb
CHANGED
@@ -40,14 +40,15 @@ module HTTPX
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def write(buffer)
|
43
|
-
siz = @io.send(buffer, 0, @host, @port)
|
43
|
+
siz = @io.send(buffer.to_s, 0, @host, @port)
|
44
44
|
log { "WRITE: #{siz} bytes..." }
|
45
45
|
buffer.shift!(siz)
|
46
46
|
siz
|
47
47
|
end
|
48
48
|
|
49
49
|
# :nocov:
|
50
|
-
if
|
50
|
+
if (RUBY_ENGINE == "truffleruby" && RUBY_ENGINE_VERSION < "21.1.0") ||
|
51
|
+
RUBY_VERSION < "2.3"
|
51
52
|
def read(size, buffer)
|
52
53
|
data, _ = @io.recvfrom_nonblock(size)
|
53
54
|
buffer.replace(data)
|
data/lib/httpx/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: httpx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tiago Cardoso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http-2-next
|
@@ -47,36 +47,37 @@ extra_rdoc_files:
|
|
47
47
|
- LICENSE.txt
|
48
48
|
- README.md
|
49
49
|
- doc/release_notes/0_0_1.md
|
50
|
-
- doc/release_notes/
|
51
|
-
- doc/release_notes/
|
50
|
+
- doc/release_notes/0_0_2.md
|
51
|
+
- doc/release_notes/0_0_3.md
|
52
52
|
- doc/release_notes/0_0_4.md
|
53
|
-
- doc/release_notes/
|
54
|
-
- doc/release_notes/
|
55
|
-
- doc/release_notes/0_7_0.md
|
56
|
-
- doc/release_notes/0_6_0.md
|
57
|
-
- doc/release_notes/0_10_2.md
|
58
|
-
- doc/release_notes/0_8_2.md
|
59
|
-
- doc/release_notes/0_6_4.md
|
60
|
-
- doc/release_notes/0_9_0.md
|
61
|
-
- doc/release_notes/0_6_3.md
|
53
|
+
- doc/release_notes/0_0_5.md
|
54
|
+
- doc/release_notes/0_10_0.md
|
62
55
|
- doc/release_notes/0_10_1.md
|
56
|
+
- doc/release_notes/0_10_2.md
|
63
57
|
- doc/release_notes/0_11_0.md
|
64
|
-
- doc/release_notes/
|
65
|
-
- doc/release_notes/
|
66
|
-
- doc/release_notes/
|
58
|
+
- doc/release_notes/0_11_1.md
|
59
|
+
- doc/release_notes/0_1_0.md
|
60
|
+
- doc/release_notes/0_2_0.md
|
61
|
+
- doc/release_notes/0_2_1.md
|
62
|
+
- doc/release_notes/0_3_0.md
|
63
|
+
- doc/release_notes/0_3_1.md
|
64
|
+
- doc/release_notes/0_4_0.md
|
67
65
|
- doc/release_notes/0_4_1.md
|
66
|
+
- doc/release_notes/0_5_0.md
|
68
67
|
- doc/release_notes/0_5_1.md
|
69
|
-
- doc/release_notes/
|
70
|
-
- doc/release_notes/
|
68
|
+
- doc/release_notes/0_6_0.md
|
69
|
+
- doc/release_notes/0_6_1.md
|
71
70
|
- doc/release_notes/0_6_2.md
|
72
|
-
- doc/release_notes/
|
71
|
+
- doc/release_notes/0_6_3.md
|
72
|
+
- doc/release_notes/0_6_4.md
|
73
|
+
- doc/release_notes/0_6_5.md
|
74
|
+
- doc/release_notes/0_6_6.md
|
75
|
+
- doc/release_notes/0_6_7.md
|
76
|
+
- doc/release_notes/0_7_0.md
|
73
77
|
- doc/release_notes/0_8_0.md
|
74
|
-
- doc/release_notes/
|
75
|
-
- doc/release_notes/
|
76
|
-
- doc/release_notes/
|
77
|
-
- doc/release_notes/0_0_2.md
|
78
|
-
- doc/release_notes/0_3_1.md
|
79
|
-
- doc/release_notes/0_2_0.md
|
78
|
+
- doc/release_notes/0_8_1.md
|
79
|
+
- doc/release_notes/0_8_2.md
|
80
|
+
- doc/release_notes/0_9_0.md
|
80
81
|
files:
|
81
82
|
- LICENSE.txt
|
82
83
|
- README.md
|
@@ -89,6 +90,7 @@ files:
|
|
89
90
|
- doc/release_notes/0_10_1.md
|
90
91
|
- doc/release_notes/0_10_2.md
|
91
92
|
- doc/release_notes/0_11_0.md
|
93
|
+
- doc/release_notes/0_11_1.md
|
92
94
|
- doc/release_notes/0_1_0.md
|
93
95
|
- doc/release_notes/0_2_0.md
|
94
96
|
- doc/release_notes/0_2_1.md
|
@@ -258,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
258
260
|
- !ruby/object:Gem::Version
|
259
261
|
version: '0'
|
260
262
|
requirements: []
|
261
|
-
rubygems_version: 3.
|
263
|
+
rubygems_version: 3.2.3
|
262
264
|
signing_key:
|
263
265
|
specification_version: 4
|
264
266
|
summary: HTTPX, to the future, and beyond
|