devise_cas_authenticatable 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +8 -1
- data/Gemfile.devise10 +12 -0
- data/Gemfile.devise11 +11 -0
- data/Gemfile.devise12 +11 -0
- data/Gemfile.devise13 +11 -0
- data/Gemfile.devise14 +11 -0
- data/Gemfile.devise15 +11 -0
- data/Gemfile.devise20 +11 -0
- data/Gemfile.devise21 +11 -0
- data/Gemfile.lock +8 -8
- data/LICENSE +7 -0
- data/README.md +6 -0
- data/Rakefile +6 -1
- data/app/controllers/devise/cas_sessions_controller.rb +16 -6
- data/devise_cas_authenticatable.gemspec +3 -2
- data/lib/devise_cas_authenticatable/model.rb +6 -1
- data/lib/devise_cas_authenticatable/routes.rb +1 -1
- data/spec/scenario/app/models/user.rb +4 -0
- data/spec/scenario/db/migrate/20100401102949_create_tables.rb +5 -3
- data/spec/scenario/db/migrate/20121009092400_add_deactivated_flag_to_users.rb +9 -0
- data/spec/strategy_spec.rb +36 -0
- metadata +102 -30
data/.travis.yml
CHANGED
@@ -2,5 +2,12 @@ rvm:
|
|
2
2
|
- 1.8.7 # (current default)
|
3
3
|
- 1.9.2
|
4
4
|
gemfile:
|
5
|
-
- Gemfile
|
5
|
+
- Gemfile.devise10
|
6
|
+
- Gemfile.devise11
|
7
|
+
- Gemfile.devise12
|
8
|
+
- Gemfile.devise13
|
9
|
+
- Gemfile.devise14
|
10
|
+
- Gemfile.devise15
|
11
|
+
- Gemfile.devise20
|
12
|
+
- Gemfile.devise21
|
6
13
|
script: "bundle exec rake spec"
|
data/Gemfile.devise10
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in devise_cas_authenticatable.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
gem 'rails', '~> 2.3.14'
|
7
|
+
gem 'devise', '~> 1.0.0'
|
8
|
+
gem 'rspec-rails', '~> 1.2.0'
|
9
|
+
|
10
|
+
group :test do
|
11
|
+
gem 'castronaut', :git => 'https://github.com/nbudin/castronaut.git', :branch => 'dam5s-merge'
|
12
|
+
end
|
data/Gemfile.devise11
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in devise_cas_authenticatable.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
gem 'rails', '~> 3.0.0'
|
7
|
+
gem 'devise', '~> 1.1.0'
|
8
|
+
|
9
|
+
group :test do
|
10
|
+
gem 'castronaut', :git => 'https://github.com/nbudin/castronaut.git', :branch => 'dam5s-merge'
|
11
|
+
end
|
data/Gemfile.devise12
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in devise_cas_authenticatable.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
gem 'rails', '~> 3.1.0'
|
7
|
+
gem 'devise', '~> 1.2.0'
|
8
|
+
|
9
|
+
group :test do
|
10
|
+
gem 'castronaut', :git => 'https://github.com/nbudin/castronaut.git', :branch => 'dam5s-merge'
|
11
|
+
end
|
data/Gemfile.devise13
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in devise_cas_authenticatable.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
gem 'rails', '~> 3.1.0'
|
7
|
+
gem 'devise', '~> 1.3.0'
|
8
|
+
|
9
|
+
group :test do
|
10
|
+
gem 'castronaut', :git => 'https://github.com/nbudin/castronaut.git', :branch => 'dam5s-merge'
|
11
|
+
end
|
data/Gemfile.devise14
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in devise_cas_authenticatable.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
gem 'rails', '~> 3.2.0'
|
7
|
+
gem 'devise', '~> 1.4.0'
|
8
|
+
|
9
|
+
group :test do
|
10
|
+
gem 'castronaut', :git => 'https://github.com/nbudin/castronaut.git', :branch => 'dam5s-merge'
|
11
|
+
end
|
data/Gemfile.devise15
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in devise_cas_authenticatable.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
gem 'rails', '~> 3.2.0'
|
7
|
+
gem 'devise', '~> 1.5.0'
|
8
|
+
|
9
|
+
group :test do
|
10
|
+
gem 'castronaut', :git => 'https://github.com/nbudin/castronaut.git', :branch => 'dam5s-merge'
|
11
|
+
end
|
data/Gemfile.devise20
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in devise_cas_authenticatable.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
gem 'rails', '~> 3.2.0'
|
7
|
+
gem 'devise', '~> 2.0.0'
|
8
|
+
|
9
|
+
group :test do
|
10
|
+
gem 'castronaut', :git => 'https://github.com/nbudin/castronaut.git', :branch => 'dam5s-merge'
|
11
|
+
end
|
data/Gemfile.devise21
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in devise_cas_authenticatable.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
gem 'rails', '~> 3.2.0'
|
7
|
+
gem 'devise', '~> 2.1.0'
|
8
|
+
|
9
|
+
group :test do
|
10
|
+
gem 'castronaut', :git => 'https://github.com/nbudin/castronaut.git', :branch => 'dam5s-merge'
|
11
|
+
end
|
data/Gemfile.lock
CHANGED
@@ -14,7 +14,7 @@ GIT
|
|
14
14
|
PATH
|
15
15
|
remote: .
|
16
16
|
specs:
|
17
|
-
devise_cas_authenticatable (1.1.
|
17
|
+
devise_cas_authenticatable (1.1.3)
|
18
18
|
devise (>= 1.0.6)
|
19
19
|
rubycas-client (>= 2.2.1)
|
20
20
|
|
@@ -64,11 +64,11 @@ GEM
|
|
64
64
|
ffi (~> 1.0.6)
|
65
65
|
coderay (0.9.8)
|
66
66
|
crypt-isaac (0.9.1)
|
67
|
-
devise (2.1.
|
67
|
+
devise (2.1.2)
|
68
68
|
bcrypt-ruby (~> 3.0)
|
69
|
-
orm_adapter (~> 0.
|
69
|
+
orm_adapter (~> 0.1)
|
70
70
|
railties (~> 3.1)
|
71
|
-
warden (~> 1.
|
71
|
+
warden (~> 1.2.1)
|
72
72
|
diff-lcs (1.1.3)
|
73
73
|
erubis (2.7.0)
|
74
74
|
ffi (1.0.11)
|
@@ -90,7 +90,7 @@ GEM
|
|
90
90
|
metaclass (~> 0.0.1)
|
91
91
|
multi_json (1.3.5)
|
92
92
|
nokogiri (1.5.0)
|
93
|
-
orm_adapter (0.0
|
93
|
+
orm_adapter (0.4.0)
|
94
94
|
polyglot (0.3.3)
|
95
95
|
pry (0.9.7.3)
|
96
96
|
coderay (~> 0.9.8)
|
@@ -141,7 +141,7 @@ GEM
|
|
141
141
|
rspec (~> 2.7.0)
|
142
142
|
ruby_parser (2.3.1)
|
143
143
|
sexp_processor (~> 3.0)
|
144
|
-
rubycas-client (2.3.
|
144
|
+
rubycas-client (2.3.9)
|
145
145
|
activesupport
|
146
146
|
rubyzip (0.9.4)
|
147
147
|
selenium-webdriver (2.13.0)
|
@@ -171,7 +171,7 @@ GEM
|
|
171
171
|
polyglot
|
172
172
|
polyglot (>= 0.3.1)
|
173
173
|
tzinfo (0.3.31)
|
174
|
-
warden (1.
|
174
|
+
warden (1.2.1)
|
175
175
|
rack (>= 1.0)
|
176
176
|
xpath (0.1.4)
|
177
177
|
nokogiri (~> 1.3)
|
@@ -188,7 +188,7 @@ DEPENDENCIES
|
|
188
188
|
mocha
|
189
189
|
pry
|
190
190
|
rails (>= 3.0.7)
|
191
|
-
rspec-rails
|
191
|
+
rspec-rails
|
192
192
|
sham_rack
|
193
193
|
shoulda
|
194
194
|
sqlite3-ruby
|
data/LICENSE
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
Copyright (c) 2010-2012 Nat Budin, Jeremy Haile and other contributors
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
4
|
+
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
6
|
+
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -8,8 +8,7 @@ class Devise::CasSessionsController < Devise::SessionsController
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def service
|
11
|
-
warden.authenticate!(:scope => resource_name)
|
12
|
-
redirect_to after_sign_in_path_for(resource_name)
|
11
|
+
redirect_to after_sign_in_path_for(warden.authenticate!(:scope => resource_name))
|
13
12
|
end
|
14
13
|
|
15
14
|
def unregistered
|
@@ -54,7 +53,18 @@ class Devise::CasSessionsController < Devise::SessionsController
|
|
54
53
|
end
|
55
54
|
end
|
56
55
|
|
57
|
-
|
56
|
+
service_url = request.protocol
|
57
|
+
service_url << request.host
|
58
|
+
service_url << ":#{request.port.to_s}" unless request.port == 80
|
59
|
+
|
60
|
+
logout_url = begin
|
61
|
+
::Devise.cas_client.logout_url(destination_url, follow_url, ::Devise.cas_service_url(service_url, devise_mapping))
|
62
|
+
rescue ArgumentError
|
63
|
+
# Older rubycas-clients don't accept a service_url
|
64
|
+
::Devise.cas_client.logout_url(destination_url, follow_url)
|
65
|
+
end
|
66
|
+
|
67
|
+
redirect_to(logout_url)
|
58
68
|
end
|
59
69
|
|
60
70
|
def single_sign_out
|
@@ -108,11 +118,11 @@ class Devise::CasSessionsController < Devise::SessionsController
|
|
108
118
|
end
|
109
119
|
|
110
120
|
def returning_from_cas?
|
111
|
-
params[:ticket] || request.referer =~ /^#{::Devise.cas_client.cas_base_url}/
|
121
|
+
params[:ticket] || request.referer =~ /^#{::Devise.cas_client.cas_base_url}/ || request.referer =~ /^#{url_for :action => "service"}/
|
112
122
|
end
|
113
|
-
|
123
|
+
|
114
124
|
def cas_login_url
|
115
125
|
::Devise.cas_client.add_service_to_login_url(::Devise.cas_service_url(request.url, devise_mapping))
|
116
126
|
end
|
117
127
|
helper_method :cas_login_url
|
118
|
-
end
|
128
|
+
end
|
@@ -2,11 +2,12 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{devise_cas_authenticatable}
|
5
|
-
s.version = "1.1.
|
5
|
+
s.version = "1.1.3"
|
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"]
|
9
9
|
s.description = %q{CAS authentication module for Devise}
|
10
|
+
s.license = "MIT"
|
10
11
|
s.email = %q{natbudin@gmail.com}
|
11
12
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
12
13
|
s.files = `git ls-files`.split("\n")
|
@@ -24,7 +25,7 @@ Gem::Specification.new do |s|
|
|
24
25
|
s.add_runtime_dependency(%q<rubycas-client>, [">= 2.2.1"])
|
25
26
|
|
26
27
|
s.add_development_dependency("rails", ">= 3.0.7")
|
27
|
-
s.add_development_dependency("rspec-rails"
|
28
|
+
s.add_development_dependency("rspec-rails")
|
28
29
|
s.add_development_dependency("mocha")
|
29
30
|
s.add_development_dependency("shoulda")
|
30
31
|
s.add_development_dependency("sqlite3-ruby")
|
@@ -27,7 +27,7 @@ module Devise
|
|
27
27
|
find(:first, :conditions => conditions)
|
28
28
|
end
|
29
29
|
|
30
|
-
resource = new(conditions) if (resource.nil? and
|
30
|
+
resource = new(conditions) if (resource.nil? and should_create_cas_users?)
|
31
31
|
return nil unless resource
|
32
32
|
|
33
33
|
if resource.respond_to? :cas_extra_attributes=
|
@@ -37,6 +37,11 @@ module Devise
|
|
37
37
|
resource
|
38
38
|
end
|
39
39
|
end
|
40
|
+
|
41
|
+
private
|
42
|
+
def should_create_cas_users?
|
43
|
+
respond_to?(:cas_create_user?) ? cas_create_user? : ::Devise.cas_create_user?
|
44
|
+
end
|
40
45
|
end
|
41
46
|
end
|
42
47
|
end
|
@@ -13,7 +13,7 @@ if ActionController::Routing.name =~ /ActionDispatch/
|
|
13
13
|
get :new, :path => mapping.path_names[:sign_in], :as => "new"
|
14
14
|
get :unregistered
|
15
15
|
post :create, :path => mapping.path_names[:sign_in]
|
16
|
-
match :destroy, :path => mapping.path_names[:sign_out], :as => "destroy"
|
16
|
+
match :destroy, :path => mapping.path_names[:sign_out], :as => "destroy", :via => [:get, :post]
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
@@ -1,14 +1,16 @@
|
|
1
1
|
class CreateTables < ActiveRecord::Migration
|
2
2
|
def self.up
|
3
3
|
create_table :users do |t|
|
4
|
-
t.
|
5
|
-
t.
|
4
|
+
t.string :username, :null => false
|
5
|
+
t.datetime :remember_created_at
|
6
6
|
t.string :email
|
7
7
|
t.timestamps
|
8
8
|
end
|
9
|
+
|
10
|
+
add_index :users, :username, :unique => true
|
9
11
|
end
|
10
12
|
|
11
13
|
def self.down
|
12
14
|
drop_table :users
|
13
15
|
end
|
14
|
-
end
|
16
|
+
end
|
data/spec/strategy_spec.rb
CHANGED
@@ -64,6 +64,19 @@ describe Devise::Strategies::CasAuthenticatable, :type => "acceptance" do
|
|
64
64
|
sign_into_cas "invaliduser", "invalidpassword"
|
65
65
|
current_url.should_not == root_url
|
66
66
|
end
|
67
|
+
|
68
|
+
describe "with a deactivated user" do
|
69
|
+
before do
|
70
|
+
@user = User.first
|
71
|
+
@user.deactivated = true
|
72
|
+
@user.save!
|
73
|
+
end
|
74
|
+
|
75
|
+
it "should fail to sign in" do
|
76
|
+
sign_into_cas "joeuser", "joepassword"
|
77
|
+
current_url.should == new_user_session_url
|
78
|
+
end
|
79
|
+
end
|
67
80
|
|
68
81
|
it "should register new CAS users if set up to do so" do
|
69
82
|
User.count.should == 1
|
@@ -75,6 +88,29 @@ describe Devise::Strategies::CasAuthenticatable, :type => "acceptance" do
|
|
75
88
|
User.count.should == 2
|
76
89
|
User.find_by_username("newuser").should_not be_nil
|
77
90
|
end
|
91
|
+
|
92
|
+
it "should register new CAS users if we're overriding the cas_create_user? method" do
|
93
|
+
begin
|
94
|
+
class << User
|
95
|
+
def cas_create_user?
|
96
|
+
true
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
User.count.should == 1
|
101
|
+
TestAdapter.register_valid_user("newuser", "newpassword")
|
102
|
+
Devise.cas_create_user = false
|
103
|
+
sign_into_cas "newuser", "newpassword"
|
104
|
+
|
105
|
+
current_url.should == root_url
|
106
|
+
User.count.should == 2
|
107
|
+
User.find_by_username("newuser").should_not be_nil
|
108
|
+
ensure
|
109
|
+
class << User
|
110
|
+
remove_method :cas_create_user?
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
78
114
|
|
79
115
|
it "should fail CAS login if user is unregistered and cas_create_user is false" do
|
80
116
|
User.count.should == 1
|
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.1.
|
4
|
+
version: 1.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2013-01-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: devise
|
17
|
-
requirement:
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,15 @@ dependencies:
|
|
22
22
|
version: 1.0.6
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements:
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: 1.0.6
|
26
31
|
- !ruby/object:Gem::Dependency
|
27
32
|
name: rubycas-client
|
28
|
-
requirement:
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
29
34
|
none: false
|
30
35
|
requirements:
|
31
36
|
- - ! '>='
|
@@ -33,10 +38,15 @@ dependencies:
|
|
33
38
|
version: 2.2.1
|
34
39
|
type: :runtime
|
35
40
|
prerelease: false
|
36
|
-
version_requirements:
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 2.2.1
|
37
47
|
- !ruby/object:Gem::Dependency
|
38
48
|
name: rails
|
39
|
-
requirement:
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
40
50
|
none: false
|
41
51
|
requirements:
|
42
52
|
- - ! '>='
|
@@ -44,21 +54,31 @@ dependencies:
|
|
44
54
|
version: 3.0.7
|
45
55
|
type: :development
|
46
56
|
prerelease: false
|
47
|
-
version_requirements:
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 3.0.7
|
48
63
|
- !ruby/object:Gem::Dependency
|
49
64
|
name: rspec-rails
|
50
|
-
requirement:
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
51
66
|
none: false
|
52
67
|
requirements:
|
53
68
|
- - ! '>='
|
54
69
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
70
|
+
version: '0'
|
56
71
|
type: :development
|
57
72
|
prerelease: false
|
58
|
-
version_requirements:
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
59
79
|
- !ruby/object:Gem::Dependency
|
60
80
|
name: mocha
|
61
|
-
requirement:
|
81
|
+
requirement: !ruby/object:Gem::Requirement
|
62
82
|
none: false
|
63
83
|
requirements:
|
64
84
|
- - ! '>='
|
@@ -66,10 +86,15 @@ dependencies:
|
|
66
86
|
version: '0'
|
67
87
|
type: :development
|
68
88
|
prerelease: false
|
69
|
-
version_requirements:
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
91
|
+
requirements:
|
92
|
+
- - ! '>='
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0'
|
70
95
|
- !ruby/object:Gem::Dependency
|
71
96
|
name: shoulda
|
72
|
-
requirement:
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
73
98
|
none: false
|
74
99
|
requirements:
|
75
100
|
- - ! '>='
|
@@ -77,10 +102,15 @@ dependencies:
|
|
77
102
|
version: '0'
|
78
103
|
type: :development
|
79
104
|
prerelease: false
|
80
|
-
version_requirements:
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
81
111
|
- !ruby/object:Gem::Dependency
|
82
112
|
name: sqlite3-ruby
|
83
|
-
requirement:
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
84
114
|
none: false
|
85
115
|
requirements:
|
86
116
|
- - ! '>='
|
@@ -88,10 +118,15 @@ dependencies:
|
|
88
118
|
version: '0'
|
89
119
|
type: :development
|
90
120
|
prerelease: false
|
91
|
-
version_requirements:
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
123
|
+
requirements:
|
124
|
+
- - ! '>='
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
92
127
|
- !ruby/object:Gem::Dependency
|
93
128
|
name: sham_rack
|
94
|
-
requirement:
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
95
130
|
none: false
|
96
131
|
requirements:
|
97
132
|
- - ! '>='
|
@@ -99,10 +134,15 @@ dependencies:
|
|
99
134
|
version: '0'
|
100
135
|
type: :development
|
101
136
|
prerelease: false
|
102
|
-
version_requirements:
|
137
|
+
version_requirements: !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
103
143
|
- !ruby/object:Gem::Dependency
|
104
144
|
name: capybara
|
105
|
-
requirement:
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
106
146
|
none: false
|
107
147
|
requirements:
|
108
148
|
- - ! '>='
|
@@ -110,10 +150,15 @@ dependencies:
|
|
110
150
|
version: '0'
|
111
151
|
type: :development
|
112
152
|
prerelease: false
|
113
|
-
version_requirements:
|
153
|
+
version_requirements: !ruby/object:Gem::Requirement
|
154
|
+
none: false
|
155
|
+
requirements:
|
156
|
+
- - ! '>='
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0'
|
114
159
|
- !ruby/object:Gem::Dependency
|
115
160
|
name: crypt-isaac
|
116
|
-
requirement:
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
117
162
|
none: false
|
118
163
|
requirements:
|
119
164
|
- - ! '>='
|
@@ -121,10 +166,15 @@ dependencies:
|
|
121
166
|
version: '0'
|
122
167
|
type: :development
|
123
168
|
prerelease: false
|
124
|
-
version_requirements:
|
169
|
+
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
none: false
|
171
|
+
requirements:
|
172
|
+
- - ! '>='
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
125
175
|
- !ruby/object:Gem::Dependency
|
126
176
|
name: launchy
|
127
|
-
requirement:
|
177
|
+
requirement: !ruby/object:Gem::Requirement
|
128
178
|
none: false
|
129
179
|
requirements:
|
130
180
|
- - ! '>='
|
@@ -132,10 +182,15 @@ dependencies:
|
|
132
182
|
version: '0'
|
133
183
|
type: :development
|
134
184
|
prerelease: false
|
135
|
-
version_requirements:
|
185
|
+
version_requirements: !ruby/object:Gem::Requirement
|
186
|
+
none: false
|
187
|
+
requirements:
|
188
|
+
- - ! '>='
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: '0'
|
136
191
|
- !ruby/object:Gem::Dependency
|
137
192
|
name: pry
|
138
|
-
requirement:
|
193
|
+
requirement: !ruby/object:Gem::Requirement
|
139
194
|
none: false
|
140
195
|
requirements:
|
141
196
|
- - ! '>='
|
@@ -143,7 +198,12 @@ dependencies:
|
|
143
198
|
version: '0'
|
144
199
|
type: :development
|
145
200
|
prerelease: false
|
146
|
-
version_requirements:
|
201
|
+
version_requirements: !ruby/object:Gem::Requirement
|
202
|
+
none: false
|
203
|
+
requirements:
|
204
|
+
- - ! '>='
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '0'
|
147
207
|
description: CAS authentication module for Devise
|
148
208
|
email: natbudin@gmail.com
|
149
209
|
executables: []
|
@@ -156,7 +216,16 @@ files:
|
|
156
216
|
- .travis.yml
|
157
217
|
- CHANGELOG.md
|
158
218
|
- Gemfile
|
219
|
+
- Gemfile.devise10
|
220
|
+
- Gemfile.devise11
|
221
|
+
- Gemfile.devise12
|
222
|
+
- Gemfile.devise13
|
223
|
+
- Gemfile.devise14
|
224
|
+
- Gemfile.devise15
|
225
|
+
- Gemfile.devise20
|
226
|
+
- Gemfile.devise21
|
159
227
|
- Gemfile.lock
|
228
|
+
- LICENSE
|
160
229
|
- README.md
|
161
230
|
- Rakefile
|
162
231
|
- app/controllers/devise/cas_sessions_controller.rb
|
@@ -204,13 +273,15 @@ files:
|
|
204
273
|
- spec/scenario/config/rubycas-server.yml
|
205
274
|
- spec/scenario/db/migrate/20100401102949_create_tables.rb
|
206
275
|
- spec/scenario/db/migrate/20111002012903_add_sessions_table.rb
|
276
|
+
- spec/scenario/db/migrate/20121009092400_add_deactivated_flag_to_users.rb
|
207
277
|
- spec/scenario/db/schema.rb
|
208
278
|
- spec/scenario/public/.gitkeep
|
209
279
|
- spec/spec_helper.rb
|
210
280
|
- spec/strategy_spec.rb
|
211
281
|
- spec/support/migrations.rb
|
212
282
|
homepage: http://github.com/nbudin/devise_cas_authenticatable
|
213
|
-
licenses:
|
283
|
+
licenses:
|
284
|
+
- MIT
|
214
285
|
post_install_message:
|
215
286
|
rdoc_options: []
|
216
287
|
require_paths:
|
@@ -223,7 +294,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
223
294
|
version: '0'
|
224
295
|
segments:
|
225
296
|
- 0
|
226
|
-
hash:
|
297
|
+
hash: -757729412372819420
|
227
298
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
228
299
|
none: false
|
229
300
|
requirements:
|
@@ -232,7 +303,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
303
|
version: 1.3.1
|
233
304
|
requirements: []
|
234
305
|
rubyforge_project:
|
235
|
-
rubygems_version: 1.8.
|
306
|
+
rubygems_version: 1.8.23
|
236
307
|
signing_key:
|
237
308
|
specification_version: 3
|
238
309
|
summary: CAS authentication module for Devise
|
@@ -265,6 +336,7 @@ test_files:
|
|
265
336
|
- spec/scenario/config/rubycas-server.yml
|
266
337
|
- spec/scenario/db/migrate/20100401102949_create_tables.rb
|
267
338
|
- spec/scenario/db/migrate/20111002012903_add_sessions_table.rb
|
339
|
+
- spec/scenario/db/migrate/20121009092400_add_deactivated_flag_to_users.rb
|
268
340
|
- spec/scenario/db/schema.rb
|
269
341
|
- spec/scenario/public/.gitkeep
|
270
342
|
- spec/spec_helper.rb
|