shibboleth-rails 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,10 +28,8 @@ module Shibboleth::Rails
28
28
  else
29
29
  session['new'] = true
30
30
  if Rails.env.production?
31
- base = request.protocol + request.host
32
- requested_url = base + request.url
33
- redirect_to [base, '/Shibboleth.sso/Login?target=',
34
- CGI.escape(requested_url)].join
31
+ redirect_to [request.protocol, request.host,
32
+ '/Shibboleth.sso/Login?target=', CGI.escape(request.url)].join
35
33
  else
36
34
  redirect_to new_user_session_url, :notice => 'Login first, please.'
37
35
  end
@@ -1,5 +1,5 @@
1
1
  module Shibboleth
2
2
  module Rails
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shibboleth-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - mikegee
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-12 00:00:00 Z
18
+ date: 2011-09-15 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails