authlogic_bushido 0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. data/.gitignore +17 -0
  2. data/.rspec +2 -0
  3. data/Gemfile +4 -0
  4. data/Rakefile +2 -0
  5. data/app/controllers/authlogic/cas/cas_authentication_controller.rb +7 -0
  6. data/app/controllers/authlogic/cas/cas_client_controller.rb +7 -0
  7. data/authlogic_bushido.gemspec +22 -0
  8. data/config/routes.rb +3 -0
  9. data/lib/authlogic_bushido.rb +1 -0
  10. data/lib/authlogic_cas/controller_actions/service.rb +72 -0
  11. data/lib/authlogic_cas/controller_actions/session.rb +32 -0
  12. data/lib/authlogic_cas/engine.rb +6 -0
  13. data/lib/authlogic_cas/rails_routes.rb +16 -0
  14. data/lib/authlogic_cas/single_sign_out/cache.rb +38 -0
  15. data/lib/authlogic_cas.rb +104 -0
  16. data/spec/authlogic_cas_spec.rb +150 -0
  17. data/spec/controllers/service_controller_spec.rb +51 -0
  18. data/spec/controllers/session_controller_spec.rb +31 -0
  19. data/spec/scenario/.gitignore +15 -0
  20. data/spec/scenario/Gemfile +5 -0
  21. data/spec/scenario/Rakefile +7 -0
  22. data/spec/scenario/app/assets/images/rails.png +0 -0
  23. data/spec/scenario/app/assets/javascripts/application.js +9 -0
  24. data/spec/scenario/app/assets/javascripts/main_controller.js.coffee +3 -0
  25. data/spec/scenario/app/assets/javascripts/user_sessions.js.coffee +3 -0
  26. data/spec/scenario/app/assets/javascripts/users.js.coffee +3 -0
  27. data/spec/scenario/app/assets/stylesheets/application.css +7 -0
  28. data/spec/scenario/app/assets/stylesheets/main_controller.css.scss +3 -0
  29. data/spec/scenario/app/assets/stylesheets/scaffolds.css.scss +56 -0
  30. data/spec/scenario/app/assets/stylesheets/user_sessions.css.scss +3 -0
  31. data/spec/scenario/app/assets/stylesheets/users.css.scss +3 -0
  32. data/spec/scenario/app/controllers/application_controller.rb +17 -0
  33. data/spec/scenario/app/controllers/main_controller.rb +8 -0
  34. data/spec/scenario/app/controllers/user_sessions_controller.rb +50 -0
  35. data/spec/scenario/app/controllers/users_controller.rb +86 -0
  36. data/spec/scenario/app/helpers/application_helper.rb +2 -0
  37. data/spec/scenario/app/helpers/main_controller_helper.rb +2 -0
  38. data/spec/scenario/app/helpers/user_sessions_helper.rb +2 -0
  39. data/spec/scenario/app/helpers/users_helper.rb +2 -0
  40. data/spec/scenario/app/mailers/.gitkeep +0 -0
  41. data/spec/scenario/app/models/.gitkeep +0 -0
  42. data/spec/scenario/app/models/user.rb +3 -0
  43. data/spec/scenario/app/models/user_session.rb +2 -0
  44. data/spec/scenario/app/views/layouts/application.html.erb +25 -0
  45. data/spec/scenario/app/views/main/another_cool_page.html.erb +3 -0
  46. data/spec/scenario/app/views/main/index.html.erb +2 -0
  47. data/spec/scenario/app/views/user_sessions/_form.html.erb +25 -0
  48. data/spec/scenario/app/views/user_sessions/edit.html.erb +3 -0
  49. data/spec/scenario/app/views/user_sessions/index.html.erb +25 -0
  50. data/spec/scenario/app/views/user_sessions/new.html.erb +5 -0
  51. data/spec/scenario/app/views/user_sessions/show.html.erb +15 -0
  52. data/spec/scenario/app/views/users/_form.html.erb +34 -0
  53. data/spec/scenario/app/views/users/edit.html.erb +6 -0
  54. data/spec/scenario/app/views/users/index.html.erb +27 -0
  55. data/spec/scenario/app/views/users/new.html.erb +5 -0
  56. data/spec/scenario/app/views/users/show.html.erb +20 -0
  57. data/spec/scenario/config/application.rb +54 -0
  58. data/spec/scenario/config/boot.rb +6 -0
  59. data/spec/scenario/config/environment.rb +17 -0
  60. data/spec/scenario/config/environments/development.rb +30 -0
  61. data/spec/scenario/config/environments/production.rb +60 -0
  62. data/spec/scenario/config/environments/test.rb +39 -0
  63. data/spec/scenario/config/initializers/authlogic_cas.rb +5 -0
  64. data/spec/scenario/config/initializers/backtrace_silencers.rb +7 -0
  65. data/spec/scenario/config/initializers/inflections.rb +10 -0
  66. data/spec/scenario/config/initializers/mime_types.rb +5 -0
  67. data/spec/scenario/config/initializers/secret_token.rb +7 -0
  68. data/spec/scenario/config/initializers/session_store.rb +8 -0
  69. data/spec/scenario/config/initializers/wrap_parameters.rb +14 -0
  70. data/spec/scenario/config/locales/en.yml +5 -0
  71. data/spec/scenario/config/routes.rb +16 -0
  72. data/spec/scenario/config.ru +4 -0
  73. data/spec/scenario/db/migrate/20120223141435_create_users.rb +17 -0
  74. data/spec/scenario/db/migrate/20120226154646_add_sessions_table.rb +16 -0
  75. data/spec/scenario/db/schema.rb +40 -0
  76. data/spec/scenario/db/seeds.rb +7 -0
  77. data/spec/scenario/script/rails +6 -0
  78. data/spec/single_sign_out/cache_spec.rb +47 -0
  79. data/spec/spec_helper.rb +22 -0
  80. metadata +243 -0
@@ -0,0 +1,39 @@
1
+ Altry::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Configure static asset server for tests with Cache-Control for performance
11
+ config.serve_static_assets = true
12
+ config.static_cache_control = "public, max-age=3600"
13
+
14
+ # Log error messages when you accidentally call methods on nil
15
+ config.whiny_nils = true
16
+
17
+ # Show full error reports and disable caching
18
+ config.consider_all_requests_local = true
19
+ config.action_controller.perform_caching = false
20
+
21
+ # Raise exceptions instead of rendering exception templates
22
+ config.action_dispatch.show_exceptions = false
23
+
24
+ # Disable request forgery protection in test environment
25
+ config.action_controller.allow_forgery_protection = false
26
+
27
+ # Tell Action Mailer not to deliver emails to the real world.
28
+ # The :test delivery method accumulates sent emails in the
29
+ # ActionMailer::Base.deliveries array.
30
+ config.action_mailer.delivery_method = :test
31
+
32
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
33
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
34
+ # like if you have constraints or database-specific column types
35
+ # config.active_record.schema_format = :sql
36
+
37
+ # Print deprecation notices to the stderr
38
+ config.active_support.deprecation = :stderr
39
+ end
@@ -0,0 +1,5 @@
1
+ Authlogic::Cas.actor_model = User
2
+ Authlogic::Cas.authentication_model = UserSession
3
+
4
+ Authlogic::Cas.setup_authentication
5
+
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ Altry::Application.config.secret_token = 'e725c6c4c26e41d0070cc4d9979a66164c2f18af9b83bb7b61f543ea740a63d54d198a04f14a5738853b770d34b5f86a2f284cd2247e7b9b003fbda784de223e'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Altry::Application.config.session_store :cookie_store, key: '_altry_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ Altry::Application.config.session_store :active_record_store
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+ #
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
10
+
11
+ # Disable root element in JSON by default.
12
+ ActiveSupport.on_load(:active_record) do
13
+ self.include_root_in_json = false
14
+ end
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,16 @@
1
+ Altry::Application.routes.draw do
2
+
3
+ scope :module => :authlogic do
4
+ scope :module => :cas do
5
+ match "/login" => "cas_authentication#new_bushido_session", :as => "login"
6
+ match "/logout" => "cas_authentication#destroy_bushido_session", :as => "logout"
7
+ end
8
+ end
9
+
10
+ resources :users
11
+
12
+ root :to => "main#index"
13
+ match "main/index" => "main#index"
14
+ match "main/index2" => "main#another_cool_page"
15
+
16
+ end
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Altry::Application
@@ -0,0 +1,17 @@
1
+ class CreateUsers < ActiveRecord::Migration
2
+ def change
3
+ create_table :users do |t|
4
+ t.text :ido_id
5
+ t.text :first_name
6
+ t.text :last_name
7
+ t.text :locale
8
+ t.text :email
9
+ t.text :username
10
+ t.text :crypted_password
11
+ t.text :password_salt
12
+ t.text :persistence_token
13
+
14
+ t.timestamps
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,16 @@
1
+ class AddSessionsTable < ActiveRecord::Migration
2
+ def 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 down
14
+ drop_table :sessions
15
+ end
16
+ end
@@ -0,0 +1,40 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20120226154646) do
15
+
16
+ create_table "sessions", :force => true do |t|
17
+ t.string "session_id", :null => false
18
+ t.text "data"
19
+ t.datetime "created_at", :null => false
20
+ t.datetime "updated_at", :null => false
21
+ end
22
+
23
+ add_index "sessions", ["session_id"], :name => "index_sessions_on_session_id"
24
+ add_index "sessions", ["updated_at"], :name => "index_sessions_on_updated_at"
25
+
26
+ create_table "users", :force => true do |t|
27
+ t.text "ido_id"
28
+ t.text "first_name"
29
+ t.text "last_name"
30
+ t.text "locale"
31
+ t.text "email"
32
+ t.text "username"
33
+ t.text "crypted_password"
34
+ t.text "password_salt"
35
+ t.text "persistence_token"
36
+ t.datetime "created_at", :null => false
37
+ t.datetime "updated_at", :null => false
38
+ end
39
+
40
+ end
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
7
+ # Mayor.create(name: 'Emanuel', city: cities.first)
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,47 @@
1
+ require "spec_helper"
2
+
3
+ describe "Authlogic::Cas::SingleSignOut::Cache" do
4
+
5
+ subject { Authlogic::Cas::SingleSignOut::Cache }
6
+
7
+ describe "class methods" do
8
+ before :each do
9
+ @service_ticket_name = "1234"
10
+ Rails.stub!(:cache).and_return(ActiveSupport::Cache::Store.new)
11
+ Rails.stub!(:logger).and_return(ActiveSupport::BufferedLogger.new($stdout))
12
+ end
13
+
14
+ describe "logger" do
15
+ it "should return a rails logger object" do
16
+ ::Rails.should_receive(:logger)
17
+ subject.logger
18
+ end
19
+ end
20
+
21
+ describe "delete_service_ticket" do
22
+ it "deletes the service ticket from the Rails cache" do
23
+ ::Rails.cache.should_receive(:delete).with(subject.send(:cache_key, @service_ticket_name))
24
+ subject.delete_service_ticket(@service_ticket_name)
25
+ end
26
+ end
27
+
28
+ describe "find_unique_cas_id_by_service_ticket" do
29
+ it "should find the unique CAS ID by service ticket" do
30
+ unique_cas_id = "abc123"
31
+ ::Rails.cache.stub!(:read).and_return(unique_cas_id)
32
+
33
+ subject.find_unique_cas_id_by_service_ticket(@service_ticket).should == unique_cas_id
34
+ end
35
+ end
36
+
37
+ describe "store_unique_cas_id_for_service_ticket" do
38
+ end
39
+
40
+ describe "cache_key" do
41
+ it "should return the name of the key with a authlogic_cas prefix" do
42
+ subject.send(:cache_key, @session_index).should == "authlogic_cas:#{@session_index}"
43
+ end
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,22 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ $:.unshift File.dirname(__FILE__)
3
+ $:.unshift File.expand_path('../lib', __FILE__)
4
+
5
+ require 'rake'
6
+ require 'authlogic'
7
+ require 'authlogic_cas'
8
+ require 'rails/all'
9
+ require 'rspec/rails'
10
+ require 'rspec/autorun'
11
+
12
+ require 'scenario/config/environment'
13
+ Altry::Application.load_tasks
14
+ Rake::Task["db:migrate"].invoke
15
+
16
+
17
+
18
+ RSpec.configure do |config|
19
+ config.mock_with :rspec
20
+ # config.use_transactional_fixtures = true
21
+ config.infer_base_class_for_anonymous_controllers = false
22
+ end
metadata ADDED
@@ -0,0 +1,243 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: authlogic_bushido
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.9'
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Akash Manohar J
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-03-02 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rspec-rails
16
+ requirement: &70222606400540 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *70222606400540
25
+ - !ruby/object:Gem::Dependency
26
+ name: sqlite3
27
+ requirement: &70222606399440 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70222606399440
36
+ - !ruby/object:Gem::Dependency
37
+ name: rails
38
+ requirement: &70222606396660 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *70222606396660
47
+ - !ruby/object:Gem::Dependency
48
+ name: rubycas-client
49
+ requirement: &70222606391380 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - =
53
+ - !ruby/object:Gem::Version
54
+ version: 2.2.1
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *70222606391380
58
+ - !ruby/object:Gem::Dependency
59
+ name: authlogic
60
+ requirement: &70222606386000 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: *70222606386000
69
+ description: Bushido support for Authlogic
70
+ email:
71
+ - akash@akash.im
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - .gitignore
77
+ - .rspec
78
+ - Gemfile
79
+ - Rakefile
80
+ - app/controllers/authlogic/cas/cas_authentication_controller.rb
81
+ - app/controllers/authlogic/cas/cas_client_controller.rb
82
+ - authlogic_bushido.gemspec
83
+ - config/routes.rb
84
+ - lib/authlogic_bushido.rb
85
+ - lib/authlogic_cas.rb
86
+ - lib/authlogic_cas/controller_actions/service.rb
87
+ - lib/authlogic_cas/controller_actions/session.rb
88
+ - lib/authlogic_cas/engine.rb
89
+ - lib/authlogic_cas/rails_routes.rb
90
+ - lib/authlogic_cas/single_sign_out/cache.rb
91
+ - spec/authlogic_cas_spec.rb
92
+ - spec/controllers/service_controller_spec.rb
93
+ - spec/controllers/session_controller_spec.rb
94
+ - spec/scenario/.gitignore
95
+ - spec/scenario/Gemfile
96
+ - spec/scenario/Rakefile
97
+ - spec/scenario/app/assets/images/rails.png
98
+ - spec/scenario/app/assets/javascripts/application.js
99
+ - spec/scenario/app/assets/javascripts/main_controller.js.coffee
100
+ - spec/scenario/app/assets/javascripts/user_sessions.js.coffee
101
+ - spec/scenario/app/assets/javascripts/users.js.coffee
102
+ - spec/scenario/app/assets/stylesheets/application.css
103
+ - spec/scenario/app/assets/stylesheets/main_controller.css.scss
104
+ - spec/scenario/app/assets/stylesheets/scaffolds.css.scss
105
+ - spec/scenario/app/assets/stylesheets/user_sessions.css.scss
106
+ - spec/scenario/app/assets/stylesheets/users.css.scss
107
+ - spec/scenario/app/controllers/application_controller.rb
108
+ - spec/scenario/app/controllers/main_controller.rb
109
+ - spec/scenario/app/controllers/user_sessions_controller.rb
110
+ - spec/scenario/app/controllers/users_controller.rb
111
+ - spec/scenario/app/helpers/application_helper.rb
112
+ - spec/scenario/app/helpers/main_controller_helper.rb
113
+ - spec/scenario/app/helpers/user_sessions_helper.rb
114
+ - spec/scenario/app/helpers/users_helper.rb
115
+ - spec/scenario/app/mailers/.gitkeep
116
+ - spec/scenario/app/models/.gitkeep
117
+ - spec/scenario/app/models/user.rb
118
+ - spec/scenario/app/models/user_session.rb
119
+ - spec/scenario/app/views/layouts/application.html.erb
120
+ - spec/scenario/app/views/main/another_cool_page.html.erb
121
+ - spec/scenario/app/views/main/index.html.erb
122
+ - spec/scenario/app/views/user_sessions/_form.html.erb
123
+ - spec/scenario/app/views/user_sessions/edit.html.erb
124
+ - spec/scenario/app/views/user_sessions/index.html.erb
125
+ - spec/scenario/app/views/user_sessions/new.html.erb
126
+ - spec/scenario/app/views/user_sessions/show.html.erb
127
+ - spec/scenario/app/views/users/_form.html.erb
128
+ - spec/scenario/app/views/users/edit.html.erb
129
+ - spec/scenario/app/views/users/index.html.erb
130
+ - spec/scenario/app/views/users/new.html.erb
131
+ - spec/scenario/app/views/users/show.html.erb
132
+ - spec/scenario/config.ru
133
+ - spec/scenario/config/application.rb
134
+ - spec/scenario/config/boot.rb
135
+ - spec/scenario/config/environment.rb
136
+ - spec/scenario/config/environments/development.rb
137
+ - spec/scenario/config/environments/production.rb
138
+ - spec/scenario/config/environments/test.rb
139
+ - spec/scenario/config/initializers/authlogic_cas.rb
140
+ - spec/scenario/config/initializers/backtrace_silencers.rb
141
+ - spec/scenario/config/initializers/inflections.rb
142
+ - spec/scenario/config/initializers/mime_types.rb
143
+ - spec/scenario/config/initializers/secret_token.rb
144
+ - spec/scenario/config/initializers/session_store.rb
145
+ - spec/scenario/config/initializers/wrap_parameters.rb
146
+ - spec/scenario/config/locales/en.yml
147
+ - spec/scenario/config/routes.rb
148
+ - spec/scenario/db/migrate/20120223141435_create_users.rb
149
+ - spec/scenario/db/migrate/20120226154646_add_sessions_table.rb
150
+ - spec/scenario/db/schema.rb
151
+ - spec/scenario/db/seeds.rb
152
+ - spec/scenario/script/rails
153
+ - spec/single_sign_out/cache_spec.rb
154
+ - spec/spec_helper.rb
155
+ homepage: http://github.com/Bushido/authlogic_bushido
156
+ licenses: []
157
+ post_install_message:
158
+ rdoc_options: []
159
+ require_paths:
160
+ - lib
161
+ required_ruby_version: !ruby/object:Gem::Requirement
162
+ none: false
163
+ requirements:
164
+ - - ! '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ required_rubygems_version: !ruby/object:Gem::Requirement
168
+ none: false
169
+ requirements:
170
+ - - ! '>='
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ requirements: []
174
+ rubyforge_project:
175
+ rubygems_version: 1.8.10
176
+ signing_key:
177
+ specification_version: 3
178
+ summary: Bushido support for Authlogic
179
+ test_files:
180
+ - spec/authlogic_cas_spec.rb
181
+ - spec/controllers/service_controller_spec.rb
182
+ - spec/controllers/session_controller_spec.rb
183
+ - spec/scenario/.gitignore
184
+ - spec/scenario/Gemfile
185
+ - spec/scenario/Rakefile
186
+ - spec/scenario/app/assets/images/rails.png
187
+ - spec/scenario/app/assets/javascripts/application.js
188
+ - spec/scenario/app/assets/javascripts/main_controller.js.coffee
189
+ - spec/scenario/app/assets/javascripts/user_sessions.js.coffee
190
+ - spec/scenario/app/assets/javascripts/users.js.coffee
191
+ - spec/scenario/app/assets/stylesheets/application.css
192
+ - spec/scenario/app/assets/stylesheets/main_controller.css.scss
193
+ - spec/scenario/app/assets/stylesheets/scaffolds.css.scss
194
+ - spec/scenario/app/assets/stylesheets/user_sessions.css.scss
195
+ - spec/scenario/app/assets/stylesheets/users.css.scss
196
+ - spec/scenario/app/controllers/application_controller.rb
197
+ - spec/scenario/app/controllers/main_controller.rb
198
+ - spec/scenario/app/controllers/user_sessions_controller.rb
199
+ - spec/scenario/app/controllers/users_controller.rb
200
+ - spec/scenario/app/helpers/application_helper.rb
201
+ - spec/scenario/app/helpers/main_controller_helper.rb
202
+ - spec/scenario/app/helpers/user_sessions_helper.rb
203
+ - spec/scenario/app/helpers/users_helper.rb
204
+ - spec/scenario/app/mailers/.gitkeep
205
+ - spec/scenario/app/models/.gitkeep
206
+ - spec/scenario/app/models/user.rb
207
+ - spec/scenario/app/models/user_session.rb
208
+ - spec/scenario/app/views/layouts/application.html.erb
209
+ - spec/scenario/app/views/main/another_cool_page.html.erb
210
+ - spec/scenario/app/views/main/index.html.erb
211
+ - spec/scenario/app/views/user_sessions/_form.html.erb
212
+ - spec/scenario/app/views/user_sessions/edit.html.erb
213
+ - spec/scenario/app/views/user_sessions/index.html.erb
214
+ - spec/scenario/app/views/user_sessions/new.html.erb
215
+ - spec/scenario/app/views/user_sessions/show.html.erb
216
+ - spec/scenario/app/views/users/_form.html.erb
217
+ - spec/scenario/app/views/users/edit.html.erb
218
+ - spec/scenario/app/views/users/index.html.erb
219
+ - spec/scenario/app/views/users/new.html.erb
220
+ - spec/scenario/app/views/users/show.html.erb
221
+ - spec/scenario/config.ru
222
+ - spec/scenario/config/application.rb
223
+ - spec/scenario/config/boot.rb
224
+ - spec/scenario/config/environment.rb
225
+ - spec/scenario/config/environments/development.rb
226
+ - spec/scenario/config/environments/production.rb
227
+ - spec/scenario/config/environments/test.rb
228
+ - spec/scenario/config/initializers/authlogic_cas.rb
229
+ - spec/scenario/config/initializers/backtrace_silencers.rb
230
+ - spec/scenario/config/initializers/inflections.rb
231
+ - spec/scenario/config/initializers/mime_types.rb
232
+ - spec/scenario/config/initializers/secret_token.rb
233
+ - spec/scenario/config/initializers/session_store.rb
234
+ - spec/scenario/config/initializers/wrap_parameters.rb
235
+ - spec/scenario/config/locales/en.yml
236
+ - spec/scenario/config/routes.rb
237
+ - spec/scenario/db/migrate/20120223141435_create_users.rb
238
+ - spec/scenario/db/migrate/20120226154646_add_sessions_table.rb
239
+ - spec/scenario/db/schema.rb
240
+ - spec/scenario/db/seeds.rb
241
+ - spec/scenario/script/rails
242
+ - spec/single_sign_out/cache_spec.rb
243
+ - spec/spec_helper.rb