ezclient 0.13.0 → 0.13.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: 7894472c0e1703cc7917dec4725830f0ec9f39cdde75b10e8e62131f1cc72376
4
- data.tar.gz: c1ff86649d20f2b7f3787083bdfcd10b3817086c74ff876c7b2b8ccca2759a00
3
+ metadata.gz: a19d6cd7219ac3006479a01ef7a954f22e9f9abd1226985ebca38e7a3ead6a89
4
+ data.tar.gz: 244dc29f8383c7ed3f1e549fc83558fc6484b3ad106cc66a7ee46eac8ebac6a1
5
5
  SHA512:
6
- metadata.gz: 807d13903a58fc3d39f95ca8b620cd5a578934d8925c09484f89779d283d18733d5b683955c30b6a9c95de6ee18cbef1d099c30fdb4ee7298dbd4d644e7e8cd9
7
- data.tar.gz: d49b93cc0bf2d93febb1bbed745e332431e709500858565be75bcaec7a608f1b9c36371bff3a5092801659ecb4713f7cd8164935f765056ef429de0b8b6d23d6
6
+ metadata.gz: 7c8d6f6ae94aadfd0c52dda863eb65812d948a6affd15e29ddfcd2a2b615ea5fa2bf76939a2625bc5ba6e9548d32df43de1abc2c4478296e2b39413e848d04c7
7
+ data.tar.gz: b8332041082a5cd8c480c7dbfeaa56317136f878116604509b2b783b85797e2520b6ddb35bc66294cdabf280be770fedabd1a0b3e05e7d9857d8f10ddb143c30
data/README.md CHANGED
@@ -29,7 +29,7 @@ response = client.perform!(:get, url, request_options) # => EzClient::Response o
29
29
  ```
30
30
 
31
31
  Valid client options are:
32
- - `api_auth` – arguments for `ApiAuth.sign!`
32
+ - `api_auth` – arguments for `ApiAuth.sign!` (see https://github.com/mgomes/api_auth)
33
33
  - `basic_auth` – arguments for basic authentication (either a hash with `:user` and `:pass` keys or a two-element array)
34
34
  - `headers` – a hash of headers for requests
35
35
  - `keep_alive` – timeout for persistent connection in seconds
@@ -155,7 +155,7 @@ class EzClient::Request
155
155
  timeout_args =
156
156
  # for HTTP v3
157
157
  if HTTP::Timeout::Global.ancestors.include?(HTTP::Timeout::PerOperation)
158
- [:global, read: timeout]
158
+ [:global, read: timeout, write: 0, connect: 0]
159
159
  else
160
160
  [timeout]
161
161
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EzClient
4
- VERSION = "0.13.0"
4
+ VERSION = "0.13.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ezclient
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuri Smirnov