doorkeeper_hub 0.2.2 → 0.2.3
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 +1 -1
- 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: 4a92b9ce77e76eac7bddd6ea5c63bb69ffbc0d40b88b905d4e9a74e57262bb6f
|
4
|
+
data.tar.gz: 3c7abbc39aa7ec5dec30c2ed8be3b1f826e40c392aebe2ff56c3353339a042f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a98f407ed67af04967e5797f55f0f9439d7788f5017422c626a6d2bf1676ade3f00f1f78a355787be3caf75042823513e434ac2faa38222d1dbd73d5ed05a366
|
7
|
+
data.tar.gz: d561b05c729377e55b2abaa0a7b4b7489bfe1e8e5039f589a8b8faf7be272912e1cf84eb5ee0e88f006a4f873dd87322c8cb25b0ca6f2443e1470b61f3146094
|
@@ -8,7 +8,7 @@ module DoorkeeperHub
|
|
8
8
|
|
9
9
|
def initialize
|
10
10
|
self.service_token = ENV["SERVICE_TOKEN"]
|
11
|
-
self.user_model = ::User
|
11
|
+
self.user_model = Object.const_defined?(User) ? ::User : nil
|
12
12
|
self.doorkeeper_token_name = :doorkeeper_token
|
13
13
|
self.client_mode = false
|
14
14
|
self.scope_model = Object.const_defined?(Company) ? ::Company : nil
|