gonow-devise 1.2.rc

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. data/CHANGELOG.rdoc +506 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +335 -0
  4. data/app/controllers/devise/confirmations_controller.rb +33 -0
  5. data/app/controllers/devise/oauth_callbacks_controller.rb +4 -0
  6. data/app/controllers/devise/passwords_controller.rb +41 -0
  7. data/app/controllers/devise/registrations_controller.rb +109 -0
  8. data/app/controllers/devise/sessions_controller.rb +24 -0
  9. data/app/controllers/devise/unlocks_controller.rb +34 -0
  10. data/app/helpers/devise_helper.rb +19 -0
  11. data/app/mailers/devise/mailer.rb +88 -0
  12. data/app/views/devise/confirmations/new.html.erb +12 -0
  13. data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  14. data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  15. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  16. data/app/views/devise/passwords/edit.html.erb +16 -0
  17. data/app/views/devise/passwords/new.html.erb +12 -0
  18. data/app/views/devise/registrations/edit.html.erb +25 -0
  19. data/app/views/devise/registrations/new.html.erb +18 -0
  20. data/app/views/devise/sessions/new.html.erb +17 -0
  21. data/app/views/devise/shared/_links.erb +25 -0
  22. data/app/views/devise/unlocks/new.html.erb +12 -0
  23. data/config/locales/en.yml +46 -0
  24. data/lib/devise.rb +372 -0
  25. data/lib/devise/controllers/helpers.rb +228 -0
  26. data/lib/devise/controllers/internal_helpers.rb +113 -0
  27. data/lib/devise/controllers/scoped_views.rb +33 -0
  28. data/lib/devise/controllers/url_helpers.rb +39 -0
  29. data/lib/devise/encryptors/authlogic_sha512.rb +19 -0
  30. data/lib/devise/encryptors/base.rb +20 -0
  31. data/lib/devise/encryptors/clearance_sha1.rb +17 -0
  32. data/lib/devise/encryptors/restful_authentication_sha1.rb +22 -0
  33. data/lib/devise/encryptors/sha1.rb +25 -0
  34. data/lib/devise/encryptors/sha512.rb +25 -0
  35. data/lib/devise/failure_app.rb +126 -0
  36. data/lib/devise/hooks/activatable.rb +11 -0
  37. data/lib/devise/hooks/forgetable.rb +12 -0
  38. data/lib/devise/hooks/rememberable.rb +45 -0
  39. data/lib/devise/hooks/timeoutable.rb +22 -0
  40. data/lib/devise/hooks/trackable.rb +9 -0
  41. data/lib/devise/mapping.rb +105 -0
  42. data/lib/devise/models.rb +66 -0
  43. data/lib/devise/models/authenticatable.rb +143 -0
  44. data/lib/devise/models/confirmable.rb +160 -0
  45. data/lib/devise/models/database_authenticatable.rb +94 -0
  46. data/lib/devise/models/encryptable.rb +65 -0
  47. data/lib/devise/models/lockable.rb +168 -0
  48. data/lib/devise/models/oauthable.rb +49 -0
  49. data/lib/devise/models/recoverable.rb +83 -0
  50. data/lib/devise/models/registerable.rb +21 -0
  51. data/lib/devise/models/rememberable.rb +122 -0
  52. data/lib/devise/models/timeoutable.rb +43 -0
  53. data/lib/devise/models/token_authenticatable.rb +72 -0
  54. data/lib/devise/models/trackable.rb +30 -0
  55. data/lib/devise/models/validatable.rb +64 -0
  56. data/lib/devise/modules.rb +30 -0
  57. data/lib/devise/oauth.rb +41 -0
  58. data/lib/devise/oauth/config.rb +33 -0
  59. data/lib/devise/oauth/helpers.rb +18 -0
  60. data/lib/devise/oauth/internal_helpers.rb +182 -0
  61. data/lib/devise/oauth/test_helpers.rb +29 -0
  62. data/lib/devise/oauth/url_helpers.rb +35 -0
  63. data/lib/devise/orm/active_record.rb +38 -0
  64. data/lib/devise/orm/mongoid.rb +31 -0
  65. data/lib/devise/path_checker.rb +18 -0
  66. data/lib/devise/rails.rb +68 -0
  67. data/lib/devise/rails/routes.rb +260 -0
  68. data/lib/devise/rails/warden_compat.rb +41 -0
  69. data/lib/devise/schema.rb +96 -0
  70. data/lib/devise/strategies/authenticatable.rb +150 -0
  71. data/lib/devise/strategies/base.rb +15 -0
  72. data/lib/devise/strategies/database_authenticatable.rb +21 -0
  73. data/lib/devise/strategies/rememberable.rb +51 -0
  74. data/lib/devise/strategies/token_authenticatable.rb +53 -0
  75. data/lib/devise/test_helpers.rb +100 -0
  76. data/lib/devise/version.rb +3 -0
  77. data/lib/generators/active_record/devise_generator.rb +28 -0
  78. data/lib/generators/active_record/templates/migration.rb +30 -0
  79. data/lib/generators/devise/devise_generator.rb +17 -0
  80. data/lib/generators/devise/install_generator.rb +24 -0
  81. data/lib/generators/devise/orm_helpers.rb +24 -0
  82. data/lib/generators/devise/views_generator.rb +63 -0
  83. data/lib/generators/mongoid/devise_generator.rb +17 -0
  84. data/lib/generators/templates/README +25 -0
  85. data/lib/generators/templates/devise.rb +168 -0
  86. data/test/controllers/helpers_test.rb +205 -0
  87. data/test/controllers/internal_helpers_test.rb +56 -0
  88. data/test/controllers/url_helpers_test.rb +59 -0
  89. data/test/devise_test.rb +65 -0
  90. data/test/encryptors_test.rb +30 -0
  91. data/test/failure_app_test.rb +148 -0
  92. data/test/generators/generators_test_helper.rb +4 -0
  93. data/test/generators/install_generator_test.rb +14 -0
  94. data/test/generators/views_generator_test.rb +37 -0
  95. data/test/integration/authenticatable_test.rb +424 -0
  96. data/test/integration/confirmable_test.rb +104 -0
  97. data/test/integration/database_authenticatable_test.rb +38 -0
  98. data/test/integration/http_authenticatable_test.rb +64 -0
  99. data/test/integration/lockable_test.rb +109 -0
  100. data/test/integration/oauthable_test.rb +244 -0
  101. data/test/integration/recoverable_test.rb +134 -0
  102. data/test/integration/registerable_test.rb +180 -0
  103. data/test/integration/rememberable_test.rb +179 -0
  104. data/test/integration/timeoutable_test.rb +89 -0
  105. data/test/integration/token_authenticatable_test.rb +99 -0
  106. data/test/integration/trackable_test.rb +64 -0
  107. data/test/mailers/confirmation_instructions_test.rb +84 -0
  108. data/test/mailers/reset_password_instructions_test.rb +72 -0
  109. data/test/mailers/unlock_instructions_test.rb +66 -0
  110. data/test/mapping_test.rb +95 -0
  111. data/test/models/confirmable_test.rb +221 -0
  112. data/test/models/database_authenticatable_test.rb +82 -0
  113. data/test/models/encryptable_test.rb +65 -0
  114. data/test/models/lockable_test.rb +204 -0
  115. data/test/models/oauthable_test.rb +21 -0
  116. data/test/models/recoverable_test.rb +155 -0
  117. data/test/models/rememberable_test.rb +271 -0
  118. data/test/models/timeoutable_test.rb +28 -0
  119. data/test/models/token_authenticatable_test.rb +37 -0
  120. data/test/models/trackable_test.rb +5 -0
  121. data/test/models/validatable_test.rb +99 -0
  122. data/test/models_test.rb +77 -0
  123. data/test/oauth/config_test.rb +44 -0
  124. data/test/oauth/url_helpers_test.rb +47 -0
  125. data/test/orm/active_record.rb +9 -0
  126. data/test/orm/mongoid.rb +10 -0
  127. data/test/rails_app/app/active_record/admin.rb +6 -0
  128. data/test/rails_app/app/active_record/shim.rb +2 -0
  129. data/test/rails_app/app/active_record/user.rb +8 -0
  130. data/test/rails_app/app/controllers/admins/sessions_controller.rb +6 -0
  131. data/test/rails_app/app/controllers/admins_controller.rb +6 -0
  132. data/test/rails_app/app/controllers/application_controller.rb +9 -0
  133. data/test/rails_app/app/controllers/home_controller.rb +12 -0
  134. data/test/rails_app/app/controllers/publisher/registrations_controller.rb +2 -0
  135. data/test/rails_app/app/controllers/publisher/sessions_controller.rb +2 -0
  136. data/test/rails_app/app/controllers/users_controller.rb +18 -0
  137. data/test/rails_app/app/helpers/application_helper.rb +3 -0
  138. data/test/rails_app/app/mongoid/admin.rb +9 -0
  139. data/test/rails_app/app/mongoid/shim.rb +24 -0
  140. data/test/rails_app/app/mongoid/user.rb +10 -0
  141. data/test/rails_app/config/application.rb +35 -0
  142. data/test/rails_app/config/boot.rb +13 -0
  143. data/test/rails_app/config/environment.rb +5 -0
  144. data/test/rails_app/config/environments/development.rb +19 -0
  145. data/test/rails_app/config/environments/production.rb +33 -0
  146. data/test/rails_app/config/environments/test.rb +33 -0
  147. data/test/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  148. data/test/rails_app/config/initializers/devise.rb +172 -0
  149. data/test/rails_app/config/initializers/inflections.rb +2 -0
  150. data/test/rails_app/config/initializers/secret_token.rb +2 -0
  151. data/test/rails_app/config/routes.rb +54 -0
  152. data/test/rails_app/db/migrate/20100401102949_create_tables.rb +31 -0
  153. data/test/rails_app/db/schema.rb +52 -0
  154. data/test/rails_app/lib/shared_admin.rb +9 -0
  155. data/test/rails_app/lib/shared_user.rb +48 -0
  156. data/test/routes_test.rb +189 -0
  157. data/test/support/assertions.rb +24 -0
  158. data/test/support/helpers.rb +60 -0
  159. data/test/support/integration.rb +88 -0
  160. data/test/support/webrat/integrations/rails.rb +24 -0
  161. data/test/test_helper.rb +23 -0
  162. data/test/test_helpers_test.rb +101 -0
  163. metadata +357 -0
@@ -0,0 +1,24 @@
1
+ require 'webrat/core/elements/form'
2
+ require 'action_dispatch/testing/integration'
3
+
4
+ module Webrat
5
+ Form.class_eval do
6
+ def self.parse_rails_request_params(params)
7
+ Rack::Utils.parse_nested_query(params)
8
+ end
9
+ end
10
+
11
+ module Logging
12
+ # Avoid RAILS_DEFAULT_LOGGER deprecation warning
13
+ def logger # :nodoc:
14
+ ::Rails.logger
15
+ end
16
+ end
17
+ end
18
+
19
+ module ActionDispatch #:nodoc:
20
+ IntegrationTest.class_eval do
21
+ include Webrat::Methods
22
+ include Webrat::Matchers
23
+ end
24
+ end
@@ -0,0 +1,23 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ DEVISE_ORM = (ENV["DEVISE_ORM"] || :active_record).to_sym
3
+
4
+ $:.unshift File.dirname(__FILE__)
5
+ puts "\n==> Devise.orm = #{DEVISE_ORM.inspect}"
6
+
7
+ require "rails_app/config/environment"
8
+ require "rails/test_help"
9
+ require "orm/#{DEVISE_ORM}"
10
+
11
+ I18n.load_path << File.expand_path("../support/locale/en.yml", __FILE__)
12
+ require 'mocha'
13
+
14
+ Webrat.configure do |config|
15
+ config.mode = :rails
16
+ config.open_error_files = false
17
+ end
18
+
19
+ Devise::Oauth.test_mode!
20
+
21
+ # Add support to load paths so we can overwrite broken webrat setup
22
+ $:.unshift File.expand_path('../support', __FILE__)
23
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
@@ -0,0 +1,101 @@
1
+ require 'test_helper'
2
+
3
+ class TestHelpersTest < ActionController::TestCase
4
+ tests UsersController
5
+ include Devise::TestHelpers
6
+
7
+ test "redirects if attempting to access a page unauthenticated" do
8
+ get :index
9
+ assert_redirected_to new_user_session_path
10
+ assert_equal "You need to sign in or sign up before continuing.", flash[:alert]
11
+ end
12
+
13
+ test "redirects if attempting to access a page with an unconfirmed account" do
14
+ swap Devise, :confirm_within => 0 do
15
+ user = create_user
16
+ assert !user.active?
17
+
18
+ sign_in user
19
+ get :index
20
+ assert_redirected_to new_user_session_path
21
+ end
22
+ end
23
+
24
+ test "returns nil if accessing current_user with an unconfirmed account" do
25
+ swap Devise, :confirm_within => 0 do
26
+ user = create_user
27
+ assert !user.active?
28
+
29
+ sign_in user
30
+ get :accept, :id => user
31
+ assert_nil assigns(:current_user)
32
+ end
33
+ end
34
+
35
+ test "does not redirect with valid user" do
36
+ user = create_user
37
+ user.confirm!
38
+
39
+ sign_in user
40
+ get :index
41
+ assert_response :success
42
+ end
43
+
44
+ test "redirects if valid user signed out" do
45
+ user = create_user
46
+ user.confirm!
47
+
48
+ sign_in user
49
+ get :index
50
+
51
+ sign_out user
52
+ get :index
53
+ assert_redirected_to new_user_session_path
54
+ end
55
+
56
+ test "defined Warden after_authentication callback should not be called when sign_in is called" do
57
+ begin
58
+ Warden::Manager.after_authentication do |user, auth, opts|
59
+ flunk "callback was called while it should not"
60
+ end
61
+
62
+ user = create_user
63
+ user.confirm!
64
+ sign_in user
65
+ ensure
66
+ Warden::Manager._after_set_user.pop
67
+ end
68
+ end
69
+
70
+ test "defined Warden before_logout callback should not be called when sign_out is called" do
71
+ begin
72
+ Warden::Manager.before_logout do |user, auth, opts|
73
+ flunk "callback was called while it should not"
74
+ end
75
+ user = create_user
76
+ user.confirm!
77
+
78
+ sign_in user
79
+ sign_out user
80
+ ensure
81
+ Warden::Manager._before_logout.pop
82
+ end
83
+ end
84
+
85
+ test "allows to sign in with different users" do
86
+ first_user = create_user
87
+ first_user.confirm!
88
+
89
+ sign_in first_user
90
+ get :index
91
+ assert_match /User ##{first_user.id}/, @response.body
92
+ sign_out first_user
93
+
94
+ second_user = create_user
95
+ second_user.confirm!
96
+
97
+ sign_in second_user
98
+ get :index
99
+ assert_match /User ##{second_user.id}/, @response.body
100
+ end
101
+ end
metadata ADDED
@@ -0,0 +1,357 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gonow-devise
3
+ version: !ruby/object:Gem::Version
4
+ hash: 7712074
5
+ prerelease: true
6
+ segments:
7
+ - 1
8
+ - 2
9
+ - rc
10
+ version: 1.2.rc
11
+ platform: ruby
12
+ authors:
13
+ - "Jos\xC3\xA9 Valim"
14
+ - "Carlos Ant\xC3\xB4nio"
15
+ - Gonow
16
+ autorequire:
17
+ bindir: bin
18
+ cert_chain: []
19
+
20
+ date: 2010-11-06 00:00:00 -02:00
21
+ default_executable:
22
+ dependencies:
23
+ - !ruby/object:Gem::Dependency
24
+ name: warden
25
+ prerelease: false
26
+ requirement: &id001 !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ~>
30
+ - !ruby/object:Gem::Version
31
+ hash: 23
32
+ segments:
33
+ - 1
34
+ - 0
35
+ - 0
36
+ version: 1.0.0
37
+ type: :runtime
38
+ version_requirements: *id001
39
+ - !ruby/object:Gem::Dependency
40
+ name: orm_adapter
41
+ prerelease: false
42
+ requirement: &id002 !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ hash: 27
48
+ segments:
49
+ - 0
50
+ - 0
51
+ - 2
52
+ version: 0.0.2
53
+ type: :runtime
54
+ version_requirements: *id002
55
+ - !ruby/object:Gem::Dependency
56
+ name: bcrypt-ruby
57
+ prerelease: false
58
+ requirement: &id003 !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ~>
62
+ - !ruby/object:Gem::Version
63
+ hash: 15
64
+ segments:
65
+ - 2
66
+ - 1
67
+ - 2
68
+ version: 2.1.2
69
+ type: :runtime
70
+ version_requirements: *id003
71
+ description: Flexible authentication solution for Rails with Warden
72
+ email: labs@gonow.com.br
73
+ executables: []
74
+
75
+ extensions: []
76
+
77
+ extra_rdoc_files:
78
+ - CHANGELOG.rdoc
79
+ - MIT-LICENSE
80
+ - README.rdoc
81
+ files:
82
+ - CHANGELOG.rdoc
83
+ - MIT-LICENSE
84
+ - README.rdoc
85
+ - app/controllers/devise/confirmations_controller.rb
86
+ - app/controllers/devise/oauth_callbacks_controller.rb
87
+ - app/controllers/devise/passwords_controller.rb
88
+ - app/controllers/devise/registrations_controller.rb
89
+ - app/controllers/devise/sessions_controller.rb
90
+ - app/controllers/devise/unlocks_controller.rb
91
+ - app/helpers/devise_helper.rb
92
+ - app/mailers/devise/mailer.rb
93
+ - app/views/devise/confirmations/new.html.erb
94
+ - app/views/devise/mailer/confirmation_instructions.html.erb
95
+ - app/views/devise/mailer/reset_password_instructions.html.erb
96
+ - app/views/devise/mailer/unlock_instructions.html.erb
97
+ - app/views/devise/passwords/edit.html.erb
98
+ - app/views/devise/passwords/new.html.erb
99
+ - app/views/devise/registrations/edit.html.erb
100
+ - app/views/devise/registrations/new.html.erb
101
+ - app/views/devise/sessions/new.html.erb
102
+ - app/views/devise/shared/_links.erb
103
+ - app/views/devise/unlocks/new.html.erb
104
+ - config/locales/en.yml
105
+ - lib/devise.rb
106
+ - lib/devise/controllers/helpers.rb
107
+ - lib/devise/controllers/internal_helpers.rb
108
+ - lib/devise/controllers/scoped_views.rb
109
+ - lib/devise/controllers/url_helpers.rb
110
+ - lib/devise/encryptors/authlogic_sha512.rb
111
+ - lib/devise/encryptors/base.rb
112
+ - lib/devise/encryptors/clearance_sha1.rb
113
+ - lib/devise/encryptors/restful_authentication_sha1.rb
114
+ - lib/devise/encryptors/sha1.rb
115
+ - lib/devise/encryptors/sha512.rb
116
+ - lib/devise/failure_app.rb
117
+ - lib/devise/hooks/activatable.rb
118
+ - lib/devise/hooks/forgetable.rb
119
+ - lib/devise/hooks/rememberable.rb
120
+ - lib/devise/hooks/timeoutable.rb
121
+ - lib/devise/hooks/trackable.rb
122
+ - lib/devise/mapping.rb
123
+ - lib/devise/models.rb
124
+ - lib/devise/models/authenticatable.rb
125
+ - lib/devise/models/confirmable.rb
126
+ - lib/devise/models/database_authenticatable.rb
127
+ - lib/devise/models/encryptable.rb
128
+ - lib/devise/models/lockable.rb
129
+ - lib/devise/models/oauthable.rb
130
+ - lib/devise/models/recoverable.rb
131
+ - lib/devise/models/registerable.rb
132
+ - lib/devise/models/rememberable.rb
133
+ - lib/devise/models/timeoutable.rb
134
+ - lib/devise/models/token_authenticatable.rb
135
+ - lib/devise/models/trackable.rb
136
+ - lib/devise/models/validatable.rb
137
+ - lib/devise/modules.rb
138
+ - lib/devise/oauth.rb
139
+ - lib/devise/oauth/config.rb
140
+ - lib/devise/oauth/helpers.rb
141
+ - lib/devise/oauth/internal_helpers.rb
142
+ - lib/devise/oauth/test_helpers.rb
143
+ - lib/devise/oauth/url_helpers.rb
144
+ - lib/devise/orm/active_record.rb
145
+ - lib/devise/orm/mongoid.rb
146
+ - lib/devise/path_checker.rb
147
+ - lib/devise/rails.rb
148
+ - lib/devise/rails/routes.rb
149
+ - lib/devise/rails/warden_compat.rb
150
+ - lib/devise/schema.rb
151
+ - lib/devise/strategies/authenticatable.rb
152
+ - lib/devise/strategies/base.rb
153
+ - lib/devise/strategies/database_authenticatable.rb
154
+ - lib/devise/strategies/rememberable.rb
155
+ - lib/devise/strategies/token_authenticatable.rb
156
+ - lib/devise/test_helpers.rb
157
+ - lib/devise/version.rb
158
+ - lib/generators/active_record/devise_generator.rb
159
+ - lib/generators/active_record/templates/migration.rb
160
+ - lib/generators/devise/devise_generator.rb
161
+ - lib/generators/devise/install_generator.rb
162
+ - lib/generators/devise/orm_helpers.rb
163
+ - lib/generators/devise/views_generator.rb
164
+ - lib/generators/mongoid/devise_generator.rb
165
+ - lib/generators/templates/README
166
+ - lib/generators/templates/devise.rb
167
+ - test/controllers/helpers_test.rb
168
+ - test/controllers/internal_helpers_test.rb
169
+ - test/controllers/url_helpers_test.rb
170
+ - test/devise_test.rb
171
+ - test/encryptors_test.rb
172
+ - test/failure_app_test.rb
173
+ - test/generators/generators_test_helper.rb
174
+ - test/generators/install_generator_test.rb
175
+ - test/generators/views_generator_test.rb
176
+ - test/integration/authenticatable_test.rb
177
+ - test/integration/confirmable_test.rb
178
+ - test/integration/database_authenticatable_test.rb
179
+ - test/integration/http_authenticatable_test.rb
180
+ - test/integration/lockable_test.rb
181
+ - test/integration/oauthable_test.rb
182
+ - test/integration/recoverable_test.rb
183
+ - test/integration/registerable_test.rb
184
+ - test/integration/rememberable_test.rb
185
+ - test/integration/timeoutable_test.rb
186
+ - test/integration/token_authenticatable_test.rb
187
+ - test/integration/trackable_test.rb
188
+ - test/mailers/confirmation_instructions_test.rb
189
+ - test/mailers/reset_password_instructions_test.rb
190
+ - test/mailers/unlock_instructions_test.rb
191
+ - test/mapping_test.rb
192
+ - test/models/confirmable_test.rb
193
+ - test/models/database_authenticatable_test.rb
194
+ - test/models/encryptable_test.rb
195
+ - test/models/lockable_test.rb
196
+ - test/models/oauthable_test.rb
197
+ - test/models/recoverable_test.rb
198
+ - test/models/rememberable_test.rb
199
+ - test/models/timeoutable_test.rb
200
+ - test/models/token_authenticatable_test.rb
201
+ - test/models/trackable_test.rb
202
+ - test/models/validatable_test.rb
203
+ - test/models_test.rb
204
+ - test/oauth/config_test.rb
205
+ - test/oauth/url_helpers_test.rb
206
+ - test/orm/active_record.rb
207
+ - test/orm/mongoid.rb
208
+ - test/rails_app/app/active_record/admin.rb
209
+ - test/rails_app/app/active_record/shim.rb
210
+ - test/rails_app/app/active_record/user.rb
211
+ - test/rails_app/app/controllers/admins/sessions_controller.rb
212
+ - test/rails_app/app/controllers/admins_controller.rb
213
+ - test/rails_app/app/controllers/application_controller.rb
214
+ - test/rails_app/app/controllers/home_controller.rb
215
+ - test/rails_app/app/controllers/publisher/registrations_controller.rb
216
+ - test/rails_app/app/controllers/publisher/sessions_controller.rb
217
+ - test/rails_app/app/controllers/users_controller.rb
218
+ - test/rails_app/app/helpers/application_helper.rb
219
+ - test/rails_app/app/mongoid/admin.rb
220
+ - test/rails_app/app/mongoid/shim.rb
221
+ - test/rails_app/app/mongoid/user.rb
222
+ - test/rails_app/config/application.rb
223
+ - test/rails_app/config/boot.rb
224
+ - test/rails_app/config/environment.rb
225
+ - test/rails_app/config/environments/development.rb
226
+ - test/rails_app/config/environments/production.rb
227
+ - test/rails_app/config/environments/test.rb
228
+ - test/rails_app/config/initializers/backtrace_silencers.rb
229
+ - test/rails_app/config/initializers/devise.rb
230
+ - test/rails_app/config/initializers/inflections.rb
231
+ - test/rails_app/config/initializers/secret_token.rb
232
+ - test/rails_app/config/routes.rb
233
+ - test/rails_app/db/migrate/20100401102949_create_tables.rb
234
+ - test/rails_app/db/schema.rb
235
+ - test/rails_app/lib/shared_admin.rb
236
+ - test/rails_app/lib/shared_user.rb
237
+ - test/routes_test.rb
238
+ - test/support/assertions.rb
239
+ - test/support/helpers.rb
240
+ - test/support/integration.rb
241
+ - test/support/webrat/integrations/rails.rb
242
+ - test/test_helper.rb
243
+ - test/test_helpers_test.rb
244
+ has_rdoc: true
245
+ homepage: http://github.com/gonow/devise
246
+ licenses: []
247
+
248
+ post_install_message:
249
+ rdoc_options:
250
+ - --charset=UTF-8
251
+ require_paths:
252
+ - lib
253
+ required_ruby_version: !ruby/object:Gem::Requirement
254
+ none: false
255
+ requirements:
256
+ - - ">="
257
+ - !ruby/object:Gem::Version
258
+ hash: 3
259
+ segments:
260
+ - 0
261
+ version: "0"
262
+ required_rubygems_version: !ruby/object:Gem::Requirement
263
+ none: false
264
+ requirements:
265
+ - - ">"
266
+ - !ruby/object:Gem::Version
267
+ hash: 25
268
+ segments:
269
+ - 1
270
+ - 3
271
+ - 1
272
+ version: 1.3.1
273
+ requirements: []
274
+
275
+ rubyforge_project:
276
+ rubygems_version: 1.3.7
277
+ signing_key:
278
+ specification_version: 3
279
+ summary: Devise with all the features implemented until the date
280
+ test_files:
281
+ - test/controllers/helpers_test.rb
282
+ - test/controllers/internal_helpers_test.rb
283
+ - test/controllers/url_helpers_test.rb
284
+ - test/devise_test.rb
285
+ - test/encryptors_test.rb
286
+ - test/failure_app_test.rb
287
+ - test/generators/generators_test_helper.rb
288
+ - test/generators/install_generator_test.rb
289
+ - test/generators/views_generator_test.rb
290
+ - test/integration/authenticatable_test.rb
291
+ - test/integration/confirmable_test.rb
292
+ - test/integration/database_authenticatable_test.rb
293
+ - test/integration/http_authenticatable_test.rb
294
+ - test/integration/lockable_test.rb
295
+ - test/integration/oauthable_test.rb
296
+ - test/integration/recoverable_test.rb
297
+ - test/integration/registerable_test.rb
298
+ - test/integration/rememberable_test.rb
299
+ - test/integration/timeoutable_test.rb
300
+ - test/integration/token_authenticatable_test.rb
301
+ - test/integration/trackable_test.rb
302
+ - test/mailers/confirmation_instructions_test.rb
303
+ - test/mailers/reset_password_instructions_test.rb
304
+ - test/mailers/unlock_instructions_test.rb
305
+ - test/mapping_test.rb
306
+ - test/models/confirmable_test.rb
307
+ - test/models/database_authenticatable_test.rb
308
+ - test/models/encryptable_test.rb
309
+ - test/models/lockable_test.rb
310
+ - test/models/oauthable_test.rb
311
+ - test/models/recoverable_test.rb
312
+ - test/models/rememberable_test.rb
313
+ - test/models/timeoutable_test.rb
314
+ - test/models/token_authenticatable_test.rb
315
+ - test/models/trackable_test.rb
316
+ - test/models/validatable_test.rb
317
+ - test/models_test.rb
318
+ - test/oauth/config_test.rb
319
+ - test/oauth/url_helpers_test.rb
320
+ - test/orm/active_record.rb
321
+ - test/orm/mongoid.rb
322
+ - test/rails_app/app/active_record/admin.rb
323
+ - test/rails_app/app/active_record/shim.rb
324
+ - test/rails_app/app/active_record/user.rb
325
+ - test/rails_app/app/controllers/admins/sessions_controller.rb
326
+ - test/rails_app/app/controllers/admins_controller.rb
327
+ - test/rails_app/app/controllers/application_controller.rb
328
+ - test/rails_app/app/controllers/home_controller.rb
329
+ - test/rails_app/app/controllers/publisher/registrations_controller.rb
330
+ - test/rails_app/app/controllers/publisher/sessions_controller.rb
331
+ - test/rails_app/app/controllers/users_controller.rb
332
+ - test/rails_app/app/helpers/application_helper.rb
333
+ - test/rails_app/app/mongoid/admin.rb
334
+ - test/rails_app/app/mongoid/shim.rb
335
+ - test/rails_app/app/mongoid/user.rb
336
+ - test/rails_app/config/application.rb
337
+ - test/rails_app/config/boot.rb
338
+ - test/rails_app/config/environment.rb
339
+ - test/rails_app/config/environments/development.rb
340
+ - test/rails_app/config/environments/production.rb
341
+ - test/rails_app/config/environments/test.rb
342
+ - test/rails_app/config/initializers/backtrace_silencers.rb
343
+ - test/rails_app/config/initializers/devise.rb
344
+ - test/rails_app/config/initializers/inflections.rb
345
+ - test/rails_app/config/initializers/secret_token.rb
346
+ - test/rails_app/config/routes.rb
347
+ - test/rails_app/db/migrate/20100401102949_create_tables.rb
348
+ - test/rails_app/db/schema.rb
349
+ - test/rails_app/lib/shared_admin.rb
350
+ - test/rails_app/lib/shared_user.rb
351
+ - test/routes_test.rb
352
+ - test/support/assertions.rb
353
+ - test/support/helpers.rb
354
+ - test/support/integration.rb
355
+ - test/support/webrat/integrations/rails.rb
356
+ - test/test_helper.rb
357
+ - test/test_helpers_test.rb