omniauth-linkus 0.1.3 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +11 -15
- data/lib/omniauth-linkus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 849bde4552d05dab0ce70c81e559b0a69b76df2e
|
|
4
|
+
data.tar.gz: 26acd02a3c32118615a1f46644fd7be2defe2843
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dccc6ae338de92c3fc4c294711b2ec1ae537ea5f21d4e86da47a96cd7fb8930506ca563718a92ee637c1b7211deef1a1314a9c81e9e792daf14b4991cf389406
|
|
7
|
+
data.tar.gz: 1692f501aed68542457e0b42af5b44ba28b963932e0f8c10f8b686ff794d497b8ef8d30587cca67dc4312f65b757a8194c1b3ea9893678ee066492efb4cde3a5
|
data/README.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# OmniAuth linkus
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
|
3
|
+
linkus OAuth2 Strategy for OmniAuth.
|
|
6
4
|
|
|
7
5
|
## Installation
|
|
8
6
|
|
|
@@ -22,15 +20,13 @@ Or install it yourself as:
|
|
|
22
20
|
|
|
23
21
|
## Usage
|
|
24
22
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/SLP-KBIT/omniauth-linkus.
|
|
23
|
+
It is necessary to start the [linkus](https://github.com/SLP-KBIT/linkus) app.
|
|
24
|
+
And, add to your config/initializers/devise.rb
|
|
25
|
+
```rb
|
|
26
|
+
config.omniauth :linkus, ENV['LINKUS_APP_ID'], ENV['LINKUS_APP_SECRET'], client_options: {
|
|
27
|
+
site: ENV['LINKUS_URL'],
|
|
28
|
+
authorize_url: ENV['LINKUS_URL'] + '/oauth/authorize',
|
|
29
|
+
token_url: ENV['LINKUS_URL'] + '/oauth/token'
|
|
30
|
+
}
|
|
31
|
+
```
|
|
36
32
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-linkus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shoya TANAKA
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-07-
|
|
11
|
+
date: 2015-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|