nethttputils 0.3.2.0 → 0.3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nethttputils.rb +3 -1
- data/nethttputils.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be5755b14b4796da9b7dcf94680280a6fc9b4a0ade93a3d28e2220790f777943
|
4
|
+
data.tar.gz: a5aeb671b813d2dd6ec7c1a835a228ce60bdc8f82a1ae42473fc3c11a626cfc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 292acc0a8a6caa59aba16fe703ccbceeebf872e6f7bbe6ce4aaa0a04e7b89565442ccd372d3745fc7309071ed66fdc93bb884217f30796963cdd2019e43f11db
|
7
|
+
data.tar.gz: '08f624ffd64a57f9e46f8883e3bca9856f5bf44bee3868892fa555beae265c5b8d4b781bb6377da94997b6237a1969daf22a515dbe73e06eeda6244d33ef710e'
|
data/lib/nethttputils.rb
CHANGED
@@ -297,7 +297,9 @@ module NetHTTPUtils
|
|
297
297
|
require "set"
|
298
298
|
@@_405 ||= Set.new
|
299
299
|
if mtd == :GET && !@@_405.include?(http.address)
|
300
|
-
body = request_data http, :HEAD,
|
300
|
+
body = request_data http, :HEAD, auth: auth,
|
301
|
+
max_start_http_retry_delay: max_start_http_retry_delay,
|
302
|
+
max_read_retry_delay: max_read_retry_delay
|
301
303
|
if "405" == body.instance_variable_get(:@last_response).code
|
302
304
|
@@_405.add http.address
|
303
305
|
else
|
data/nethttputils.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "nethttputils"
|
3
|
-
spec.version = "0.3.2.
|
3
|
+
spec.version = "0.3.2.1"
|
4
4
|
spec.summary = "this tool is like a pet that I adopted young and now I depend on, sorry"
|
5
5
|
spec.description = <<-EOF
|
6
6
|
Back in 2015 I was a guy automating things at my job and two scripts had a common need --
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nethttputils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.2.
|
4
|
+
version: 0.3.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Maslov aka Nakilon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
Back in 2015 I was a guy automating things at my job and two scripts had a common need --
|