doorkeeper_hub 0.2.7 → 0.2.8
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 52694e3304d4ffc56acf298ac514eef0b4141c10aa44e910d878999bf7001d62
|
4
|
+
data.tar.gz: 5e07b7b9a3124a9f31704a1e2eac455269443903406aeee527a81ce7bd0324af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b95f79c789d203678d8c42fe9f319549535f2b0bfbf8adb99a184f5007b43dddacf4812aa3d9965a7b8ff00c4269a2d0fda0c3721686c04a35e3e0c4a8a56bc4
|
7
|
+
data.tar.gz: 8f675bc242f6519df6f8b47d51f2fbea2262e407118c336f23c8d4444b7810acdcef34fbe16b07ebf06ffb358ac9221987a9c6c83cc87a685a44eafbe93f5bc7
|
@@ -3,7 +3,7 @@ module DoorkeeperHub
|
|
3
3
|
def activation
|
4
4
|
return if params[:access_token] != DoorkeeperHub.config.service_token
|
5
5
|
# {name, access_token, doorkeeper_token, active, options}
|
6
|
-
record = DoorkeeperHub.config.scope_model.find_or_initialize_by(
|
6
|
+
record = DoorkeeperHub.config.scope_model.constantize.find_or_initialize_by(
|
7
7
|
DoorkeeperHub.token_name => params[DoorkeeperHub.token_name]
|
8
8
|
)
|
9
9
|
record.update active: params[:active], name: params[:name]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: doorkeeper_hub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jimmy Fan
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.
|
115
|
+
rubygems_version: 2.7.3
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: SSO Gem from DevHub.
|