stretcher 1.7.0 → 1.7.1

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.
@@ -30,6 +30,11 @@ module Stretcher
30
30
  builder.options[:open_timeout] = 2
31
31
  end
32
32
 
33
+ uri_components = URI.parse(@uri)
34
+ if uri_components.user || uri_components.password
35
+ @http.basic_auth(uri_components.user, uri_components.password)
36
+ end
37
+
33
38
  if options[:logger]
34
39
  @logger = options[:logger]
35
40
  else
@@ -1,3 +1,3 @@
1
1
  module Stretcher
2
- VERSION = "1.7.0"
2
+ VERSION = "1.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stretcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: