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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 589e52b3cc0c67c377e18f2dcc6b072e2fda4e135610a687d9436fe4c6c2d3e7
4
- data.tar.gz: 2e4746e95d8df00acb5e48d4889605a31425b3451ff89d9cf60631de46f64e1d
3
+ metadata.gz: d07073c693441a5791ca40ecf310e7f5d7e8b54da5ba9ae883383b9ef9fb86ce
4
+ data.tar.gz: b0553dddc167558f3017e6617830120cd23088ba9158db8919a940e460e22af4
5
5
  SHA512:
6
- metadata.gz: 71730bb1473a4018af103d928529f4998bbb33e54ff6c9fc40a65ee3de2fede22c9e8d26f56d0b1f97664e6a6f1788cf7d02ae79165c9467cc30b55b426f6c94
7
- data.tar.gz: adcc1cb94686a58119451c44809c8f94a1513e068fce4249a62e71fd6c030759dee5d93fc8e6286d7c8ef244e260b844685ae1b71d6ccc00d48755a09a821246
6
+ metadata.gz: c7703a3b271ff4cd4d5970ab9310735bdb917dc466a9ff99ead42ca1f4d91ed01cc3bd73047ad5938e1eaee7d565190bc0637d8066cd839f92a5a04b40034da3
7
+ data.tar.gz: 98ebfae099a0afb4dcebcf5bd7b6c8ce5df8164a56aadb0fffcd7db4a38b463952e81a7fd8d220b187ade8fb41c956f18a87b80e4d616052c82ee47489ebc1bc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- octopus_auth (0.1.0.rc5)
4
+ octopus_auth (0.1.0.rc6)
5
5
  activerecord (>= 3.0.0)
6
6
 
7
7
  GEM
@@ -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
@@ -1,3 +1,3 @@
1
1
  module OctopusAuth
2
- VERSION = "0.1.0.rc5"
2
+ VERSION = "0.1.0.rc6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopus_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.rc5
4
+ version: 0.1.0.rc6
5
5
  platform: ruby
6
6
  authors:
7
7
  - TINYpulse Devops