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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10bdc2a76691e99c5c200500d658b164796e2922
4
- data.tar.gz: aef8f8ceaa44ec172e70b7f7bbad189e1aa3bebe
3
+ metadata.gz: 22c5de5a615f3490b41628088dd421defadc51aa
4
+ data.tar.gz: ce15cdfd789e0c18c772c4540f034dc7641bf745
5
5
  SHA512:
6
- metadata.gz: 72a7757111452b29f25c5fb8e19b5d93671a9c6a65b02f76f474cf8b6eadd04762a671cbb4e67ce40ed0a403eb874bb466e843c9ccaba8ee38452f8e3a76b45c
7
- data.tar.gz: f756478561316b45c52b51da8a9b646d4cb1c90aff56794b1e87b803dca432c3e83458f1c7da807da62e3cae0623879f336742a43d91a46d5e6d45a5a646e8d4
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.1)
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.1)
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.1.0)
27
+ oauth2 (1.2.0)
28
28
  faraday (>= 0.8, < 0.10)
29
- jwt (~> 1.0, < 1.5.2)
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.1.2)
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,5 @@
1
1
  module OmniAuth
2
2
  module Learn
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -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/v1/users/me').parsed
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.1
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-05-27 00:00:00.000000000 Z
12
+ date: 2016-07-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth