omniauth-campus 0.5.2 → 0.5.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: cde0977824e7c481e13d9e08bc23c65f2ddb2532
4
- data.tar.gz: bee48dc0638f87972c6467aae33e591709d81ebb
3
+ metadata.gz: 19dc3abce80d3ea07bb36247ef37c114ae78a051
4
+ data.tar.gz: d83e3216bef53cfceea0703fecadd2e912dbe1b3
5
5
  SHA512:
6
- metadata.gz: 030436211332d854ca7e21ace18b660d8448bfcc8d029b58dcbbf99dcfd9a1036cd7c8974f3022928503dd8ab67cbb1f80d21fea776bd3eb01744fde0520eed8
7
- data.tar.gz: b34762744a69a10bbf6ee5edf13b8c94cf3c8c98f97b74f9ac13be48aa4a9decb10f4e64b386c7af170024d0fa21c1217b19b315d35c6da8d14a79929d27b44a
6
+ metadata.gz: b2a2189af4a0fcc83e9c81d2c410fe209a34b5041836030d3542450acf9be0f5550c2b25c3dfe7846c7c5a3fb38a76d450c0ca82584a3307632fbfc77dfd6b8b
7
+ data.tar.gz: 8302db769c16907e3a4e1cca81f6796f83fd620aca17f04c6a440038b3d09afc2191ac78cbf0e6d7ba5a34f1fbe40e8cba7c23f001fff4f9a49521acb003b908
Binary file
@@ -42,12 +42,7 @@ module OmniAuth
42
42
  #
43
43
 
44
44
  def request_phase
45
- form = OmniAuth::Form.new(:title => "User Info", :url => callback_path)
46
- options.fields.each do |field|
47
- form.text_field field.to_s.capitalize.gsub("_", " "), field.to_s
48
- end
49
- form.button "Sign In"
50
- form.to_response
45
+ redirect client.auth_code.authorize_url({:redirect_uri => callback_url}.merge(options.authorize_params))
51
46
  end
52
47
 
53
48
 
Binary file
@@ -1,6 +1,6 @@
1
1
  module Omniauth
2
2
  module Campus
3
- VERSION = "0.5.2"
3
+ VERSION = "0.5.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: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnvehr