nethttputils 0.3.2.2 → 0.3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec41b21545731116bc0725bf44119fef0426b335
4
- data.tar.gz: 2d1d9a34358628a0710f57ebdb49d2680ba17333
3
+ metadata.gz: 52cb3586cf1e8edfff5a39bfc518dcf103763d51
4
+ data.tar.gz: 7e5dc6573a3bef30c8bbf8f6276ef9b95492156f
5
5
  SHA512:
6
- metadata.gz: 6d41944dc91ce2825d8b8095091f94792e4c1760f554ae5914320fa545063311a221222261aee19f85a5f34c97a16dec1176e034a5bff3753a061b0554d6b0a2
7
- data.tar.gz: 884d389aebd0be39b04c9dd811276d5d3e3c8410c3e21e32d971ce99dc9fcb7935cb91a5f9cc85874cf0d4d9606797b3b2ea72a5caa34114cf2b0bf2a2ead125
6
+ metadata.gz: c248f4e9bc55c5080c1073b52ed75ccfbeef7b5261b21316e2e6a3f4b6d743cdab14807906c0f553227581b6b9cb225c1fae07df4723404eb7346bfe1f2bde93
7
+ data.tar.gz: f741a5256f92133596a5ffee7c361f59188825995f871f4a20b290147071a70466d5833e63b3c150f9f77385361713404a19bfd8170bcb833dfb37f7b56455f1
data/lib/nethttputils.rb CHANGED
@@ -297,7 +297,7 @@ 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, header: header, auth: auth,
300
+ body = request_data http, :HEAD, form: form, header: header, auth: auth,
301
301
  max_start_http_retry_delay: max_start_http_retry_delay,
302
302
  max_read_retry_delay: max_read_retry_delay
303
303
  if "405" == body.instance_variable_get(:@last_response).code
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.2"
3
+ spec.version = "0.3.2.3"
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nethttputils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2.2
4
+ version: 0.3.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Maslov aka Nakilon