devise_cas_authenticatable 1.0.0.alpha10 → 1.0.0.alpha11
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +7 -0
- data/Gemfile +2 -15
- data/Gemfile.lock +25 -30
- data/Rakefile +4 -26
- data/app/views/devise/cas_sessions/unregistered.html.erb +2 -1
- data/devise_cas_authenticatable.gemspec +17 -99
- data/lib/devise_cas_authenticatable/routes.rb +1 -1
- data/spec/routes_spec.rb +25 -7
- data/spec/scenario/config/initializers/castronaut.rb +1 -0
- data/spec/scenario/db/schema.rb +24 -0
- metadata +143 -102
- data/VERSION +0 -1
data/.gitignore
ADDED
data/Gemfile
CHANGED
@@ -1,21 +1,8 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
|
-
gem
|
4
|
-
|
5
|
-
group :development do
|
6
|
-
gem "ruby-debug"
|
7
|
-
gem "jeweler"
|
8
|
-
end
|
3
|
+
# Specify your gem's dependencies in devise_cas_authenticatable.gemspec
|
4
|
+
gemspec
|
9
5
|
|
10
6
|
group :test do
|
11
|
-
gem "rails", ">= 3.0.7"
|
12
|
-
gem "rspec-rails", ">= 2.5.0"
|
13
|
-
gem "mocha"
|
14
|
-
gem "shoulda"
|
15
|
-
gem "sqlite3-ruby"
|
16
|
-
gem "sham_rack"
|
17
|
-
gem "capybara"
|
18
7
|
gem 'castronaut', :git => 'https://github.com/nbudin/castronaut.git', :branch => 'dam5s-merge'
|
19
|
-
gem 'crypt-isaac'
|
20
|
-
gem 'launchy'
|
21
8
|
end
|
data/Gemfile.lock
CHANGED
@@ -14,6 +14,13 @@ GIT
|
|
14
14
|
sinatra (~> 1.0)
|
15
15
|
sqlite3 (~> 1.3.1)
|
16
16
|
|
17
|
+
PATH
|
18
|
+
remote: .
|
19
|
+
specs:
|
20
|
+
devise_cas_authenticatable (1.0.0.alpha11)
|
21
|
+
devise (>= 1.0.6)
|
22
|
+
rubycas-client (>= 2.2.1)
|
23
|
+
|
17
24
|
GEM
|
18
25
|
remote: http://rubygems.org/
|
19
26
|
specs:
|
@@ -45,7 +52,7 @@ GEM
|
|
45
52
|
activesupport (= 3.0.7)
|
46
53
|
activesupport (3.0.7)
|
47
54
|
arel (2.0.9)
|
48
|
-
bcrypt-ruby (
|
55
|
+
bcrypt-ruby (3.0.1)
|
49
56
|
builder (2.1.2)
|
50
57
|
capybara (0.4.1.1)
|
51
58
|
celerity (>= 0.7.9)
|
@@ -59,31 +66,24 @@ GEM
|
|
59
66
|
celerity (0.8.7)
|
60
67
|
childprocess (0.1.6)
|
61
68
|
ffi (~> 0.6.3)
|
62
|
-
columnize (0.3.1)
|
63
69
|
configuration (1.2.0)
|
64
70
|
crypt-isaac (0.9.1)
|
65
71
|
culerity (0.2.15)
|
66
|
-
devise (1.
|
67
|
-
bcrypt-ruby (~>
|
72
|
+
devise (1.4.5)
|
73
|
+
bcrypt-ruby (~> 3.0)
|
68
74
|
orm_adapter (~> 0.0.3)
|
69
75
|
warden (~> 1.0.3)
|
70
|
-
diff-lcs (1.1.
|
76
|
+
diff-lcs (1.1.3)
|
71
77
|
erubis (2.6.6)
|
72
78
|
abstract (>= 1.0.0)
|
73
79
|
ffi (0.6.3)
|
74
80
|
rake (>= 0.8.7)
|
75
|
-
git (1.2.5)
|
76
81
|
i18n (0.5.0)
|
77
|
-
jeweler (1.5.2)
|
78
|
-
bundler (~> 1.0.0)
|
79
|
-
git (>= 1.2.5)
|
80
|
-
rake
|
81
82
|
json (1.5.1)
|
82
83
|
json_pure (1.5.0)
|
83
84
|
launchy (0.3.7)
|
84
85
|
configuration (>= 0.0.5)
|
85
86
|
rake (>= 0.8.1)
|
86
|
-
linecache (0.43)
|
87
87
|
mail (2.2.19)
|
88
88
|
activesupport (>= 2.3.6)
|
89
89
|
i18n (>= 0.4.0)
|
@@ -115,25 +115,22 @@ GEM
|
|
115
115
|
rake (>= 0.8.7)
|
116
116
|
thor (~> 0.14.4)
|
117
117
|
rake (0.8.7)
|
118
|
-
rspec (2.
|
119
|
-
rspec-core (~> 2.
|
120
|
-
rspec-expectations (~> 2.
|
121
|
-
rspec-mocks (~> 2.
|
122
|
-
rspec-core (2.
|
123
|
-
rspec-expectations (2.
|
118
|
+
rspec (2.6.0)
|
119
|
+
rspec-core (~> 2.6.0)
|
120
|
+
rspec-expectations (~> 2.6.0)
|
121
|
+
rspec-mocks (~> 2.6.0)
|
122
|
+
rspec-core (2.6.4)
|
123
|
+
rspec-expectations (2.6.0)
|
124
124
|
diff-lcs (~> 1.1.2)
|
125
|
-
rspec-mocks (2.
|
126
|
-
rspec-rails (2.
|
125
|
+
rspec-mocks (2.6.0)
|
126
|
+
rspec-rails (2.6.1)
|
127
127
|
actionpack (~> 3.0)
|
128
128
|
activesupport (~> 3.0)
|
129
129
|
railties (~> 3.0)
|
130
|
-
rspec (~> 2.
|
131
|
-
ruby-debug (0.10.4)
|
132
|
-
columnize (>= 0.1)
|
133
|
-
ruby-debug-base (~> 0.10.4.0)
|
134
|
-
ruby-debug-base (0.10.4)
|
135
|
-
linecache (>= 0.3)
|
130
|
+
rspec (~> 2.6.0)
|
136
131
|
ruby-net-ldap (0.0.4)
|
132
|
+
rubycas-client (2.2.1)
|
133
|
+
activesupport
|
137
134
|
rubyzip (0.9.4)
|
138
135
|
selenium-webdriver (0.1.2)
|
139
136
|
childprocess (~> 0.1.5)
|
@@ -154,7 +151,7 @@ GEM
|
|
154
151
|
treetop (1.4.9)
|
155
152
|
polyglot (>= 0.3.1)
|
156
153
|
tzinfo (0.3.27)
|
157
|
-
warden (1.0.
|
154
|
+
warden (1.0.5)
|
158
155
|
rack (>= 1.0)
|
159
156
|
xpath (0.1.3)
|
160
157
|
nokogiri (~> 1.3)
|
@@ -166,13 +163,11 @@ DEPENDENCIES
|
|
166
163
|
capybara
|
167
164
|
castronaut!
|
168
165
|
crypt-isaac
|
169
|
-
|
170
|
-
jeweler
|
166
|
+
devise_cas_authenticatable!
|
171
167
|
launchy
|
172
168
|
mocha
|
173
169
|
rails (>= 3.0.7)
|
174
|
-
rspec-rails (>= 2.
|
175
|
-
ruby-debug
|
170
|
+
rspec-rails (>= 2.6.1)
|
176
171
|
sham_rack
|
177
172
|
shoulda
|
178
173
|
sqlite3-ruby
|
data/Rakefile
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
require 'bundler/gem_tasks'
|
2
3
|
|
3
4
|
Bundler.setup
|
4
5
|
|
@@ -9,9 +10,6 @@ require 'rspec/core/rake_task'
|
|
9
10
|
|
10
11
|
RSpec::Core::RakeTask.new(:spec)
|
11
12
|
|
12
|
-
desc 'Default: run specs.'
|
13
|
-
task :default => :spec
|
14
|
-
|
15
13
|
desc 'Generate documentation for the devise_cas_authenticatable plugin.'
|
16
14
|
Rake::RDocTask.new(:rdoc) do |rdoc|
|
17
15
|
rdoc.rdoc_dir = 'rdoc'
|
@@ -21,26 +19,6 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
|
|
21
19
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
22
20
|
end
|
23
21
|
|
22
|
+
require File.expand_path('../spec/scenario/config/application', __FILE__)
|
24
23
|
|
25
|
-
|
26
|
-
require 'jeweler'
|
27
|
-
Jeweler::Tasks.new do |gemspec|
|
28
|
-
gemspec.name = "devise_cas_authenticatable"
|
29
|
-
gemspec.summary = "CAS authentication module for Devise"
|
30
|
-
gemspec.description = "CAS authentication module for Devise"
|
31
|
-
gemspec.email = "natbudin@gmail.com"
|
32
|
-
gemspec.homepage = "http://github.com/nbudin/devise_cas_authenticatable"
|
33
|
-
gemspec.authors = ["Nat Budin"]
|
34
|
-
gemspec.add_runtime_dependency "devise", ">= 1.0.6"
|
35
|
-
gemspec.add_runtime_dependency "rubycas-client", ">= 2.2.1"
|
36
|
-
end
|
37
|
-
Jeweler::RubygemsDotOrgTasks.new
|
38
|
-
rescue LoadError
|
39
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
40
|
-
end
|
41
|
-
|
42
|
-
namespace :scenario do
|
43
|
-
require File.expand_path('../spec/scenario/config/application', __FILE__)
|
44
|
-
|
45
|
-
Scenario::Application.load_tasks
|
46
|
-
end
|
24
|
+
Scenario::Application.load_tasks
|
@@ -1,2 +1,3 @@
|
|
1
1
|
<p>The user <%=h params[:username] %> is not registered with this site.
|
2
|
-
Please <%= link_to "sign in using a different account",
|
2
|
+
Please <%= link_to "sign in using a different account",
|
3
|
+
Devise.cas_client.logout_url(send("new_#{resource_name}_session_url")) %>.</p>
|
@@ -1,118 +1,36 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
1
|
# -*- encoding: utf-8 -*-
|
5
2
|
|
6
3
|
Gem::Specification.new do |s|
|
7
4
|
s.name = %q{devise_cas_authenticatable}
|
8
|
-
s.version = "1.0.0.
|
5
|
+
s.version = "1.0.0.alpha11"
|
9
6
|
|
10
7
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
8
|
s.authors = ["Nat Budin"]
|
12
|
-
s.date = %q{2011-06-08}
|
13
9
|
s.description = %q{CAS authentication module for Devise}
|
14
10
|
s.email = %q{natbudin@gmail.com}
|
11
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
12
|
+
s.files = `git ls-files`.split("\n")
|
13
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
15
14
|
s.extra_rdoc_files = [
|
16
15
|
"README.md"
|
17
16
|
]
|
18
|
-
|
19
|
-
".project",
|
20
|
-
"Gemfile",
|
21
|
-
"Gemfile.lock",
|
22
|
-
"README.md",
|
23
|
-
"Rakefile",
|
24
|
-
"VERSION",
|
25
|
-
"app/controllers/devise/cas_sessions_controller.rb",
|
26
|
-
"app/views/devise/cas_sessions/new.html.erb",
|
27
|
-
"app/views/devise/cas_sessions/unregistered.html.erb",
|
28
|
-
"devise_cas_authenticatable.gemspec",
|
29
|
-
"lib/devise_cas_authenticatable.rb",
|
30
|
-
"lib/devise_cas_authenticatable/exceptions.rb",
|
31
|
-
"lib/devise_cas_authenticatable/model.rb",
|
32
|
-
"lib/devise_cas_authenticatable/routes.rb",
|
33
|
-
"lib/devise_cas_authenticatable/schema.rb",
|
34
|
-
"lib/devise_cas_authenticatable/strategy.rb",
|
35
|
-
"rails/init.rb",
|
36
|
-
"spec/routes_spec.rb",
|
37
|
-
"spec/scenario/.gitignore",
|
38
|
-
"spec/scenario/app/controllers/application_controller.rb",
|
39
|
-
"spec/scenario/app/controllers/home_controller.rb",
|
40
|
-
"spec/scenario/app/models/user.rb",
|
41
|
-
"spec/scenario/app/views/layouts/application.html.erb",
|
42
|
-
"spec/scenario/config.ru",
|
43
|
-
"spec/scenario/config/application.rb",
|
44
|
-
"spec/scenario/config/boot.rb",
|
45
|
-
"spec/scenario/config/castronaut.yml",
|
46
|
-
"spec/scenario/config/database.yml",
|
47
|
-
"spec/scenario/config/environment.rb",
|
48
|
-
"spec/scenario/config/environments/development.rb",
|
49
|
-
"spec/scenario/config/environments/production.rb",
|
50
|
-
"spec/scenario/config/environments/test.rb",
|
51
|
-
"spec/scenario/config/initializers/backtrace_silencers.rb",
|
52
|
-
"spec/scenario/config/initializers/devise.rb",
|
53
|
-
"spec/scenario/config/initializers/inflections.rb",
|
54
|
-
"spec/scenario/config/initializers/mime_types.rb",
|
55
|
-
"spec/scenario/config/initializers/secret_token.rb",
|
56
|
-
"spec/scenario/config/initializers/session_store.rb",
|
57
|
-
"spec/scenario/config/locales/en.yml",
|
58
|
-
"spec/scenario/config/routes.rb",
|
59
|
-
"spec/scenario/config/rubycas-server.yml",
|
60
|
-
"spec/scenario/db/migrate/20100401102949_create_tables.rb",
|
61
|
-
"spec/scenario/public/.gitkeep",
|
62
|
-
"spec/spec_helper.rb",
|
63
|
-
"spec/strategy_spec.rb",
|
64
|
-
"spec/support/migrations.rb"
|
65
|
-
]
|
17
|
+
|
66
18
|
s.homepage = %q{http://github.com/nbudin/devise_cas_authenticatable}
|
67
19
|
s.require_paths = ["lib"]
|
68
20
|
s.rubygems_version = %q{1.5.0}
|
69
21
|
s.summary = %q{CAS authentication module for Devise}
|
70
|
-
s.test_files = [
|
71
|
-
"spec/routes_spec.rb",
|
72
|
-
"spec/scenario/app/controllers/application_controller.rb",
|
73
|
-
"spec/scenario/app/controllers/home_controller.rb",
|
74
|
-
"spec/scenario/app/models/user.rb",
|
75
|
-
"spec/scenario/config/application.rb",
|
76
|
-
"spec/scenario/config/boot.rb",
|
77
|
-
"spec/scenario/config/environment.rb",
|
78
|
-
"spec/scenario/config/environments/development.rb",
|
79
|
-
"spec/scenario/config/environments/production.rb",
|
80
|
-
"spec/scenario/config/environments/test.rb",
|
81
|
-
"spec/scenario/config/initializers/backtrace_silencers.rb",
|
82
|
-
"spec/scenario/config/initializers/devise.rb",
|
83
|
-
"spec/scenario/config/initializers/inflections.rb",
|
84
|
-
"spec/scenario/config/initializers/mime_types.rb",
|
85
|
-
"spec/scenario/config/initializers/secret_token.rb",
|
86
|
-
"spec/scenario/config/initializers/session_store.rb",
|
87
|
-
"spec/scenario/config/routes.rb",
|
88
|
-
"spec/scenario/db/migrate/20100401102949_create_tables.rb",
|
89
|
-
"spec/spec_helper.rb",
|
90
|
-
"spec/strategy_spec.rb",
|
91
|
-
"spec/support/migrations.rb"
|
92
|
-
]
|
93
|
-
|
94
|
-
if s.respond_to? :specification_version then
|
95
|
-
s.specification_version = 3
|
96
22
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
end
|
110
|
-
else
|
111
|
-
s.add_dependency(%q<devise>, [">= 0"])
|
112
|
-
s.add_dependency(%q<ruby-debug>, [">= 0"])
|
113
|
-
s.add_dependency(%q<jeweler>, [">= 0"])
|
114
|
-
s.add_dependency(%q<devise>, [">= 1.0.6"])
|
115
|
-
s.add_dependency(%q<rubycas-client>, [">= 2.2.1"])
|
116
|
-
end
|
23
|
+
s.add_runtime_dependency(%q<devise>, [">= 1.0.6"])
|
24
|
+
s.add_runtime_dependency(%q<rubycas-client>, [">= 2.2.1"])
|
25
|
+
|
26
|
+
s.add_development_dependency("rails", ">= 3.0.7")
|
27
|
+
s.add_development_dependency("rspec-rails", ">= 2.6.1")
|
28
|
+
s.add_development_dependency("mocha")
|
29
|
+
s.add_development_dependency("shoulda")
|
30
|
+
s.add_development_dependency("sqlite3-ruby")
|
31
|
+
s.add_development_dependency("sham_rack")
|
32
|
+
s.add_development_dependency("capybara")
|
33
|
+
s.add_development_dependency('crypt-isaac')
|
34
|
+
s.add_development_dependency('launchy')
|
117
35
|
end
|
118
36
|
|
@@ -24,7 +24,7 @@ else
|
|
24
24
|
|
25
25
|
def cas_authenticatable(routes, mapping)
|
26
26
|
routes.with_options(:controller => 'devise/cas_sessions', :name_prefix => nil) do |session|
|
27
|
-
session.send(:"#{mapping.name}_service", '/', :action => 'service', :conditions => {:method => :get})
|
27
|
+
session.send(:"#{mapping.name}_service", '/service', :action => 'service', :conditions => {:method => :get})
|
28
28
|
session.send(:"unregistered_#{mapping.name}_session", '/unregistered', :action => "unregistered", :conditions => {:method => :get})
|
29
29
|
session.send(:"new_#{mapping.name}_session", mapping.path_names[:sign_in], :action => 'new', :conditions => {:method => :get})
|
30
30
|
session.send(:"#{mapping.name}_session", mapping.path_names[:sign_in], :action => 'create', :conditions => {:method => :post})
|
data/spec/routes_spec.rb
CHANGED
@@ -1,13 +1,31 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
describe
|
4
|
-
include RSpec::Rails::
|
3
|
+
describe "routing" do
|
4
|
+
include RSpec::Rails::RoutingExampleGroup
|
5
|
+
|
6
|
+
it "routes to #service" do
|
7
|
+
get("/users/service").should route_to("devise/cas_sessions#service")
|
8
|
+
end
|
9
|
+
|
10
|
+
it "routes to #new" do
|
11
|
+
get("/users/sign_in").should route_to("devise/cas_sessions#new")
|
12
|
+
end
|
13
|
+
|
14
|
+
it "routes to #create" do
|
15
|
+
post("/users/sign_in").should route_to("devise/cas_sessions#create")
|
16
|
+
end
|
17
|
+
|
18
|
+
it "routes to #destroy" do
|
19
|
+
get("/users/sign_out").should route_to("devise/cas_sessions#destroy")
|
20
|
+
end
|
5
21
|
|
6
|
-
it
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
22
|
+
it "routes to #unregistered" do
|
23
|
+
get("/users/unregistered").should route_to("devise/cas_sessions#unregistered")
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
describe Devise::CasSessionsController do
|
28
|
+
include RSpec::Rails::ControllerExampleGroup
|
11
29
|
|
12
30
|
it "should have the right route names" do
|
13
31
|
controller.should respond_to("user_service_path", "new_user_session_path", "user_session_path", "destroy_user_session_path")
|
@@ -0,0 +1 @@
|
|
1
|
+
Castronaut.config.connect_activerecord
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# This file is auto-generated from the current state of the database. Instead
|
2
|
+
# of editing this file, please use the migrations feature of Active Record to
|
3
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
+
#
|
5
|
+
# Note that this schema.rb definition is the authoritative source for your
|
6
|
+
# database schema. If you need to create the application database on another
|
7
|
+
# system, you should be using db:schema:load, not running all the migrations
|
8
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
9
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
10
|
+
#
|
11
|
+
# It's strongly recommended to check this file into your version control system.
|
12
|
+
|
13
|
+
ActiveRecord::Schema.define(:version => 20100401102949) do
|
14
|
+
|
15
|
+
create_table "users", :force => true do |t|
|
16
|
+
t.string "username"
|
17
|
+
t.string "remember_token"
|
18
|
+
t.datetime "remember_created_at"
|
19
|
+
t.string "email"
|
20
|
+
t.datetime "created_at"
|
21
|
+
t.datetime "updated_at"
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
metadata
CHANGED
@@ -1,114 +1,151 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_cas_authenticatable
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.alpha11
|
5
5
|
prerelease: 6
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 0
|
10
|
-
- alpha
|
11
|
-
- 10
|
12
|
-
version: 1.0.0.alpha10
|
13
6
|
platform: ruby
|
14
|
-
authors:
|
7
|
+
authors:
|
15
8
|
- Nat Budin
|
16
9
|
autorequire:
|
17
10
|
bindir: bin
|
18
11
|
cert_chain: []
|
19
|
-
|
20
|
-
date: 2011-06-08 00:00:00 -04:00
|
12
|
+
date: 2011-09-16 00:00:00.000000000 -04:00
|
21
13
|
default_executable:
|
22
|
-
dependencies:
|
23
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: devise
|
17
|
+
requirement: &2158960580 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.6
|
24
23
|
type: :runtime
|
25
|
-
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *2158960580
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: rubycas-client
|
28
|
+
requirement: &2158959980 !ruby/object:Gem::Requirement
|
26
29
|
none: false
|
27
|
-
requirements:
|
28
|
-
- -
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
|
31
|
-
|
32
|
-
- 0
|
33
|
-
version: "0"
|
34
|
-
name: devise
|
35
|
-
version_requirements: *id001
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.2.1
|
34
|
+
type: :runtime
|
36
35
|
prerelease: false
|
37
|
-
|
36
|
+
version_requirements: *2158959980
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: rails
|
39
|
+
requirement: &2158959480 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 3.0.7
|
38
45
|
type: :development
|
39
|
-
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: *2158959480
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: rspec-rails
|
50
|
+
requirement: &2158958920 !ruby/object:Gem::Requirement
|
40
51
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
|
46
|
-
- 0
|
47
|
-
version: "0"
|
48
|
-
name: ruby-debug
|
49
|
-
version_requirements: *id002
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 2.6.1
|
56
|
+
type: :development
|
50
57
|
prerelease: false
|
51
|
-
|
58
|
+
version_requirements: *2158958920
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: mocha
|
61
|
+
requirement: &2158958500 !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
52
67
|
type: :development
|
53
|
-
|
68
|
+
prerelease: false
|
69
|
+
version_requirements: *2158958500
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: shoulda
|
72
|
+
requirement: &2158957800 !ruby/object:Gem::Requirement
|
54
73
|
none: false
|
55
|
-
requirements:
|
56
|
-
- -
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
|
59
|
-
|
60
|
-
- 0
|
61
|
-
version: "0"
|
62
|
-
name: jeweler
|
63
|
-
version_requirements: *id003
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :development
|
64
79
|
prerelease: false
|
65
|
-
|
66
|
-
|
67
|
-
|
80
|
+
version_requirements: *2158957800
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: sqlite3-ruby
|
83
|
+
requirement: &2158957240 !ruby/object:Gem::Requirement
|
68
84
|
none: false
|
69
|
-
requirements:
|
70
|
-
- -
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
|
73
|
-
|
74
|
-
- 1
|
75
|
-
- 0
|
76
|
-
- 6
|
77
|
-
version: 1.0.6
|
78
|
-
name: devise
|
79
|
-
version_requirements: *id004
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
type: :development
|
80
90
|
prerelease: false
|
81
|
-
|
82
|
-
|
83
|
-
|
91
|
+
version_requirements: *2158957240
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: sham_rack
|
94
|
+
requirement: &2158956680 !ruby/object:Gem::Requirement
|
84
95
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
type: :development
|
101
|
+
prerelease: false
|
102
|
+
version_requirements: *2158956680
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: capybara
|
105
|
+
requirement: &2158956260 !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
type: :development
|
96
112
|
prerelease: false
|
113
|
+
version_requirements: *2158956260
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: crypt-isaac
|
116
|
+
requirement: &2158955460 !ruby/object:Gem::Requirement
|
117
|
+
none: false
|
118
|
+
requirements:
|
119
|
+
- - ! '>='
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
type: :development
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: *2158955460
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: launchy
|
127
|
+
requirement: &2158954660 !ruby/object:Gem::Requirement
|
128
|
+
none: false
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: *2158954660
|
97
136
|
description: CAS authentication module for Devise
|
98
137
|
email: natbudin@gmail.com
|
99
138
|
executables: []
|
100
|
-
|
101
139
|
extensions: []
|
102
|
-
|
103
|
-
extra_rdoc_files:
|
140
|
+
extra_rdoc_files:
|
104
141
|
- README.md
|
105
|
-
files:
|
142
|
+
files:
|
143
|
+
- .gitignore
|
106
144
|
- .project
|
107
145
|
- Gemfile
|
108
146
|
- Gemfile.lock
|
109
147
|
- README.md
|
110
148
|
- Rakefile
|
111
|
-
- VERSION
|
112
149
|
- app/controllers/devise/cas_sessions_controller.rb
|
113
150
|
- app/views/devise/cas_sessions/new.html.erb
|
114
151
|
- app/views/devise/cas_sessions/unregistered.html.erb
|
@@ -136,6 +173,7 @@ files:
|
|
136
173
|
- spec/scenario/config/environments/production.rb
|
137
174
|
- spec/scenario/config/environments/test.rb
|
138
175
|
- spec/scenario/config/initializers/backtrace_silencers.rb
|
176
|
+
- spec/scenario/config/initializers/castronaut.rb
|
139
177
|
- spec/scenario/config/initializers/devise.rb
|
140
178
|
- spec/scenario/config/initializers/inflections.rb
|
141
179
|
- spec/scenario/config/initializers/mime_types.rb
|
@@ -145,6 +183,7 @@ files:
|
|
145
183
|
- spec/scenario/config/routes.rb
|
146
184
|
- spec/scenario/config/rubycas-server.yml
|
147
185
|
- spec/scenario/db/migrate/20100401102949_create_tables.rb
|
186
|
+
- spec/scenario/db/schema.rb
|
148
187
|
- spec/scenario/public/.gitkeep
|
149
188
|
- spec/spec_helper.rb
|
150
189
|
- spec/strategy_spec.rb
|
@@ -152,58 +191,60 @@ files:
|
|
152
191
|
has_rdoc: true
|
153
192
|
homepage: http://github.com/nbudin/devise_cas_authenticatable
|
154
193
|
licenses: []
|
155
|
-
|
156
194
|
post_install_message:
|
157
195
|
rdoc_options: []
|
158
|
-
|
159
|
-
require_paths:
|
196
|
+
require_paths:
|
160
197
|
- lib
|
161
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
198
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
162
199
|
none: false
|
163
|
-
requirements:
|
164
|
-
- -
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
|
167
|
-
segments:
|
200
|
+
requirements:
|
201
|
+
- - ! '>='
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
version: '0'
|
204
|
+
segments:
|
168
205
|
- 0
|
169
|
-
|
170
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
206
|
+
hash: 3233699978426426317
|
207
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
208
|
none: false
|
172
|
-
requirements:
|
173
|
-
- -
|
174
|
-
- !ruby/object:Gem::Version
|
175
|
-
hash: 25
|
176
|
-
segments:
|
177
|
-
- 1
|
178
|
-
- 3
|
179
|
-
- 1
|
209
|
+
requirements:
|
210
|
+
- - ! '>'
|
211
|
+
- !ruby/object:Gem::Version
|
180
212
|
version: 1.3.1
|
181
213
|
requirements: []
|
182
|
-
|
183
214
|
rubyforge_project:
|
184
|
-
rubygems_version: 1.
|
215
|
+
rubygems_version: 1.6.2
|
185
216
|
signing_key:
|
186
217
|
specification_version: 3
|
187
218
|
summary: CAS authentication module for Devise
|
188
|
-
test_files:
|
219
|
+
test_files:
|
189
220
|
- spec/routes_spec.rb
|
221
|
+
- spec/scenario/.gitignore
|
190
222
|
- spec/scenario/app/controllers/application_controller.rb
|
191
223
|
- spec/scenario/app/controllers/home_controller.rb
|
192
224
|
- spec/scenario/app/models/user.rb
|
225
|
+
- spec/scenario/app/views/layouts/application.html.erb
|
226
|
+
- spec/scenario/config.ru
|
193
227
|
- spec/scenario/config/application.rb
|
194
228
|
- spec/scenario/config/boot.rb
|
229
|
+
- spec/scenario/config/castronaut.yml
|
230
|
+
- spec/scenario/config/database.yml
|
195
231
|
- spec/scenario/config/environment.rb
|
196
232
|
- spec/scenario/config/environments/development.rb
|
197
233
|
- spec/scenario/config/environments/production.rb
|
198
234
|
- spec/scenario/config/environments/test.rb
|
199
235
|
- spec/scenario/config/initializers/backtrace_silencers.rb
|
236
|
+
- spec/scenario/config/initializers/castronaut.rb
|
200
237
|
- spec/scenario/config/initializers/devise.rb
|
201
238
|
- spec/scenario/config/initializers/inflections.rb
|
202
239
|
- spec/scenario/config/initializers/mime_types.rb
|
203
240
|
- spec/scenario/config/initializers/secret_token.rb
|
204
241
|
- spec/scenario/config/initializers/session_store.rb
|
242
|
+
- spec/scenario/config/locales/en.yml
|
205
243
|
- spec/scenario/config/routes.rb
|
244
|
+
- spec/scenario/config/rubycas-server.yml
|
206
245
|
- spec/scenario/db/migrate/20100401102949_create_tables.rb
|
246
|
+
- spec/scenario/db/schema.rb
|
247
|
+
- spec/scenario/public/.gitkeep
|
207
248
|
- spec/spec_helper.rb
|
208
249
|
- spec/strategy_spec.rb
|
209
250
|
- spec/support/migrations.rb
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.0.0.alpha10
|