devise_ichain_authenticatable 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 093af6e9bb565331c98533fc34f5e3907df06fe1
4
+ data.tar.gz: b41b54ff363932179dfd879c4e2f4d8b352a57f1
5
+ SHA512:
6
+ metadata.gz: a8a0de06007e8b7bf7bd4e02c4b5dac17430eb6c7367862bb99eba60118120903357d26d59f2b2337e1fd60a72b550d0a2816a91c6a1d0eb46b9bbdc31608015
7
+ data.tar.gz: 34c6762a31609d8ef91ebf2b22517596372dbd88b192ee1f247c17fccc56418bca7ff47aac4bdfc05cc6374db7b5e259aac25459e43c79e6c0e0ad20865fd597
@@ -8,7 +8,8 @@ class Devise::IchainRegistrationsController < DeviseController
8
8
  set_flash_message :alert, :in_test_mode
9
9
  redirect_to redirect_url
10
10
  else
11
- sign_up_url = ::Devise.ichain_base_url + "/ICSLogin"
11
+ # The last slash is very important, indeed
12
+ sign_up_url = ::Devise.ichain_base_url + "/ICSLogin/"
12
13
  sign_up_url += "?" + {:url => redirect_url}.to_query
13
14
  redirect_to sign_up_url
14
15
  end
@@ -6,7 +6,8 @@ class Devise::IchainSessionsController < DeviseController
6
6
  return new_test if ::Devise.ichain_test_mode
7
7
  self.resource = build_resource(nil, :unsafe => true)
8
8
  @back_url = base_url + after_sign_in_path_for(resource_name)
9
- @login_url = (::Devise.ichain_base_url || "") + "/ICSLogin/auth-up"
9
+ # The slash at the end is very important
10
+ @login_url = (::Devise.ichain_base_url || "") + "/ICSLogin/auth-up/"
10
11
  @context = ::Devise.ichain_context
11
12
  @proxypath = ::Devise.ichain_proxypath
12
13
  respond_with resource
@@ -22,7 +23,8 @@ class Devise::IchainSessionsController < DeviseController
22
23
  set_flash_message :notice, :signed_out if signed_out && is_navigational_format?
23
24
  redirect_to redirect_url
24
25
  else
25
- logout_url = ::Devise.ichain_base_url + "/ICHAINLogout"
26
+ # The final slash is very important, indeed
27
+ logout_url = ::Devise.ichain_base_url + "/ICHAINLogout/"
26
28
  logout_url += "?" + {:url => redirect_url}.to_query
27
29
  redirect_to logout_url
28
30
  end
@@ -1,3 +1,3 @@
1
1
  module DeviseIchainAuthenticatable
2
- VERSION = "0.1.1".freeze
2
+ VERSION = "0.1.2".freeze
3
3
  end
metadata CHANGED
@@ -1,30 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_ichain_authenticatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ancor González Sosa
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-07-23 00:00:00.000000000 Z
11
+ date: 2013-09-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: devise
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '2.2'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '2.2'
30
27
  description: Devise extension to allow authentication via iChain
@@ -54,27 +51,25 @@ files:
54
51
  homepage: https://github.com/openSUSE/devise_ichain_authenticatable
55
52
  licenses:
56
53
  - MIT
54
+ metadata: {}
57
55
  post_install_message:
58
56
  rdoc_options: []
59
57
  require_paths:
60
58
  - lib
61
59
  required_ruby_version: !ruby/object:Gem::Requirement
62
- none: false
63
60
  requirements:
64
- - - ! '>='
61
+ - - '>='
65
62
  - !ruby/object:Gem::Version
66
63
  version: '0'
67
64
  required_rubygems_version: !ruby/object:Gem::Requirement
68
- none: false
69
65
  requirements:
70
- - - ! '>='
66
+ - - '>='
71
67
  - !ruby/object:Gem::Version
72
68
  version: '0'
73
69
  requirements: []
74
70
  rubyforge_project:
75
- rubygems_version: 1.8.25
71
+ rubygems_version: 2.0.2
76
72
  signing_key:
77
- specification_version: 3
73
+ specification_version: 4
78
74
  summary: Devise extension to allow authentication via iChain
79
75
  test_files: []
80
- has_rdoc: