nethttputils 0.3.2.5 → 0.3.2.6
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 +2 -2
- data/nethttputils.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba824c7599a1d7d935dfd5c9bcc01c991201211e
|
4
|
+
data.tar.gz: f6a5d7a00cc2a7f167562721b43ffa5df8ad0130
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e973a3584da011dc3ef82c376d72dee3b665fae76660efd6c4e0bb7c9133b3aa146083ed96f9df81492134b98893e32fed797728dac0ac0e222d456573aabc2c
|
7
|
+
data.tar.gz: b4faeeaf94da3a2c7bc614a16682aa7f8cf17c5ba1eb20eecf31f3d588d03d43eaaaf90dc9ef73dc089807a67a5572d97139efaf430f1289171ad6a80bdc3811
|
data/lib/nethttputils.rb
CHANGED
@@ -273,6 +273,8 @@ module NetHTTPUtils
|
|
273
273
|
end
|
274
274
|
public
|
275
275
|
|
276
|
+
require "set"
|
277
|
+
@@_405 ||= Set.new
|
276
278
|
def request_data http, mtd = :GET, type = :form, form: {}, header: {}, auth: nil, timeout: 30,
|
277
279
|
max_start_http_retry_delay: 3600,
|
278
280
|
max_read_retry_delay: 3600,
|
@@ -294,8 +296,6 @@ module NetHTTPUtils
|
|
294
296
|
)
|
295
297
|
end
|
296
298
|
end
|
297
|
-
require "set"
|
298
|
-
@@_405 ||= Set.new
|
299
299
|
if mtd == :GET && !@@_405.include?(http.address)
|
300
300
|
body = begin
|
301
301
|
request_data http, :HEAD, form: form, header: header, auth: auth,
|
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.6"
|
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.6
|
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-02-
|
11
|
+
date: 2019-02-24 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 --
|