devise_cas_authenticatable 1.0.0.alpha12 → 1.0.0.alpha13
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +6 -0
- data/Gemfile.lock +125 -105
- data/README.md +1 -1
- data/app/controllers/devise/cas_sessions_controller.rb +6 -2
- data/devise_cas_authenticatable.gemspec +2 -1
- data/lib/devise_cas_authenticatable/model.rb +4 -3
- data/lib/devise_cas_authenticatable/single_sign_out/session_store/active_record.rb +5 -5
- data/lib/devise_cas_authenticatable/single_sign_out.rb +6 -14
- data/lib/devise_cas_authenticatable/strategy.rb +2 -1
- data/spec/scenario/config/environments/development.rb +0 -1
- data/spec/scenario/config/initializers/session_store.rb +2 -2
- data/spec/scenario/db/migrate/20111002012903_add_sessions_table.rb +16 -0
- data/spec/scenario/db/schema.rb +7 -6
- data/spec/strategy_spec.rb +1 -0
- metadata +40 -28
data/.travis.yml
ADDED
data/Gemfile.lock
CHANGED
@@ -1,159 +1,178 @@
|
|
1
1
|
GIT
|
2
2
|
remote: https://github.com/nbudin/castronaut.git
|
3
|
-
revision:
|
3
|
+
revision: 61add645b9e6500a2afe7343ee74a83a06303c15
|
4
4
|
branch: dam5s-merge
|
5
5
|
specs:
|
6
6
|
castronaut (0.7.5)
|
7
|
-
activerecord
|
8
|
-
activesupport
|
7
|
+
activerecord (>= 2.0)
|
8
|
+
activesupport (>= 2.0)
|
9
9
|
builder (>= 2.0.0)
|
10
10
|
crypt-isaac (~> 0.9)
|
11
11
|
json (~> 1.5.1)
|
12
|
-
|
13
|
-
ruby-net-ldap
|
14
|
-
sinatra (~> 1.0)
|
15
|
-
sqlite3 (~> 1.3.1)
|
12
|
+
sinatra (>= 1.0)
|
16
13
|
|
17
14
|
PATH
|
18
15
|
remote: .
|
19
16
|
specs:
|
20
|
-
devise_cas_authenticatable (1.0.0.
|
17
|
+
devise_cas_authenticatable (1.0.0.alpha13)
|
21
18
|
devise (>= 1.0.6)
|
22
19
|
rubycas-client (>= 2.2.1)
|
23
20
|
|
24
21
|
GEM
|
25
22
|
remote: http://rubygems.org/
|
26
23
|
specs:
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
rack (~> 1.
|
38
|
-
rack-mount (~> 0.
|
39
|
-
rack-test (~> 0.
|
40
|
-
|
41
|
-
activemodel (3.
|
42
|
-
activesupport (= 3.
|
43
|
-
builder (~>
|
44
|
-
i18n (~> 0.
|
45
|
-
activerecord (3.
|
46
|
-
activemodel (= 3.
|
47
|
-
activesupport (= 3.
|
48
|
-
arel (~> 2.
|
49
|
-
tzinfo (~> 0.3.
|
50
|
-
activeresource (3.
|
51
|
-
activemodel (= 3.
|
52
|
-
activesupport (= 3.
|
53
|
-
activesupport (3.
|
54
|
-
|
24
|
+
actionmailer (3.1.2)
|
25
|
+
actionpack (= 3.1.2)
|
26
|
+
mail (~> 2.3.0)
|
27
|
+
actionpack (3.1.2)
|
28
|
+
activemodel (= 3.1.2)
|
29
|
+
activesupport (= 3.1.2)
|
30
|
+
builder (~> 3.0.0)
|
31
|
+
erubis (~> 2.7.0)
|
32
|
+
i18n (~> 0.6)
|
33
|
+
rack (~> 1.3.5)
|
34
|
+
rack-cache (~> 1.1)
|
35
|
+
rack-mount (~> 0.8.2)
|
36
|
+
rack-test (~> 0.6.1)
|
37
|
+
sprockets (~> 2.1.0)
|
38
|
+
activemodel (3.1.2)
|
39
|
+
activesupport (= 3.1.2)
|
40
|
+
builder (~> 3.0.0)
|
41
|
+
i18n (~> 0.6)
|
42
|
+
activerecord (3.1.2)
|
43
|
+
activemodel (= 3.1.2)
|
44
|
+
activesupport (= 3.1.2)
|
45
|
+
arel (~> 2.2.1)
|
46
|
+
tzinfo (~> 0.3.29)
|
47
|
+
activeresource (3.1.2)
|
48
|
+
activemodel (= 3.1.2)
|
49
|
+
activesupport (= 3.1.2)
|
50
|
+
activesupport (3.1.2)
|
51
|
+
multi_json (~> 1.0)
|
52
|
+
addressable (2.2.6)
|
53
|
+
arel (2.2.1)
|
55
54
|
bcrypt-ruby (3.0.1)
|
56
|
-
builder (
|
57
|
-
capybara (
|
58
|
-
celerity (>= 0.7.9)
|
59
|
-
culerity (>= 0.2.4)
|
55
|
+
builder (3.0.0)
|
56
|
+
capybara (1.1.2)
|
60
57
|
mime-types (>= 1.16)
|
61
58
|
nokogiri (>= 1.3.3)
|
62
59
|
rack (>= 1.0.0)
|
63
60
|
rack-test (>= 0.5.4)
|
64
|
-
selenium-webdriver (
|
65
|
-
xpath (~> 0.1.
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
configuration (1.2.0)
|
61
|
+
selenium-webdriver (~> 2.0)
|
62
|
+
xpath (~> 0.1.4)
|
63
|
+
childprocess (0.2.2)
|
64
|
+
ffi (~> 1.0.6)
|
65
|
+
coderay (0.9.8)
|
70
66
|
crypt-isaac (0.9.1)
|
71
|
-
|
72
|
-
devise (1.4.7)
|
67
|
+
devise (1.5.0)
|
73
68
|
bcrypt-ruby (~> 3.0)
|
74
69
|
orm_adapter (~> 0.0.3)
|
75
|
-
warden (~> 1.
|
70
|
+
warden (~> 1.1)
|
76
71
|
diff-lcs (1.1.3)
|
77
|
-
erubis (2.
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
rake (>= 0.8.1)
|
87
|
-
mail (2.2.19)
|
88
|
-
activesupport (>= 2.3.6)
|
72
|
+
erubis (2.7.0)
|
73
|
+
ffi (1.0.11)
|
74
|
+
hike (1.2.1)
|
75
|
+
i18n (0.6.0)
|
76
|
+
json (1.5.4)
|
77
|
+
json_pure (1.6.1)
|
78
|
+
launchy (2.0.5)
|
79
|
+
addressable (~> 2.2.6)
|
80
|
+
mail (2.3.0)
|
89
81
|
i18n (>= 0.4.0)
|
90
82
|
mime-types (~> 1.16)
|
91
83
|
treetop (~> 1.4.8)
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
84
|
+
metaclass (0.0.1)
|
85
|
+
method_source (0.6.7)
|
86
|
+
ruby_parser (>= 2.3.1)
|
87
|
+
mime-types (1.17.2)
|
88
|
+
mocha (0.10.0)
|
89
|
+
metaclass (~> 0.0.1)
|
90
|
+
multi_json (1.0.3)
|
91
|
+
nokogiri (1.5.0)
|
97
92
|
orm_adapter (0.0.5)
|
98
|
-
polyglot (0.3.
|
99
|
-
|
100
|
-
|
93
|
+
polyglot (0.3.3)
|
94
|
+
pry (0.9.7.3)
|
95
|
+
coderay (~> 0.9.8)
|
96
|
+
method_source (~> 0.6.7)
|
97
|
+
ruby_parser (>= 2.3.1)
|
98
|
+
slop (~> 2.1.0)
|
99
|
+
rack (1.3.5)
|
100
|
+
rack-cache (1.1)
|
101
|
+
rack (>= 0.4)
|
102
|
+
rack-mount (0.8.3)
|
101
103
|
rack (>= 1.0.0)
|
102
|
-
rack-
|
104
|
+
rack-protection (1.1.4)
|
105
|
+
rack
|
106
|
+
rack-ssl (1.3.2)
|
107
|
+
rack
|
108
|
+
rack-test (0.6.1)
|
103
109
|
rack (>= 1.0)
|
104
|
-
rails (3.
|
105
|
-
actionmailer (= 3.
|
106
|
-
actionpack (= 3.
|
107
|
-
activerecord (= 3.
|
108
|
-
activeresource (= 3.
|
109
|
-
activesupport (= 3.
|
110
|
+
rails (3.1.2)
|
111
|
+
actionmailer (= 3.1.2)
|
112
|
+
actionpack (= 3.1.2)
|
113
|
+
activerecord (= 3.1.2)
|
114
|
+
activeresource (= 3.1.2)
|
115
|
+
activesupport (= 3.1.2)
|
110
116
|
bundler (~> 1.0)
|
111
|
-
railties (= 3.
|
112
|
-
railties (3.
|
113
|
-
actionpack (= 3.
|
114
|
-
activesupport (= 3.
|
117
|
+
railties (= 3.1.2)
|
118
|
+
railties (3.1.2)
|
119
|
+
actionpack (= 3.1.2)
|
120
|
+
activesupport (= 3.1.2)
|
121
|
+
rack-ssl (~> 1.3.2)
|
115
122
|
rake (>= 0.8.7)
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
123
|
+
rdoc (~> 3.4)
|
124
|
+
thor (~> 0.14.6)
|
125
|
+
rake (0.9.2.2)
|
126
|
+
rdoc (3.11)
|
127
|
+
json (~> 1.4)
|
128
|
+
rspec (2.7.0)
|
129
|
+
rspec-core (~> 2.7.0)
|
130
|
+
rspec-expectations (~> 2.7.0)
|
131
|
+
rspec-mocks (~> 2.7.0)
|
132
|
+
rspec-core (2.7.1)
|
133
|
+
rspec-expectations (2.7.0)
|
124
134
|
diff-lcs (~> 1.1.2)
|
125
|
-
rspec-mocks (2.
|
126
|
-
rspec-rails (2.
|
135
|
+
rspec-mocks (2.7.0)
|
136
|
+
rspec-rails (2.7.0)
|
127
137
|
actionpack (~> 3.0)
|
128
138
|
activesupport (~> 3.0)
|
129
139
|
railties (~> 3.0)
|
130
|
-
rspec (~> 2.
|
131
|
-
|
132
|
-
|
140
|
+
rspec (~> 2.7.0)
|
141
|
+
ruby_parser (2.3.1)
|
142
|
+
sexp_processor (~> 3.0)
|
143
|
+
rubycas-client (2.3.5)
|
133
144
|
activesupport
|
134
145
|
rubyzip (0.9.4)
|
135
|
-
selenium-webdriver (
|
136
|
-
childprocess (
|
137
|
-
ffi (~> 0.
|
146
|
+
selenium-webdriver (2.13.0)
|
147
|
+
childprocess (>= 0.2.1)
|
148
|
+
ffi (~> 1.0.9)
|
138
149
|
json_pure
|
139
150
|
rubyzip
|
151
|
+
sexp_processor (3.0.7)
|
140
152
|
sham_rack (1.3.3)
|
141
153
|
rack
|
142
154
|
shoulda (2.11.3)
|
143
|
-
sinatra (1.
|
144
|
-
rack (~> 1.1)
|
145
|
-
|
146
|
-
|
155
|
+
sinatra (1.3.1)
|
156
|
+
rack (~> 1.3, >= 1.3.4)
|
157
|
+
rack-protection (~> 1.1, >= 1.1.2)
|
158
|
+
tilt (~> 1.3, >= 1.3.3)
|
159
|
+
slop (2.1.0)
|
160
|
+
sprockets (2.1.1)
|
161
|
+
hike (~> 1.2)
|
162
|
+
rack (~> 1.0)
|
163
|
+
tilt (~> 1.1, != 1.3.0)
|
164
|
+
sqlite3 (1.3.4)
|
147
165
|
sqlite3-ruby (1.3.3)
|
148
166
|
sqlite3 (>= 1.3.3)
|
149
167
|
thor (0.14.6)
|
150
|
-
tilt (1.3)
|
151
|
-
treetop (1.4.
|
168
|
+
tilt (1.3.3)
|
169
|
+
treetop (1.4.10)
|
170
|
+
polyglot
|
152
171
|
polyglot (>= 0.3.1)
|
153
|
-
tzinfo (0.3.
|
154
|
-
warden (1.0
|
172
|
+
tzinfo (0.3.31)
|
173
|
+
warden (1.1.0)
|
155
174
|
rack (>= 1.0)
|
156
|
-
xpath (0.1.
|
175
|
+
xpath (0.1.4)
|
157
176
|
nokogiri (~> 1.3)
|
158
177
|
|
159
178
|
PLATFORMS
|
@@ -166,6 +185,7 @@ DEPENDENCIES
|
|
166
185
|
devise_cas_authenticatable!
|
167
186
|
launchy
|
168
187
|
mocha
|
188
|
+
pry
|
169
189
|
rails (>= 3.0.7)
|
170
190
|
rspec-rails (>= 2.6.1)
|
171
191
|
sham_rack
|
data/README.md
CHANGED
@@ -68,8 +68,8 @@ class Devise::CasSessionsController < Devise::SessionsController
|
|
68
68
|
end
|
69
69
|
|
70
70
|
def destroy_cas_session(session_id, session_index)
|
71
|
-
if
|
72
|
-
if
|
71
|
+
if session_store && session_store.respond_to?(:destroy_session)
|
72
|
+
if session_store.destroy_session(session_id)
|
73
73
|
logger.debug "Destroyed session #{session_id} corresponding to service ticket #{session_index}."
|
74
74
|
else
|
75
75
|
logger.debug "Data for session #{session_id} was not found. It may have already been cleared by a local CAS logout request."
|
@@ -80,6 +80,10 @@ class Devise::CasSessionsController < Devise::SessionsController
|
|
80
80
|
|
81
81
|
::DeviseCasAuthenticatable::SingleSignOut::Strategies.current_strategy.delete_session_index(session_index)
|
82
82
|
end
|
83
|
+
|
84
|
+
def session_store
|
85
|
+
@session_store ||= (Rails.respond_to?(:application) && Rails.application.config.session_store)
|
86
|
+
end
|
83
87
|
|
84
88
|
def returning_from_cas?
|
85
89
|
params[:ticket] || request.referer =~ /^#{::Devise.cas_client.cas_base_url}/
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{devise_cas_authenticatable}
|
5
|
-
s.version = "1.0.0.
|
5
|
+
s.version = "1.0.0.alpha13"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Nat Budin", "Jeremy Haile"]
|
@@ -32,5 +32,6 @@ Gem::Specification.new do |s|
|
|
32
32
|
s.add_development_dependency("capybara")
|
33
33
|
s.add_development_dependency('crypt-isaac')
|
34
34
|
s.add_development_dependency('launchy')
|
35
|
+
s.add_development_dependency('pry')
|
35
36
|
end
|
36
37
|
|
@@ -19,8 +19,7 @@ module Devise
|
|
19
19
|
::Devise.cas_client.validate_service_ticket(ticket) unless ticket.has_been_validated?
|
20
20
|
|
21
21
|
if ticket.is_valid?
|
22
|
-
|
23
|
-
|
22
|
+
conditions = {::Devise.cas_username_column => ticket.respond_to?(:user) ? ticket.user : ticket.response.user}
|
24
23
|
# We don't want to override Devise 1.1's find_for_authentication
|
25
24
|
resource = if respond_to?(:find_for_authentication)
|
26
25
|
find_for_authentication(conditions)
|
@@ -31,7 +30,9 @@ module Devise
|
|
31
30
|
resource = new(conditions) if (resource.nil? and ::Devise.cas_create_user?)
|
32
31
|
return nil unless resource
|
33
32
|
|
34
|
-
|
33
|
+
if resource.respond_to? :cas_extra_attributes=
|
34
|
+
resource.cas_extra_attributes = ticket.respond_to?(:extra_attributes) ? ticket.extra_attributes : ticket.response.extra_attributes
|
35
|
+
end
|
35
36
|
resource.save
|
36
37
|
resource
|
37
38
|
end
|
@@ -3,10 +3,10 @@ ActiveRecord::SessionStore.class_eval do
|
|
3
3
|
include DeviseCasAuthenticatable::SingleSignOut::SetSession
|
4
4
|
alias_method_chain :set_session, :storage
|
5
5
|
|
6
|
-
def destroy_session(
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
end
|
6
|
+
#def destroy_session(env, session_id, options)
|
7
|
+
# if session = Session::find_by_session_id(sid)
|
8
|
+
# session.destroy
|
9
|
+
# end
|
10
|
+
#end
|
11
11
|
|
12
12
|
end
|
@@ -1,30 +1,22 @@
|
|
1
1
|
module DeviseCasAuthenticatable
|
2
2
|
module SingleSignOut
|
3
3
|
module SetSession
|
4
|
-
def set_session_with_storage(env, sid, session_data)
|
4
|
+
def set_session_with_storage(env, sid, session_data, options={})
|
5
5
|
if session_data['cas_last_valid_ticket_store']
|
6
6
|
::DeviseCasAuthenticatable::SingleSignOut::Strategies.current_strategy.store_session_id_for_index(session_data['cas_last_valid_ticket'], sid)
|
7
7
|
session_data['cas_last_valid_ticket_store'] = nil
|
8
8
|
end
|
9
9
|
|
10
|
-
set_session_without_storage
|
10
|
+
if method(:set_session_without_storage).arity == 4
|
11
|
+
set_session_without_storage(env, sid, session_data, options)
|
12
|
+
else
|
13
|
+
set_session_without_storage(env, sid, session_data)
|
14
|
+
end
|
11
15
|
end
|
12
16
|
end
|
13
17
|
end
|
14
18
|
end
|
15
19
|
|
16
|
-
if defined?(ActionDispatch)
|
17
|
-
# Need to make a small extension to rails to expose the session_store to our controllers
|
18
|
-
require 'action_dispatch/middleware/session/abstract_store'
|
19
|
-
ActionDispatch::Session::AbstractStore.class_eval do
|
20
|
-
def prepare_with_session_store!(env)
|
21
|
-
prepare_without_session_store!(env)
|
22
|
-
env[:session_store] = self
|
23
|
-
end
|
24
|
-
alias_method_chain :prepare!, :session_store
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
20
|
require 'devise_cas_authenticatable/single_sign_out/strategies'
|
29
21
|
require 'devise_cas_authenticatable/single_sign_out/strategies/base'
|
30
22
|
require 'devise_cas_authenticatable/single_sign_out/strategies/rails_cache'
|
@@ -25,7 +25,8 @@ module Devise
|
|
25
25
|
|
26
26
|
success!(resource)
|
27
27
|
elsif ticket.is_valid?
|
28
|
-
|
28
|
+
username = ticket.respond_to?(:user) ? ticket.user : ticket.response.user
|
29
|
+
redirect!(::Devise.cas_unregistered_url(request.url, mapping), :username => username)
|
29
30
|
#fail!("The user #{ticket.response.user} is not registered with this site. Please use a different account.")
|
30
31
|
else
|
31
32
|
fail!(:invalid)
|
@@ -11,7 +11,6 @@ Scenario::Application.configure do
|
|
11
11
|
|
12
12
|
# Show full error reports and disable caching
|
13
13
|
config.consider_all_requests_local = true
|
14
|
-
config.action_view.debug_rjs = true
|
15
14
|
config.action_controller.perform_caching = false
|
16
15
|
|
17
16
|
# Don't care if the mailer can't send
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
|
-
Scenario::Application.config.session_store :cookie_store, :key => '_scenario_session'
|
3
|
+
# Scenario::Application.config.session_store :cookie_store, :key => '_scenario_session'
|
4
4
|
|
5
5
|
# Use the database for sessions instead of the cookie-based default,
|
6
6
|
# which shouldn't be used to store highly confidential information
|
7
7
|
# (create the session table with "rake db:sessions:create")
|
8
|
-
|
8
|
+
Scenario::Application.config.session_store :active_record_store
|
@@ -0,0 +1,16 @@
|
|
1
|
+
class AddSessionsTable < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
create_table :sessions do |t|
|
4
|
+
t.string :session_id, :null => false
|
5
|
+
t.text :data
|
6
|
+
t.timestamps
|
7
|
+
end
|
8
|
+
|
9
|
+
add_index :sessions, :session_id
|
10
|
+
add_index :sessions, :updated_at
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.down
|
14
|
+
drop_table :sessions
|
15
|
+
end
|
16
|
+
end
|
data/spec/scenario/db/schema.rb
CHANGED
@@ -10,15 +10,16 @@
|
|
10
10
|
#
|
11
11
|
# It's strongly recommended to check this file into your version control system.
|
12
12
|
|
13
|
-
ActiveRecord::Schema.define(:version =>
|
13
|
+
ActiveRecord::Schema.define(:version => 20111002012903) do
|
14
14
|
|
15
|
-
create_table "
|
16
|
-
t.string "
|
17
|
-
t.
|
18
|
-
t.datetime "remember_created_at"
|
19
|
-
t.string "email"
|
15
|
+
create_table "sessions", :force => true do |t|
|
16
|
+
t.string "session_id", :null => false
|
17
|
+
t.text "data"
|
20
18
|
t.datetime "created_at"
|
21
19
|
t.datetime "updated_at"
|
22
20
|
end
|
23
21
|
|
22
|
+
add_index "sessions", ["session_id"], :name => "index_sessions_on_session_id"
|
23
|
+
add_index "sessions", ["updated_at"], :name => "index_sessions_on_updated_at"
|
24
|
+
|
24
25
|
end
|
data/spec/strategy_spec.rb
CHANGED
@@ -87,6 +87,7 @@ describe Devise::Strategies::CasAuthenticatable, :type => "acceptance" do
|
|
87
87
|
User.find_by_username("newuser").should be_nil
|
88
88
|
|
89
89
|
click_on "sign in using a different account"
|
90
|
+
click_on "here"
|
90
91
|
current_url.should == cas_login_url
|
91
92
|
fill_in "Username", :with => "joeuser"
|
92
93
|
fill_in "Password", :with => "joepassword"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_cas_authenticatable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.alpha13
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,12 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2011-
|
14
|
-
default_executable:
|
13
|
+
date: 2011-11-18 00:00:00.000000000Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: devise
|
18
|
-
requirement: &
|
17
|
+
requirement: &70114346035460 !ruby/object:Gem::Requirement
|
19
18
|
none: false
|
20
19
|
requirements:
|
21
20
|
- - ! '>='
|
@@ -23,10 +22,10 @@ dependencies:
|
|
23
22
|
version: 1.0.6
|
24
23
|
type: :runtime
|
25
24
|
prerelease: false
|
26
|
-
version_requirements: *
|
25
|
+
version_requirements: *70114346035460
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: rubycas-client
|
29
|
-
requirement: &
|
28
|
+
requirement: &70114346034980 !ruby/object:Gem::Requirement
|
30
29
|
none: false
|
31
30
|
requirements:
|
32
31
|
- - ! '>='
|
@@ -34,10 +33,10 @@ dependencies:
|
|
34
33
|
version: 2.2.1
|
35
34
|
type: :runtime
|
36
35
|
prerelease: false
|
37
|
-
version_requirements: *
|
36
|
+
version_requirements: *70114346034980
|
38
37
|
- !ruby/object:Gem::Dependency
|
39
38
|
name: rails
|
40
|
-
requirement: &
|
39
|
+
requirement: &70114346034520 !ruby/object:Gem::Requirement
|
41
40
|
none: false
|
42
41
|
requirements:
|
43
42
|
- - ! '>='
|
@@ -45,10 +44,10 @@ dependencies:
|
|
45
44
|
version: 3.0.7
|
46
45
|
type: :development
|
47
46
|
prerelease: false
|
48
|
-
version_requirements: *
|
47
|
+
version_requirements: *70114346034520
|
49
48
|
- !ruby/object:Gem::Dependency
|
50
49
|
name: rspec-rails
|
51
|
-
requirement: &
|
50
|
+
requirement: &70114346034020 !ruby/object:Gem::Requirement
|
52
51
|
none: false
|
53
52
|
requirements:
|
54
53
|
- - ! '>='
|
@@ -56,10 +55,10 @@ dependencies:
|
|
56
55
|
version: 2.6.1
|
57
56
|
type: :development
|
58
57
|
prerelease: false
|
59
|
-
version_requirements: *
|
58
|
+
version_requirements: *70114346034020
|
60
59
|
- !ruby/object:Gem::Dependency
|
61
60
|
name: mocha
|
62
|
-
requirement: &
|
61
|
+
requirement: &70114346033640 !ruby/object:Gem::Requirement
|
63
62
|
none: false
|
64
63
|
requirements:
|
65
64
|
- - ! '>='
|
@@ -67,10 +66,10 @@ dependencies:
|
|
67
66
|
version: '0'
|
68
67
|
type: :development
|
69
68
|
prerelease: false
|
70
|
-
version_requirements: *
|
69
|
+
version_requirements: *70114346033640
|
71
70
|
- !ruby/object:Gem::Dependency
|
72
71
|
name: shoulda
|
73
|
-
requirement: &
|
72
|
+
requirement: &70114346033180 !ruby/object:Gem::Requirement
|
74
73
|
none: false
|
75
74
|
requirements:
|
76
75
|
- - ! '>='
|
@@ -78,10 +77,10 @@ dependencies:
|
|
78
77
|
version: '0'
|
79
78
|
type: :development
|
80
79
|
prerelease: false
|
81
|
-
version_requirements: *
|
80
|
+
version_requirements: *70114346033180
|
82
81
|
- !ruby/object:Gem::Dependency
|
83
82
|
name: sqlite3-ruby
|
84
|
-
requirement: &
|
83
|
+
requirement: &70114346032740 !ruby/object:Gem::Requirement
|
85
84
|
none: false
|
86
85
|
requirements:
|
87
86
|
- - ! '>='
|
@@ -89,10 +88,10 @@ dependencies:
|
|
89
88
|
version: '0'
|
90
89
|
type: :development
|
91
90
|
prerelease: false
|
92
|
-
version_requirements: *
|
91
|
+
version_requirements: *70114346032740
|
93
92
|
- !ruby/object:Gem::Dependency
|
94
93
|
name: sham_rack
|
95
|
-
requirement: &
|
94
|
+
requirement: &70114346032320 !ruby/object:Gem::Requirement
|
96
95
|
none: false
|
97
96
|
requirements:
|
98
97
|
- - ! '>='
|
@@ -100,10 +99,10 @@ dependencies:
|
|
100
99
|
version: '0'
|
101
100
|
type: :development
|
102
101
|
prerelease: false
|
103
|
-
version_requirements: *
|
102
|
+
version_requirements: *70114346032320
|
104
103
|
- !ruby/object:Gem::Dependency
|
105
104
|
name: capybara
|
106
|
-
requirement: &
|
105
|
+
requirement: &70114346031900 !ruby/object:Gem::Requirement
|
107
106
|
none: false
|
108
107
|
requirements:
|
109
108
|
- - ! '>='
|
@@ -111,10 +110,10 @@ dependencies:
|
|
111
110
|
version: '0'
|
112
111
|
type: :development
|
113
112
|
prerelease: false
|
114
|
-
version_requirements: *
|
113
|
+
version_requirements: *70114346031900
|
115
114
|
- !ruby/object:Gem::Dependency
|
116
115
|
name: crypt-isaac
|
117
|
-
requirement: &
|
116
|
+
requirement: &70114346031480 !ruby/object:Gem::Requirement
|
118
117
|
none: false
|
119
118
|
requirements:
|
120
119
|
- - ! '>='
|
@@ -122,10 +121,10 @@ dependencies:
|
|
122
121
|
version: '0'
|
123
122
|
type: :development
|
124
123
|
prerelease: false
|
125
|
-
version_requirements: *
|
124
|
+
version_requirements: *70114346031480
|
126
125
|
- !ruby/object:Gem::Dependency
|
127
126
|
name: launchy
|
128
|
-
requirement: &
|
127
|
+
requirement: &70114346031060 !ruby/object:Gem::Requirement
|
129
128
|
none: false
|
130
129
|
requirements:
|
131
130
|
- - ! '>='
|
@@ -133,7 +132,18 @@ dependencies:
|
|
133
132
|
version: '0'
|
134
133
|
type: :development
|
135
134
|
prerelease: false
|
136
|
-
version_requirements: *
|
135
|
+
version_requirements: *70114346031060
|
136
|
+
- !ruby/object:Gem::Dependency
|
137
|
+
name: pry
|
138
|
+
requirement: &70114346030620 !ruby/object:Gem::Requirement
|
139
|
+
none: false
|
140
|
+
requirements:
|
141
|
+
- - ! '>='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
144
|
+
type: :development
|
145
|
+
prerelease: false
|
146
|
+
version_requirements: *70114346030620
|
137
147
|
description: CAS authentication module for Devise
|
138
148
|
email: natbudin@gmail.com
|
139
149
|
executables: []
|
@@ -143,6 +153,7 @@ extra_rdoc_files:
|
|
143
153
|
files:
|
144
154
|
- .gitignore
|
145
155
|
- .project
|
156
|
+
- .travis.yml
|
146
157
|
- Gemfile
|
147
158
|
- Gemfile.lock
|
148
159
|
- README.md
|
@@ -190,12 +201,12 @@ files:
|
|
190
201
|
- spec/scenario/config/routes.rb
|
191
202
|
- spec/scenario/config/rubycas-server.yml
|
192
203
|
- spec/scenario/db/migrate/20100401102949_create_tables.rb
|
204
|
+
- spec/scenario/db/migrate/20111002012903_add_sessions_table.rb
|
193
205
|
- spec/scenario/db/schema.rb
|
194
206
|
- spec/scenario/public/.gitkeep
|
195
207
|
- spec/spec_helper.rb
|
196
208
|
- spec/strategy_spec.rb
|
197
209
|
- spec/support/migrations.rb
|
198
|
-
has_rdoc: true
|
199
210
|
homepage: http://github.com/nbudin/devise_cas_authenticatable
|
200
211
|
licenses: []
|
201
212
|
post_install_message:
|
@@ -210,7 +221,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
210
221
|
version: '0'
|
211
222
|
segments:
|
212
223
|
- 0
|
213
|
-
hash:
|
224
|
+
hash: 3062561987635433311
|
214
225
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
215
226
|
none: false
|
216
227
|
requirements:
|
@@ -219,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
230
|
version: 1.3.1
|
220
231
|
requirements: []
|
221
232
|
rubyforge_project:
|
222
|
-
rubygems_version: 1.
|
233
|
+
rubygems_version: 1.8.11
|
223
234
|
signing_key:
|
224
235
|
specification_version: 3
|
225
236
|
summary: CAS authentication module for Devise
|
@@ -250,6 +261,7 @@ test_files:
|
|
250
261
|
- spec/scenario/config/routes.rb
|
251
262
|
- spec/scenario/config/rubycas-server.yml
|
252
263
|
- spec/scenario/db/migrate/20100401102949_create_tables.rb
|
264
|
+
- spec/scenario/db/migrate/20111002012903_add_sessions_table.rb
|
253
265
|
- spec/scenario/db/schema.rb
|
254
266
|
- spec/scenario/public/.gitkeep
|
255
267
|
- spec/spec_helper.rb
|