omniauth-campus 0.0.6 → 0.0.7

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: d74b839469e7e7e07e5d688345b5ebe9511e1e78
4
- data.tar.gz: ca610924cf008a056704f8f8670cfe480c26442e
3
+ metadata.gz: 6ec74a47e48a7b3fe746a957901d055737c46616
4
+ data.tar.gz: aa3f983dddcdb06dc1f2a892713fc2b15c59617f
5
5
  SHA512:
6
- metadata.gz: 39921db2aa1c8779692069690540e94967e7e250b4a799817c7a3ca994f064edd11ca7c0de70e3bc484b5ccbd33e99bdd02c26fc9488af4eead69f2511915d61
7
- data.tar.gz: 585b9f177f3550b98eba66c6305c6b3c76ea259bba0d2b17616ed5d5d54912e4a4fac6f90a38149787cc51c1d957a6b6dd9878fa0458529983fa375e2bae12ec
6
+ metadata.gz: e9072294e221a486605944501142719069bb48e32297461216b3fd38624fca0bdcef74af6f20e0f3cd1d25f4ff21db93c17460d6dee3e21740222daf475a77d4
7
+ data.tar.gz: 0cc75c44667a977bce3711fecdad33f1a06a49acea74c16d38b0d761c1d4afdc3da17c4740104c0d744fae105c38823f1bf00bd1bfbdd35f3dfde780ce1b999f
Binary file
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
6
6
 
Binary file
@@ -26,7 +26,7 @@ module OmniAuth
26
26
  attr_reader :access_tokens
27
27
 
28
28
  def consumer
29
- consumer = ::Campus::Consumer.new(options.consumer_key, options.consumer_secret, options.client_options)
29
+ consumer = ::OAuth::Consumer.new(options.consumer_key, options.consumer_secret, options.client_options)
30
30
  consumer.http.open_timeout = options.open_timeout if options.open_timeout
31
31
  consumer.http.read_timeout = options.read_timeout if options.read_timeout
32
32
  end
@@ -51,7 +51,7 @@ module OmniAuth
51
51
  def callback_phase
52
52
  raise OmniAuth::NoSessionError.new("Session Expired") if session['campus'].nil?
53
53
 
54
- request_token = ::Campus::RequestToken.new(consumer, session['campus'][name.to_s].delete('request_token'), session['campus'][name.to_s].delete('request_secret'))
54
+ request_token = ::Oauth::RequestToken.new(consumer, session['campus'][name.to_s].delete('request_token'), session['campus'][name.to_s].delete('request_secret'))
55
55
 
56
56
  opts = {}
57
57
  if session['campus'][name.to_s]['callback_confirmed']
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.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr