exvo-auth 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/exvo-auth.gemspec +1 -1
- data/lib/exvo_auth/strategies/non_interactive.rb +5 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/exvo-auth.gemspec
CHANGED
@@ -19,6 +19,10 @@ class ExvoAuth::Strategies::NonInteractive < ExvoAuth::Strategies::Base
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def fail!(message_key)
|
22
|
-
|
22
|
+
body = MultiJson.encode(:error => "Please sign in!")
|
23
|
+
[401, {
|
24
|
+
"Content-Type" => "application/json",
|
25
|
+
"Content-Length" => body.length.to_s
|
26
|
+
}, [body]]
|
23
27
|
end
|
24
28
|
end
|