omniauth-learn 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/lib/omniauth-learn/version.rb +1 -1
- data/lib/omniauth/strategies/learn.rb +1 -2
- 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: 22c5de5a615f3490b41628088dd421defadc51aa
|
4
|
+
data.tar.gz: ce15cdfd789e0c18c772c4540f034dc7641bf745
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67c43fb1721038bc247a0622e7f74f52a8ce799b74fb7022ec1dae70cc84b675e81c296302cbb48c19a55eda2688ac14807adf7dc4db62d3a73289ee01f56dd3
|
7
|
+
data.tar.gz: 576746a1c53fe3141fe1c8f4df53596c11354719b78583288c63aab4f5415119a27e63a2fc3623719f7269b1bce0eea9ce48c53919957249745dd8e69501ff03
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
omniauth-learn (0.0.
|
4
|
+
omniauth-learn (0.0.2)
|
5
5
|
omniauth (~> 1.0)
|
6
6
|
omniauth-oauth2 (>= 1.1.1, < 2.0)
|
7
7
|
rake
|
@@ -20,13 +20,13 @@ GEM
|
|
20
20
|
hashdiff (0.3.0)
|
21
21
|
hashie (3.4.4)
|
22
22
|
json (1.8.3)
|
23
|
-
jwt (1.5.
|
23
|
+
jwt (1.5.4)
|
24
24
|
multi_json (1.12.1)
|
25
25
|
multi_xml (0.5.5)
|
26
26
|
multipart-post (2.0.0)
|
27
|
-
oauth2 (1.
|
27
|
+
oauth2 (1.2.0)
|
28
28
|
faraday (>= 0.8, < 0.10)
|
29
|
-
jwt (~> 1.0
|
29
|
+
jwt (~> 1.0)
|
30
30
|
multi_json (~> 1.3)
|
31
31
|
multi_xml (~> 0.5)
|
32
32
|
rack (>= 1.2, < 3)
|
@@ -39,7 +39,7 @@ GEM
|
|
39
39
|
rack (1.6.4)
|
40
40
|
rack-test (0.6.3)
|
41
41
|
rack (>= 1.0)
|
42
|
-
rake (11.
|
42
|
+
rake (11.2.2)
|
43
43
|
rspec (2.99.0)
|
44
44
|
rspec-core (~> 2.99.0)
|
45
45
|
rspec-expectations (~> 2.99.0)
|
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'omniauth-oauth2'
|
2
|
-
require 'pry'
|
3
2
|
|
4
3
|
module OmniAuth
|
5
4
|
module Strategies
|
@@ -23,7 +22,7 @@ module OmniAuth
|
|
23
22
|
uid { raw_info["id"] }
|
24
23
|
|
25
24
|
def raw_info
|
26
|
-
@raw_info ||= access_token.get('/api/
|
25
|
+
@raw_info ||= access_token.get('/api/users/me').parsed
|
27
26
|
end
|
28
27
|
end
|
29
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-learn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sophie DeBenedetto
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-07-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth
|