uv-rays 2.4.3 → 2.4.4

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
  SHA1:
3
- metadata.gz: 4ac99b3a330ca5bfc8fe016bc54964d44d08d99b
4
- data.tar.gz: 627e6c91f709177583e5b6765818bdc5a26e421a
3
+ metadata.gz: 697d3e089ea35e946216772916f07b44fa7d14db
4
+ data.tar.gz: f7662b1bd605d8784f1504508c375292d5aa0796
5
5
  SHA512:
6
- metadata.gz: bbdece8b735398ad284e1fc0b276499182fe29385c4ddf88006c30556a3559ebad4a5891746878067c48f3662f45614c19f346a1c8a5358414b3b43185bd65bb
7
- data.tar.gz: b52f64f717ee012a47e52b20a4d5936f06ded055fe6f1bc1d6deb70efa52023076d57ddfab6e261af1af89fa615bdc06e2f9ffa414ba8a866bb9868e8b7afa5f
6
+ metadata.gz: 665aa5e0086157cc891eb1bf812f41d8d832562de80155463e22b26286cf26c40b48f48a023a047fdde52bb3d3c77e8e66a0d168ca419970cbb59b94d6f8a988
7
+ data.tar.gz: 2589233ae37fbfb59fe72e3d9436b852aaf874b7f51b2a5436b93c9823425c71900e6ebaf179f544a443cbb84615ca2ca54f2f013b15ac80e45adb5642ceb442
@@ -70,6 +70,7 @@ module UV
70
70
  def resolve(response, parser = nil)
71
71
  if response.status == 401 && @challenge_retries == 0 && response[:"WWW-Authenticate"]
72
72
  challenge = response[:"WWW-Authenticate"]
73
+ challenge = challenge[0] if challenge.is_a?(Array)
73
74
 
74
75
  begin
75
76
  if @ntlm_creds && challenge[0..3] == 'NTLM'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UV
4
- VERSION = '2.4.3'
4
+ VERSION = '2.4.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uv-rays
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.3
4
+ version: 2.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen von Takach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-01 00:00:00.000000000 Z
11
+ date: 2018-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libuv