doorkeeper_hub 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/doorkeeper_hub/configurator.rb +2 -2
- data/lib/doorkeeper_hub/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: aedd952f767c1e040c03ffab995541b89f1d7bef911c840aad578387d4d741c0
|
4
|
+
data.tar.gz: 411e8e4817d33063471736070acdfa85995c5046df56eb61fcd78b90eb16db0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4daab54d352c7dd8c43cd2718452e78719d29d62286b28cca4d7960272392404ed1fdecda768f7768c41e17d56d72ae66e86822056777b40a75ef31cf1fb01c7
|
7
|
+
data.tar.gz: d0c2e01cdf74c88913b1c4864741decb2991b0a4d02782d39f7673f90a3cc51e0e4c837593f893f418b83c594a0c2b1853e98f119f7343b524bcaff12f768646
|
@@ -8,10 +8,10 @@ module DoorkeeperHub
|
|
8
8
|
|
9
9
|
def initialize
|
10
10
|
self.service_token = ENV["SERVICE_TOKEN"]
|
11
|
-
self.user_model =
|
11
|
+
self.user_model = ::User rescue nil
|
12
|
+
self.scope_model = ::Company rescue nil
|
12
13
|
self.doorkeeper_token_name = :doorkeeper_token
|
13
14
|
self.client_mode = false
|
14
|
-
self.scope_model = Object.const_defined?(Company) ? ::Company : nil
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|