cas_client 0.2.2 → 0.2.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.
|
@@ -23,7 +23,9 @@ class CASClient::SessionsController < ApplicationController
|
|
|
23
23
|
if CASClient::Configuration.mock_cas
|
|
24
24
|
cas_logout
|
|
25
25
|
else
|
|
26
|
-
|
|
26
|
+
redirect_url = ::CAS_SERVER["cas_domain"] + '/logout'
|
|
27
|
+
redirect_url << "?url=#{params[:url]}" if params[:url]
|
|
28
|
+
redirect_to redirect_url
|
|
27
29
|
end
|
|
28
30
|
end
|
|
29
31
|
|
|
@@ -35,4 +37,4 @@ class CASClient::SessionsController < ApplicationController
|
|
|
35
37
|
end
|
|
36
38
|
end
|
|
37
39
|
|
|
38
|
-
end
|
|
40
|
+
end
|
data/lib/cas_client/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cas_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.2.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Ryan Moran
|
|
@@ -15,10 +15,10 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
19
|
-
default_executable:
|
|
18
|
+
date: 2011-10-21 00:00:00 Z
|
|
20
19
|
dependencies:
|
|
21
20
|
- !ruby/object:Gem::Dependency
|
|
21
|
+
prerelease: false
|
|
22
22
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
23
23
|
none: false
|
|
24
24
|
requirements:
|
|
@@ -31,10 +31,10 @@ dependencies:
|
|
|
31
31
|
- 6
|
|
32
32
|
version: 0.1.6
|
|
33
33
|
version_requirements: *id001
|
|
34
|
-
name: oa-enterprise
|
|
35
|
-
prerelease: false
|
|
36
34
|
type: :runtime
|
|
35
|
+
name: oa-enterprise
|
|
37
36
|
- !ruby/object:Gem::Dependency
|
|
37
|
+
prerelease: false
|
|
38
38
|
requirement: &id002 !ruby/object:Gem::Requirement
|
|
39
39
|
none: false
|
|
40
40
|
requirements:
|
|
@@ -45,9 +45,8 @@ dependencies:
|
|
|
45
45
|
- 0
|
|
46
46
|
version: "0"
|
|
47
47
|
version_requirements: *id002
|
|
48
|
-
name: yajl-ruby
|
|
49
|
-
prerelease: false
|
|
50
48
|
type: :runtime
|
|
49
|
+
name: yajl-ruby
|
|
51
50
|
description: Helpers, controllers and middleware to implement a CAS client app
|
|
52
51
|
email:
|
|
53
52
|
- ryan.moran@revolutionprep.com
|
|
@@ -127,7 +126,6 @@ files:
|
|
|
127
126
|
- spec/spec_app/vendor/plugins/.gitkeep
|
|
128
127
|
- spec/spec_helper.rb
|
|
129
128
|
- spec/tasks/spec.rake
|
|
130
|
-
has_rdoc: true
|
|
131
129
|
homepage: http://www.revolutionprep.com
|
|
132
130
|
licenses: []
|
|
133
131
|
|
|
@@ -157,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
157
155
|
requirements: []
|
|
158
156
|
|
|
159
157
|
rubyforge_project: cas_client
|
|
160
|
-
rubygems_version: 1.6
|
|
158
|
+
rubygems_version: 1.8.6
|
|
161
159
|
signing_key:
|
|
162
160
|
specification_version: 3
|
|
163
161
|
summary: CAS client implementation
|