omniauth-campus 0.8.9 → 0.9.0

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: c5fda11102ffc5013a67955b2c29d6adfc1d0778
4
- data.tar.gz: eee5cc6813051a42281fbeba2d511d99bf26c1ba
3
+ metadata.gz: 236523cb5d1f38d72ed1bdb5b33fed9edb66a5c4
4
+ data.tar.gz: 292d98695481644bec46efce0eb67de52cafc5ca
5
5
  SHA512:
6
- metadata.gz: 3f885844facdaacc12e98b6f88bd2db897a3a1ea54499ede6c8551e38544003c81401769e58b7718ab13df70152fcaf98cff0988259a1a385acd4107724071c4
7
- data.tar.gz: 49db960be8aba2647fea61bc8c9cb46742a09119cbd8fc7aff3f4d4c5d047c53aff9f14d490945c7e13e873228e692624b1cc2915d2553c3e81c12890a6be909
6
+ metadata.gz: 05164a6f404e9ca4b3cd9312064677f2bdb3d4bddf2ddb8195129a43529ac054ccb5742ce70f8e6210d0ccf645bd1bfbd7ae17648cbeb903be398b0b81573566
7
+ data.tar.gz: 7b2cb023c5409bff8e877c91a34429fe2bc24a33304d4748f403b8c95e6d4472222a4847d7c050ac23a0240bc814812352343e01b15bbc84f82058060a321f02
Binary file
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "0.8.9"
3
+ VERSION = "0.9.0"
4
4
  end
5
5
  end
6
6
 
@@ -13,6 +13,12 @@ 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
+ }
16
22
 
17
23
  uid { raw_info['uid'] }
18
24
 
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "rake"
23
23
  #spec.add_runtime_dependency 'omniauth-oauth', '~> 1.0'
24
24
  spec.add_runtime_dependency 'omniauth-oauth2', '~> 1.1', '>= 1.1.1'
25
- #spec.add_runtime_dependency 'oauth'
25
+ spec.add_runtime_dependency 'oauth'
26
26
  #spec.add_dependency 'oauth2', '~> 0.8.0'
27
27
  spec.add_dependency 'faraday', ['>= 0.8', '<0.10']
28
28
  spec.add_dependency 'multi_json', '~> 1.3'
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.8.9
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr
@@ -58,6 +58,20 @@ dependencies:
58
58
  - - '>='
59
59
  - !ruby/object:Gem::Version
60
60
  version: 1.1.1
61
+ - !ruby/object:Gem::Dependency
62
+ name: oauth
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
61
75
  - !ruby/object:Gem::Dependency
62
76
  name: faraday
63
77
  requirement: !ruby/object:Gem::Requirement