omniauth-campus 2.8 → 2.9

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: 3606e7cecf0ef6506d8506de383dbd98ef62a6a8
4
- data.tar.gz: 8b201970facb0973a13cc1d5d27bc16bd26d0bd9
3
+ metadata.gz: f2825854413480812628aee3a997c8c39cae0bad
4
+ data.tar.gz: 999e583c67d44640b0e073388a0a680f74fadce2
5
5
  SHA512:
6
- metadata.gz: 78d69b178bd2e384f092dac1ac23d7133b43ee1bb28733799876ec9e28f5736280ee634f51e445c98b5affd27bff07b217bb766df7d2792ff9a8d98e77cbe639
7
- data.tar.gz: d1e2a41196aeb612c63558cfa8b6cc5d78a321e2106a8dfea1ad7b48fc495f8dc3d109f3244b6d4a016336737cbf27fea4d697748d8a863d81a1ade654132c07
6
+ metadata.gz: 216c55de5b4443e8eda65288796a9609b84bd3335a3566366dbdc647998cd6fc72ffd0a5876ccd79ac98c9a83b47f43d9faae6b6d33c8ca9f1400de3f134b830
7
+ data.tar.gz: c038655675dc007d2ae2025dae6cf55585de231dfc183079cec1a00bd51d9764b608bfbc1c8f3c74997fd7c27d0de536d950747cac9045b78dcc87b94fad136e
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "2.8"
3
+ VERSION = "2.9"
4
4
  end
5
5
  end
6
6
 
@@ -31,15 +31,17 @@ module OmniAuth
31
31
  #:site => 'http://dev-oauth-test.gotpantheon.com/myawesomejson',
32
32
  #:proxy => ENV['http_proxy'] ? URI(ENV['http_proxy']) : nil}
33
33
 
34
- def initialize(app, consumer_key = nil, consumer_secret = nil, options = {}, &block)
34
+ def initialize(app, consumer_key = nil, consumer_secret = nil, options = {})
35
35
 
36
- opts = {
36
+ options = {
37
37
  :site => 'http://dev-oauth-test.gotpantheon.com/myawesomejson',
38
- :request_token_path => "/oauth/request_token",
39
- :access_token_path => "/oauth/access_token",
40
- :authorize_url => "'http://dev-oauth-test.gotpantheon.com/myawesomejson'/oauth/authorize"
38
+ :scheme => :header,
39
+ :http_method => :post,
40
+ :request_token_path => "/oauth/request_token.php",
41
+ :access_token_path => "/oauth/access_token.php",
42
+ :authorize_url => "/oauth/authorize.php"
41
43
  }
42
- super(app, :campus, consumer_key, consumer_secret, opts, options, &block)
44
+ super(app, :campus, consumer_key, consumer_secret, options)
43
45
  end
44
46
 
45
47
  def request_phase
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: '2.8'
4
+ version: '2.9'
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr