tramway-api 0.6.1.3 → 0.6.1.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f4ee421b6226fde2a273d9480bb4e81e7840b720dd7ff86a66a2895c298c621
|
4
|
+
data.tar.gz: 5eccc69cd12ab444285c81ac34b754147ad6eceb96cc3d31af6208c670018025
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc94ad91d04b9e707ef33940f91272ca4fda695addbfd6ea0bc678d8a9c7b3c73a3319ee1dac1dec3c4e0f95d3b5875a396e4c304ea72624622762bb82a5c737
|
7
|
+
data.tar.gz: 8860799234a30261d62ac4e25d24fc47278dad5bcadd8d9d3e12aec99529abb6669886e4784aac8ddd803ceec05cfbf81aede94dcc6b1b96ee6f1f4deb924907
|
@@ -17,12 +17,8 @@ module Tramway
|
|
17
17
|
|
18
18
|
protected
|
19
19
|
|
20
|
-
def authenticate_user
|
21
|
-
authenticate_for Tramway::Api.user_based_model
|
22
|
-
end
|
23
|
-
|
24
20
|
def authenticate
|
25
|
-
unauthorized unless
|
21
|
+
return unauthorized unless current_user
|
26
22
|
end
|
27
23
|
|
28
24
|
def auth_token
|
data/lib/tramway/api/version.rb
CHANGED