httpx 0.19.0 → 0.19.1

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: 1d2af1a18388c76620d8a5b28e0f1d2dd90a4d2d0ee2c514be85ea7ba1b05c45
4
- data.tar.gz: ca44331c601c46d51813cd5ccab8b258e94cf517913e26b78716885234e6cf86
3
+ metadata.gz: 56e51d7951de9e5964eb1106d8829504e1d0fbac2ca7906b64f6139467159403
4
+ data.tar.gz: 6b7726c50101f8356cf04628ee9ff32cbd6babd3bf98f426d768ae52d835f4a0
5
5
  SHA512:
6
- metadata.gz: eac8b6a85fdd44dda2bcaf000cc7dc5dfa19b075165b52fa709dd8b575e9b4a919293e724242d2449794b74e28cf34c00687c6f99e23baee563c45626429b3c7
7
- data.tar.gz: 564f2e8f6d580070eaffa3cda012f0efb032948ce4851b96f947cd5a004d1e8fde9496f29031b341709ccc44040ea3473304697e5d5c7c659b7c2cd286702b78
6
+ metadata.gz: d29f216b4176e5085d7495d3ac015eb4b9f7e76f4dd064ae1f822890cc44d1718ec14fe9a3935515af6c7882762ebd875a0e15983d5707a2c9f68d069bfd084c
7
+ data.tar.gz: 30537730f11c0bfffd43882abd430c8a006a2a863b7ef247286f085440781d1b44e048d031df2c3af95fffc9d5ce04fcaad6bd0d05d039fc77023a0dc95a7508
data/README.md CHANGED
@@ -140,11 +140,15 @@ In order to use HTTP/2 under JRuby, [check this link](https://gitlab.com/honeyry
140
140
  * Doesn't work with ruby 2.4.0 for Windows (see [#36](https://gitlab.com/honeyryderchuck/httpx/issues/36)).
141
141
  * Using `total_timeout` along with the `:persistent` plugin [does not work as you might expect](https://gitlab.com/honeyryderchuck/httpx/-/wikis/Timeouts#total_timeout).
142
142
 
143
+ ## Versioning Policy
144
+
145
+ Although 0.x software, `httpx` is considered API-stable and production-ready, i.e. current API or options may be subject to deprecation and emit log warnings, but can only effectively be removed in a major version change.
146
+
143
147
  ## Contributing
144
148
 
145
149
  * Discuss your contribution in an issue
146
150
  * Fork it
147
151
  * Make your changes, add some tests
148
- * Ensure all tests pass (`bundle exec rake test`)
152
+ * Ensure all tests pass (`docker-compose -f docker-compose.yml -f docker-compose-ruby-{RUBY_VERSION}.yml run httpx bundle exec rake test`)
149
153
  * Open a Merge Request (that's Pull Request in Github-ish)
150
154
  * Wait for feedback
@@ -0,0 +1,5 @@
1
+ # 0.19.1
2
+
3
+ ## Bugfixes
4
+
5
+ Fixing a DNS dual-stack case where one the resolvers may have finished way before the previous one and will therefore return no timeout.
@@ -30,7 +30,7 @@ module HTTPX
30
30
  end
31
31
 
32
32
  def timeout
33
- @resolvers.map(&:timeout).min
33
+ @resolvers.filter_map(&:timeout).min
34
34
  end
35
35
 
36
36
  def close
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.19.0"
4
+ VERSION = "0.19.1"
5
5
  end
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.19.0
4
+ version: 0.19.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: 2022-02-02 00:00:00.000000000 Z
11
+ date: 2022-02-11 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_18_6.md
72
72
  - doc/release_notes/0_18_7.md
73
73
  - doc/release_notes/0_19_0.md
74
+ - doc/release_notes/0_19_1.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
@@ -135,6 +136,7 @@ files:
135
136
  - doc/release_notes/0_18_6.md
136
137
  - doc/release_notes/0_18_7.md
137
138
  - doc/release_notes/0_19_0.md
139
+ - doc/release_notes/0_19_1.md
138
140
  - doc/release_notes/0_1_0.md
139
141
  - doc/release_notes/0_2_0.md
140
142
  - doc/release_notes/0_2_1.md
@@ -335,7 +337,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
335
337
  - !ruby/object:Gem::Version
336
338
  version: '0'
337
339
  requirements: []
338
- rubygems_version: 3.3.3
340
+ rubygems_version: 3.2.32
339
341
  signing_key:
340
342
  specification_version: 4
341
343
  summary: HTTPX, to the future, and beyond