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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbd1ca6e3281c7f96be6d420512c69b4de18f5c42d06f2ac7b7641ed03a1b27e
4
- data.tar.gz: 22dae6fd0d8304246db829fe7408b496047514731775169f3899aebbba2cbbf3
3
+ metadata.gz: be5755b14b4796da9b7dcf94680280a6fc9b4a0ade93a3d28e2220790f777943
4
+ data.tar.gz: a5aeb671b813d2dd6ec7c1a835a228ce60bdc8f82a1ae42473fc3c11a626cfc4
5
5
  SHA512:
6
- metadata.gz: a2a4f3d7378a86797bdb1aa0bac71c1c5a37953f1e95d79c9f4e29bcc1900b33eb078fea2d38d1b9bbb1937d947832e4c7c73220f1ebdd3d0b6a6dc152f6e90c
7
- data.tar.gz: 3d090b3ffd767e60a692427db61c39276587bbe15c117623e212340866321bfa6d58bcc17227b47dfc60504c1ec57317020bedc8e4d7495cc779968876a4d302
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, max_start_http_retry_delay: max_start_http_retry_delay, max_read_retry_delay: max_read_retry_delay
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.0"
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.0
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 00:00:00.000000000 Z
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 --