omniauth-campus 1.2 → 1.3

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: d8f3502ca0c026e3ac77aa9a953bff5cf30b1167
4
- data.tar.gz: 490ad205651c633aaadbe77db0ac99c7c05afcec
3
+ metadata.gz: 284181887d94a216f467dbe617e1f3cf4738d029
4
+ data.tar.gz: f41ea8f962036ab321fb7d2f902340bff1e409e0
5
5
  SHA512:
6
- metadata.gz: 68f6c4d690704b8573ff37d6503b2a3f8d83118cb95929a135c3c05616aa923f1b220b83895c26d1b9f7ca7fa50cf000ccf53eb711ccc54bde95204ec7d80409
7
- data.tar.gz: ec5eafef80568b337022a4f77d311a22c7f8f9a6812ec68c9db8d4d4ef0c66c057bb7e26c0bfd48093a6c739953db887a7361ce138e6f54fd331d650762a8f50
6
+ metadata.gz: 52a21f58e5c700ff58e2f86c56b2368863e948026e79537541a74770b79ccdb45334cab3f8b873cae26901a6add691cbb6b4a2509aff666cf3e720f6373b0d1c
7
+ data.tar.gz: db670b804c70f1e03030261052a6195f8ea9d90fe239e7df5bd7e97f21f0172d85a1196c9e4da216960969783bd4f8962e322d264cf9d064ca33f48cd1aea290
@@ -22,6 +22,10 @@ module OmniAuth
22
22
  #:site => 'http://dev-oauth-test.gotpantheon.com/myawesomejson',
23
23
  #:proxy => ENV['http_proxy'] ? URI(ENV['http_proxy']) : nil}
24
24
 
25
+ def request_phase
26
+ options[:authorize_params] = {:perms => options[:scope]} if options[:scope]
27
+ super
28
+ end
25
29
 
26
30
  uid{ request.params['user_id'] }
27
31
 
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "1.2"
3
+ VERSION = "1.3"
4
4
  end
5
5
  end
6
6
 
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: '1.2'
4
+ version: '1.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr