dangerous_open_uri 1.0.0 → 1.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9137ba4f3ffbefddcd869158b94816c8ba676f9f
4
- data.tar.gz: 82653185b60def36f581e93cf7ae5a683363e80f
3
+ metadata.gz: 55d6a0a2ef4c8959b3e1df3366fd8354b924119e
4
+ data.tar.gz: 77d4e14de2d2467bd2ee883544894f970b200c30
5
5
  SHA512:
6
- metadata.gz: faf8f1a6966350edab3ac86b012322303bca60cbf41674ae9ffaf50af8778a322a3a7f14b2ddcb2a0c49c943d7102b3c307354e33c8d231a7d12562eee366dfc
7
- data.tar.gz: 0da740291715387489ba309caddb98328a8e0b962c652c12da76143b9db4f87c168bf4d8a46c58bbcb8f63d29cef4e42eff6b9bf7c2364245f005cf3109a0439
6
+ metadata.gz: cc1f3c388f2fa84e241514b86c892e5089d94e5c1149c441bae58c570f8fb291ca170cb941043407b7b942115fb9d9a7e8bff95037d7fe3774b2781ebab5550e
7
+ data.tar.gz: bd0b86b39218709f98f10d2fa2e8dc3bb3c10a389d0afd9dddbc11bbeb4e2a41067e3f4618c15ea4848e0609a3d57ddf8b98229ed02765b91e27ff85b6ec46bc
@@ -1,3 +1,3 @@
1
1
  module DangerousOpenUri
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -8,8 +8,7 @@ OpenURI.module_eval do
8
8
  if target.userinfo
9
9
  userinfo = target.userinfo
10
10
  user, pass = userinfo.to_s.split(':', -1)
11
- options[:http_basic_authentication] = user
12
- options[:http_basic_authentication] = pass
11
+ options[:http_basic_authentication] = [user, pass]
13
12
  target.userinfo = ""
14
13
  end
15
14
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dangerous_open_uri
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - mgi166