httpx 0.15.2 → 0.15.3

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: 63059d2ae3e913d077850d4a95fc5aa4a9f0691aa92834ddf6898d38b8ec0913
4
- data.tar.gz: a9f689d038c7ee258ce2a2dd68d56fd21104be96b8f12c20a240cd024eea6576
3
+ metadata.gz: e35dd08edd7da2735fbcab65f0cab8c7c41314946e64b02780b6afd17faa5622
4
+ data.tar.gz: 1b34789ecb769043120c5c524657f2e747c91385c32064eed732a25106d2fa81
5
5
  SHA512:
6
- metadata.gz: 940075fbe22ed29a3a0b5a6a85f69ef25bab2dac876eed6779b840b761dd8c7cff09a43f861fd2e39a42b82652d01bcf4aa0384afc1d4d253b9eb82d4f2adb21
7
- data.tar.gz: 8efa63c8c6c7c5c8869e507e64932167082f27c85d2c3bd026a9bc29d8c052d8e26612e35c06f046b2c9b5c8b6dd102d20a29d7ef67a7babc4c0ad0f990f471b
6
+ metadata.gz: b313d4468410befb74da77551484b116389fa785c643c935756f949d16077773d6a4ffe1b99ed20c6263e94385a2a4a40f82e3ec029db830d21b8c4ea03b847b
7
+ data.tar.gz: 69955f7aa53181fc0a5b08dd9a5c909f5f526b45856dbc26991a65719a2916c1372264a89461d1aea91192a020bbffd9abac5d644194b9e4fc6f9c29d7837ef2
@@ -0,0 +1,5 @@
1
+ # 0.15.3
2
+
3
+ ## Bugfixes
4
+
5
+ * Fixed connection management, where selectables could end up with "arrays of IO objects" as elements, instead of just IO objects. This caused bugs when connecting and performing concurrent requests on multiple hosts (#138).
@@ -77,7 +77,7 @@ class HTTPX::Selector
77
77
 
78
78
  break
79
79
  else
80
- @selectables = [*selectables, @selectables]
80
+ @selectables.concat(selectables)
81
81
  end
82
82
  rescue StandardError
83
83
  @selectables = selectables if selectables
data/lib/httpx/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HTTPX
4
- VERSION = "0.15.2"
4
+ VERSION = "0.15.3"
5
5
  end
data/sig/selector.rbs CHANGED
@@ -2,6 +2,7 @@ module HTTPX
2
2
  class Selector
3
3
  READABLE: :r | :rw
4
4
  WRITABLE: :w | :rw
5
+ @selectables: Array[_ToIO]
5
6
 
6
7
  def register: (_ToIO) -> void
7
8
  def deregister: (_ToIO) -> void
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.15.2
4
+ version: 0.15.3
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-07-01 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http-2-next
@@ -71,6 +71,7 @@ extra_rdoc_files:
71
71
  - doc/release_notes/0_15_0.md
72
72
  - doc/release_notes/0_15_1.md
73
73
  - doc/release_notes/0_15_2.md
74
+ - doc/release_notes/0_15_3.md
74
75
  - doc/release_notes/0_1_0.md
75
76
  - doc/release_notes/0_2_0.md
76
77
  - doc/release_notes/0_2_1.md
@@ -121,6 +122,7 @@ files:
121
122
  - doc/release_notes/0_15_0.md
122
123
  - doc/release_notes/0_15_1.md
123
124
  - doc/release_notes/0_15_2.md
125
+ - doc/release_notes/0_15_3.md
124
126
  - doc/release_notes/0_1_0.md
125
127
  - doc/release_notes/0_2_0.md
126
128
  - doc/release_notes/0_2_1.md