omniauth-campus 0.9.0 → 0.9.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 236523cb5d1f38d72ed1bdb5b33fed9edb66a5c4
4
- data.tar.gz: 292d98695481644bec46efce0eb67de52cafc5ca
3
+ metadata.gz: 6ddfe3d20135729832e7cc2dee0e33d4245b057f
4
+ data.tar.gz: a99cb5d8be6cd389f6cc36d2f21531ce5c128482
5
5
  SHA512:
6
- metadata.gz: 05164a6f404e9ca4b3cd9312064677f2bdb3d4bddf2ddb8195129a43529ac054ccb5742ce70f8e6210d0ccf645bd1bfbd7ae17648cbeb903be398b0b81573566
7
- data.tar.gz: 7b2cb023c5409bff8e877c91a34429fe2bc24a33304d4748f403b8c95e6d4472222a4847d7c050ac23a0240bc814812352343e01b15bbc84f82058060a321f02
6
+ metadata.gz: 96ccce6d4e2700f40376e988af2d120bf28b978cdf80f8d0851fc7c3b49d9d8cb5cc8f3aeb9c11951ed69d1b526b9e0e90f90e1aa949720b5ff5e9f49ac8b405
7
+ data.tar.gz: d162172efd2234e981c02700a596cba12131009d68aa1f8a2d8f7a0be027c61104c0b0e976debdfe0e71c2e8fc33ea0b3b7f4af392e609ad1f85528530308677
Binary file
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "0.9.0"
3
+ VERSION = "0.9.1"
4
4
  end
5
5
  end
6
6
 
Binary file
@@ -13,33 +13,6 @@ module OmniAuth
13
13
  :token_url => '/oauth/access_token'
14
14
  }
15
15
 
16
- option :provider_ignores_state, true
17
-
18
- option :token_params, {
19
- :header_format => 'OAuth oauth_token=%s',
20
- :param_name => 'access_token'
21
- }
22
-
23
- uid { raw_info['uid'] }
24
-
25
- info do
26
- {
27
- :id => raw_info['id'],
28
- :name => raw_info['name'],
29
- :email => raw_info['email'],
30
-
31
- }
32
- end
33
-
34
- extra do
35
- { :raw_info => raw_info }
36
- end
37
-
38
- #def raw_info
39
- # @raw_info ||= MultiJson.load(access_token.get('/users').body)
40
- #rescue ::Errno::ETIMEDOUT
41
- # raise ::Timeout::Error
42
- #end
43
16
 
44
17
  end
45
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-campus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr