devise_bushido_authenticatable 1.0.0.alpha10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. data/.project +12 -0
  2. data/Gemfile +22 -0
  3. data/Gemfile.lock +169 -0
  4. data/README.md +114 -0
  5. data/Rakefile +46 -0
  6. data/VERSION +1 -0
  7. data/app/controllers/devise/cas_sessions_controller.rb +52 -0
  8. data/app/views/devise/cas_sessions/new.html.erb +1 -0
  9. data/app/views/devise/cas_sessions/unregistered.html.erb +2 -0
  10. data/devise_cas_authenticatable.gemspec +118 -0
  11. data/lib/devise_cas_authenticatable/exceptions.rb +10 -0
  12. data/lib/devise_cas_authenticatable/model.rb +56 -0
  13. data/lib/devise_cas_authenticatable/routes.rb +35 -0
  14. data/lib/devise_cas_authenticatable/schema.rb +15 -0
  15. data/lib/devise_cas_authenticatable/strategy.rb +49 -0
  16. data/lib/devise_cas_authenticatable.rb +93 -0
  17. data/rails/init.rb +1 -0
  18. data/spec/routes_spec.rb +20 -0
  19. data/spec/scenario/.gitignore +4 -0
  20. data/spec/scenario/app/controllers/application_controller.rb +3 -0
  21. data/spec/scenario/app/controllers/home_controller.rb +7 -0
  22. data/spec/scenario/app/models/user.rb +3 -0
  23. data/spec/scenario/app/views/layouts/application.html.erb +17 -0
  24. data/spec/scenario/config/application.rb +38 -0
  25. data/spec/scenario/config/boot.rb +13 -0
  26. data/spec/scenario/config/castronaut.yml +32 -0
  27. data/spec/scenario/config/database.yml +22 -0
  28. data/spec/scenario/config/environment.rb +5 -0
  29. data/spec/scenario/config/environments/development.rb +26 -0
  30. data/spec/scenario/config/environments/production.rb +49 -0
  31. data/spec/scenario/config/environments/test.rb +35 -0
  32. data/spec/scenario/config/initializers/backtrace_silencers.rb +7 -0
  33. data/spec/scenario/config/initializers/devise.rb +3 -0
  34. data/spec/scenario/config/initializers/inflections.rb +10 -0
  35. data/spec/scenario/config/initializers/mime_types.rb +5 -0
  36. data/spec/scenario/config/initializers/secret_token.rb +7 -0
  37. data/spec/scenario/config/initializers/session_store.rb +8 -0
  38. data/spec/scenario/config/locales/en.yml +5 -0
  39. data/spec/scenario/config/routes.rb +8 -0
  40. data/spec/scenario/config/rubycas-server.yml +13 -0
  41. data/spec/scenario/config.ru +4 -0
  42. data/spec/scenario/db/migrate/20100401102949_create_tables.rb +14 -0
  43. data/spec/scenario/public/.gitkeep +0 -0
  44. data/spec/spec_helper.rb +22 -0
  45. data/spec/strategy_spec.rb +96 -0
  46. data/spec/support/migrations.rb +4 -0
  47. metadata +202 -0
metadata ADDED
@@ -0,0 +1,202 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: devise_bushido_authenticatable
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: 6
5
+ version: 1.0.0.alpha10
6
+ platform: ruby
7
+ authors:
8
+ - Akash Manohar J
9
+ - Sean Grove
10
+ - Didier Lafforgue
11
+ autorequire:
12
+ bindir: bin
13
+ cert_chain: []
14
+
15
+ date: 2011-07-26 00:00:00 -07:00
16
+ default_executable:
17
+ dependencies:
18
+ - !ruby/object:Gem::Dependency
19
+ name: devise
20
+ requirement: &id001 !ruby/object:Gem::Requirement
21
+ none: false
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: "0"
26
+ type: :runtime
27
+ prerelease: false
28
+ version_requirements: *id001
29
+ - !ruby/object:Gem::Dependency
30
+ name: linecache
31
+ requirement: &id002 !ruby/object:Gem::Requirement
32
+ none: false
33
+ requirements:
34
+ - - "="
35
+ - !ruby/object:Gem::Version
36
+ version: "0.43"
37
+ type: :development
38
+ prerelease: false
39
+ version_requirements: *id002
40
+ - !ruby/object:Gem::Dependency
41
+ name: ruby-debug
42
+ requirement: &id003 !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: "0"
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: *id003
51
+ - !ruby/object:Gem::Dependency
52
+ name: ruby-debug19
53
+ requirement: &id004 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: "0"
59
+ type: :development
60
+ prerelease: false
61
+ version_requirements: *id004
62
+ - !ruby/object:Gem::Dependency
63
+ name: jeweler
64
+ requirement: &id005 !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: "0"
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: *id005
73
+ - !ruby/object:Gem::Dependency
74
+ name: devise
75
+ requirement: &id006 !ruby/object:Gem::Requirement
76
+ none: false
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 1.0.6
81
+ type: :runtime
82
+ prerelease: false
83
+ version_requirements: *id006
84
+ - !ruby/object:Gem::Dependency
85
+ name: rubycas-client
86
+ requirement: &id007 !ruby/object:Gem::Requirement
87
+ none: false
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: 2.2.1
92
+ type: :runtime
93
+ prerelease: false
94
+ version_requirements: *id007
95
+ description: Bushido SSO authentication module for Devise. A slight variant of the excellent work from Nat Budlin on devise_cas_authenticatable.
96
+ email: s@bushi.do
97
+ executables: []
98
+
99
+ extensions: []
100
+
101
+ extra_rdoc_files:
102
+ - README.md
103
+ files:
104
+ - .project
105
+ - Gemfile
106
+ - Gemfile.lock
107
+ - README.md
108
+ - Rakefile
109
+ - VERSION
110
+ - app/controllers/devise/cas_sessions_controller.rb
111
+ - app/views/devise/cas_sessions/new.html.erb
112
+ - app/views/devise/cas_sessions/unregistered.html.erb
113
+ - devise_cas_authenticatable.gemspec
114
+ - lib/devise_cas_authenticatable.rb
115
+ - lib/devise_cas_authenticatable/exceptions.rb
116
+ - lib/devise_cas_authenticatable/model.rb
117
+ - lib/devise_cas_authenticatable/routes.rb
118
+ - lib/devise_cas_authenticatable/schema.rb
119
+ - lib/devise_cas_authenticatable/strategy.rb
120
+ - rails/init.rb
121
+ - spec/routes_spec.rb
122
+ - spec/scenario/.gitignore
123
+ - spec/scenario/app/controllers/application_controller.rb
124
+ - spec/scenario/app/controllers/home_controller.rb
125
+ - spec/scenario/app/models/user.rb
126
+ - spec/scenario/app/views/layouts/application.html.erb
127
+ - spec/scenario/config.ru
128
+ - spec/scenario/config/application.rb
129
+ - spec/scenario/config/boot.rb
130
+ - spec/scenario/config/castronaut.yml
131
+ - spec/scenario/config/database.yml
132
+ - spec/scenario/config/environment.rb
133
+ - spec/scenario/config/environments/development.rb
134
+ - spec/scenario/config/environments/production.rb
135
+ - spec/scenario/config/environments/test.rb
136
+ - spec/scenario/config/initializers/backtrace_silencers.rb
137
+ - spec/scenario/config/initializers/devise.rb
138
+ - spec/scenario/config/initializers/inflections.rb
139
+ - spec/scenario/config/initializers/mime_types.rb
140
+ - spec/scenario/config/initializers/secret_token.rb
141
+ - spec/scenario/config/initializers/session_store.rb
142
+ - spec/scenario/config/locales/en.yml
143
+ - spec/scenario/config/routes.rb
144
+ - spec/scenario/config/rubycas-server.yml
145
+ - spec/scenario/db/migrate/20100401102949_create_tables.rb
146
+ - spec/scenario/public/.gitkeep
147
+ - spec/spec_helper.rb
148
+ - spec/strategy_spec.rb
149
+ - spec/support/migrations.rb
150
+ has_rdoc: true
151
+ homepage: http://github.com/bushido/bushido_cas_authenticatable
152
+ licenses: []
153
+
154
+ post_install_message:
155
+ rdoc_options: []
156
+
157
+ require_paths:
158
+ - lib
159
+ required_ruby_version: !ruby/object:Gem::Requirement
160
+ none: false
161
+ requirements:
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ hash: 4108700283228388083
165
+ segments:
166
+ - 0
167
+ version: "0"
168
+ required_rubygems_version: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ">"
172
+ - !ruby/object:Gem::Version
173
+ version: 1.3.1
174
+ requirements: []
175
+
176
+ rubyforge_project:
177
+ rubygems_version: 1.6.2
178
+ signing_key:
179
+ specification_version: 3
180
+ summary: Bushido SSO authentication module for Devise
181
+ test_files:
182
+ - spec/routes_spec.rb
183
+ - spec/scenario/app/controllers/application_controller.rb
184
+ - spec/scenario/app/controllers/home_controller.rb
185
+ - spec/scenario/app/models/user.rb
186
+ - spec/scenario/config/application.rb
187
+ - spec/scenario/config/boot.rb
188
+ - spec/scenario/config/environment.rb
189
+ - spec/scenario/config/environments/development.rb
190
+ - spec/scenario/config/environments/production.rb
191
+ - spec/scenario/config/environments/test.rb
192
+ - spec/scenario/config/initializers/backtrace_silencers.rb
193
+ - spec/scenario/config/initializers/devise.rb
194
+ - spec/scenario/config/initializers/inflections.rb
195
+ - spec/scenario/config/initializers/mime_types.rb
196
+ - spec/scenario/config/initializers/secret_token.rb
197
+ - spec/scenario/config/initializers/session_store.rb
198
+ - spec/scenario/config/routes.rb
199
+ - spec/scenario/db/migrate/20100401102949_create_tables.rb
200
+ - spec/spec_helper.rb
201
+ - spec/strategy_spec.rb
202
+ - spec/support/migrations.rb