omniauth-nctu 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/example/config.ru +1 -1
- data/lib/omniauth/nctu/version.rb +1 -1
- data/lib/omniauth/strategies/nctu.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48f9ff7727d634c6f7fafdaffb22846be21b8478
|
4
|
+
data.tar.gz: 80a9339d591652e37b712b9e1762d03e73ca751d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8620e955143d712a716210de5a7099884322e0ece75a3571241f1ad41596b72b347aca84ffe5b6517593e76d5c2726e1c7d5f56a070f800ff6035b777dfff60
|
7
|
+
data.tar.gz: c4e80d0d737b383e8e8c4b1d3a6b32ac22520d15959cf8bb11bb11916329444b705404eebf057f3c5a1477501c0854f450dbeda29e6de9d8c017d85478b48542
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ end
|
|
37
37
|
|
38
38
|
get '/auth/nctu/callback' do
|
39
39
|
request.env['omniauth.auth'].to_hash.inspect rescue "No Data"
|
40
|
-
erb "您好,#{request.env['omniauth.auth'].to_hash["uid"]}。您的D2信箱是#{request.env['omniauth.auth'].to_hash["info"]["
|
40
|
+
erb "您好,#{request.env['omniauth.auth'].to_hash["uid"]}。您的D2信箱是#{request.env['omniauth.auth'].to_hash["info"]["email"]}。"
|
41
41
|
end
|
42
42
|
```
|
43
43
|
|
data/example/config.ru
CHANGED
@@ -15,5 +15,5 @@ end
|
|
15
15
|
get '/auth/nctu/callback' do
|
16
16
|
request.env['omniauth.auth'].to_hash.inspect rescue "No Data"
|
17
17
|
puts request.env['omniauth.auth']
|
18
|
-
erb "您好,#{request.env['omniauth.auth']
|
18
|
+
erb "您好,#{request.env['omniauth.auth']["uid"]}。您的D2信箱是#{request.env['omniauth.auth']["info"]["email"]}。"
|
19
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-nctu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuan-Yao Sung
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
123
|
rubyforge_project:
|
124
|
-
rubygems_version: 2.
|
124
|
+
rubygems_version: 2.6.11
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: OmniAuth OAuth2 strategy for NCTU Oauth
|