octopus_auth 0.1.0.rc5 → 0.1.0.rc6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/octopus_auth/queries/get.rb +4 -1
- data/lib/octopus_auth/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d07073c693441a5791ca40ecf310e7f5d7e8b54da5ba9ae883383b9ef9fb86ce
|
4
|
+
data.tar.gz: b0553dddc167558f3017e6617830120cd23088ba9158db8919a940e460e22af4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7703a3b271ff4cd4d5970ab9310735bdb917dc466a9ff99ead42ca1f4d91ed01cc3bd73047ad5938e1eaee7d565190bc0637d8066cd839f92a5a04b40034da3
|
7
|
+
data.tar.gz: 98ebfae099a0afb4dcebcf5bd7b6c8ce5df8164a56aadb0fffcd7db4a38b463952e81a7fd8d220b187ade8fb41c956f18a87b80e4d616052c82ee47489ebc1bc
|
data/Gemfile.lock
CHANGED
@@ -8,7 +8,10 @@ module OctopusAuth
|
|
8
8
|
def execute
|
9
9
|
return nil if @token.nil?
|
10
10
|
|
11
|
-
OctopusAuth.configuration.model_class.where(token: @token).first
|
11
|
+
access_token = OctopusAuth.configuration.model_class.where(token: @token).first
|
12
|
+
return nil if access_token.nil?
|
13
|
+
|
14
|
+
OctopusAuth::Decorators::Default.new(access_token)
|
12
15
|
end
|
13
16
|
end
|
14
17
|
end
|
data/lib/octopus_auth/version.rb
CHANGED