misty 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/misty/auth.rb +2 -4
- data/lib/misty/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f3a29db8f499a11bf1eff54146d39862457b6f2
|
4
|
+
data.tar.gz: fea65df097fa2543051783ea143c354610a18d51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c65a335c1ca5a485727ecf18cd9001e14011ac564aba4775da9cfabee76a7fbfcab59e4ad5bbab5b0ed03e96a0322a6fc769d831d8b1f62b6fb3b2d43321541
|
7
|
+
data.tar.gz: 70895252f62e836ec5c6f10d474b23aa20ca0fb156522239d2b806558ef1a6b2a32aa9e02e6c5dad3b339c1c6fdd90d2e81779331344dcfe48c00d7322969d4b
|
data/lib/misty/auth.rb
CHANGED
@@ -15,12 +15,10 @@ module Misty
|
|
15
15
|
include Misty::HTTP::NetHTTP
|
16
16
|
|
17
17
|
def self.factory(options, *args)
|
18
|
-
if options[:
|
19
|
-
return Misty::AuthV3.new(options, *args)
|
20
|
-
elsif options[:tenant_id] || options[:tenant]
|
18
|
+
if options[:tenant_id] || options[:tenant]
|
21
19
|
return Misty::AuthV2.new(options, *args)
|
22
20
|
else
|
23
|
-
|
21
|
+
return Misty::AuthV3.new(options, *args)
|
24
22
|
end
|
25
23
|
end
|
26
24
|
|
data/lib/misty/version.rb
CHANGED