namxam-devise 1.1.0.win

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. data/CHANGELOG.rdoc +455 -0
  2. data/Gemfile +23 -0
  3. data/Gemfile.lock +118 -0
  4. data/MIT-LICENSE +20 -0
  5. data/README.rdoc +311 -0
  6. data/Rakefile +55 -0
  7. data/TODO +3 -0
  8. data/app/controllers/devise/confirmations_controller.rb +33 -0
  9. data/app/controllers/devise/passwords_controller.rb +41 -0
  10. data/app/controllers/devise/registrations_controller.rb +57 -0
  11. data/app/controllers/devise/sessions_controller.rb +23 -0
  12. data/app/controllers/devise/unlocks_controller.rb +34 -0
  13. data/app/helpers/devise_helper.rb +17 -0
  14. data/app/mailers/devise/mailer.rb +71 -0
  15. data/app/views/devise/confirmations/new.html.erb +12 -0
  16. data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  17. data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  18. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  19. data/app/views/devise/passwords/edit.html.erb +16 -0
  20. data/app/views/devise/passwords/new.html.erb +12 -0
  21. data/app/views/devise/registrations/edit.html.erb +25 -0
  22. data/app/views/devise/registrations/new.html.erb +18 -0
  23. data/app/views/devise/sessions/new.html.erb +17 -0
  24. data/app/views/devise/shared/_links.erb +19 -0
  25. data/app/views/devise/unlocks/new.html.erb +12 -0
  26. data/config/locales/en.yml +39 -0
  27. data/lib/devise.rb +290 -0
  28. data/lib/devise/controllers/helpers.rb +231 -0
  29. data/lib/devise/controllers/internal_helpers.rb +98 -0
  30. data/lib/devise/controllers/scoped_views.rb +35 -0
  31. data/lib/devise/controllers/url_helpers.rb +41 -0
  32. data/lib/devise/encryptors/authlogic_sha512.rb +19 -0
  33. data/lib/devise/encryptors/base.rb +20 -0
  34. data/lib/devise/encryptors/bcrypt.rb +19 -0
  35. data/lib/devise/encryptors/clearance_sha1.rb +17 -0
  36. data/lib/devise/encryptors/restful_authentication_sha1.rb +22 -0
  37. data/lib/devise/encryptors/sha1.rb +25 -0
  38. data/lib/devise/encryptors/sha512.rb +25 -0
  39. data/lib/devise/failure_app.rb +107 -0
  40. data/lib/devise/hooks/activatable.rb +11 -0
  41. data/lib/devise/hooks/forgetable.rb +11 -0
  42. data/lib/devise/hooks/rememberable.rb +35 -0
  43. data/lib/devise/hooks/timeoutable.rb +22 -0
  44. data/lib/devise/hooks/trackable.rb +9 -0
  45. data/lib/devise/mapping.rb +103 -0
  46. data/lib/devise/models.rb +80 -0
  47. data/lib/devise/models/authenticatable.rb +126 -0
  48. data/lib/devise/models/confirmable.rb +164 -0
  49. data/lib/devise/models/database_authenticatable.rb +110 -0
  50. data/lib/devise/models/lockable.rb +165 -0
  51. data/lib/devise/models/recoverable.rb +81 -0
  52. data/lib/devise/models/registerable.rb +8 -0
  53. data/lib/devise/models/rememberable.rb +104 -0
  54. data/lib/devise/models/timeoutable.rb +26 -0
  55. data/lib/devise/models/token_authenticatable.rb +60 -0
  56. data/lib/devise/models/trackable.rb +30 -0
  57. data/lib/devise/models/validatable.rb +53 -0
  58. data/lib/devise/modules.rb +23 -0
  59. data/lib/devise/orm/active_record.rb +36 -0
  60. data/lib/devise/orm/mongoid.rb +29 -0
  61. data/lib/devise/path_checker.rb +18 -0
  62. data/lib/devise/rails.rb +69 -0
  63. data/lib/devise/rails/routes.rb +248 -0
  64. data/lib/devise/rails/warden_compat.rb +39 -0
  65. data/lib/devise/schema.rb +97 -0
  66. data/lib/devise/strategies/authenticatable.rb +111 -0
  67. data/lib/devise/strategies/base.rb +33 -0
  68. data/lib/devise/strategies/database_authenticatable.rb +21 -0
  69. data/lib/devise/strategies/rememberable.rb +43 -0
  70. data/lib/devise/strategies/token_authenticatable.rb +49 -0
  71. data/lib/devise/test_helpers.rb +90 -0
  72. data/lib/devise/version.rb +3 -0
  73. data/lib/generators/active_record/devise_generator.rb +28 -0
  74. data/lib/generators/active_record/templates/migration.rb +29 -0
  75. data/lib/generators/devise/devise_generator.rb +17 -0
  76. data/lib/generators/devise/install_generator.rb +24 -0
  77. data/lib/generators/devise/orm_helpers.rb +23 -0
  78. data/lib/generators/devise/templates/README +25 -0
  79. data/lib/generators/devise/templates/devise.rb +139 -0
  80. data/lib/generators/devise/views_generator.rb +63 -0
  81. data/lib/generators/devise_install_generator.rb +4 -0
  82. data/lib/generators/devise_views_generator.rb +4 -0
  83. data/lib/generators/mongoid/devise_generator.rb +17 -0
  84. data/test/controllers/helpers_test.rb +213 -0
  85. data/test/controllers/internal_helpers_test.rb +51 -0
  86. data/test/controllers/url_helpers_test.rb +58 -0
  87. data/test/devise_test.rb +65 -0
  88. data/test/encryptors_test.rb +30 -0
  89. data/test/failure_app_test.rb +123 -0
  90. data/test/integration/authenticatable_test.rb +344 -0
  91. data/test/integration/confirmable_test.rb +104 -0
  92. data/test/integration/database_authenticatable_test.rb +38 -0
  93. data/test/integration/http_authenticatable_test.rb +49 -0
  94. data/test/integration/lockable_test.rb +109 -0
  95. data/test/integration/recoverable_test.rb +141 -0
  96. data/test/integration/registerable_test.rb +153 -0
  97. data/test/integration/rememberable_test.rb +91 -0
  98. data/test/integration/timeoutable_test.rb +80 -0
  99. data/test/integration/token_authenticatable_test.rb +88 -0
  100. data/test/integration/trackable_test.rb +64 -0
  101. data/test/mailers/confirmation_instructions_test.rb +80 -0
  102. data/test/mailers/reset_password_instructions_test.rb +68 -0
  103. data/test/mailers/unlock_instructions_test.rb +62 -0
  104. data/test/mapping_test.rb +85 -0
  105. data/test/models/confirmable_test.rb +221 -0
  106. data/test/models/database_authenticatable_test.rb +148 -0
  107. data/test/models/lockable_test.rb +188 -0
  108. data/test/models/recoverable_test.rb +138 -0
  109. data/test/models/rememberable_test.rb +176 -0
  110. data/test/models/timeoutable_test.rb +28 -0
  111. data/test/models/token_authenticatable_test.rb +37 -0
  112. data/test/models/trackable_test.rb +5 -0
  113. data/test/models/validatable_test.rb +99 -0
  114. data/test/models_test.rb +77 -0
  115. data/test/orm/active_record.rb +9 -0
  116. data/test/orm/mongoid.rb +10 -0
  117. data/test/rails_app/app/active_record/admin.rb +3 -0
  118. data/test/rails_app/app/active_record/shim.rb +2 -0
  119. data/test/rails_app/app/active_record/user.rb +7 -0
  120. data/test/rails_app/app/controllers/admins_controller.rb +6 -0
  121. data/test/rails_app/app/controllers/application_controller.rb +9 -0
  122. data/test/rails_app/app/controllers/home_controller.rb +7 -0
  123. data/test/rails_app/app/controllers/publisher/registrations_controller.rb +2 -0
  124. data/test/rails_app/app/controllers/publisher/sessions_controller.rb +2 -0
  125. data/test/rails_app/app/controllers/sessions_controller.rb +6 -0
  126. data/test/rails_app/app/controllers/users_controller.rb +18 -0
  127. data/test/rails_app/app/helpers/application_helper.rb +3 -0
  128. data/test/rails_app/app/mongoid/admin.rb +6 -0
  129. data/test/rails_app/app/mongoid/shim.rb +16 -0
  130. data/test/rails_app/app/mongoid/user.rb +10 -0
  131. data/test/rails_app/config/application.rb +35 -0
  132. data/test/rails_app/config/boot.rb +13 -0
  133. data/test/rails_app/config/environment.rb +5 -0
  134. data/test/rails_app/config/environments/development.rb +19 -0
  135. data/test/rails_app/config/environments/production.rb +33 -0
  136. data/test/rails_app/config/environments/test.rb +33 -0
  137. data/test/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  138. data/test/rails_app/config/initializers/devise.rb +136 -0
  139. data/test/rails_app/config/initializers/inflections.rb +2 -0
  140. data/test/rails_app/config/initializers/secret_token.rb +2 -0
  141. data/test/rails_app/config/routes.rb +47 -0
  142. data/test/rails_app/db/migrate/20100401102949_create_tables.rb +27 -0
  143. data/test/rails_app/db/schema.rb +86 -0
  144. data/test/routes_test.rb +146 -0
  145. data/test/support/assertions.rb +24 -0
  146. data/test/support/helpers.rb +54 -0
  147. data/test/support/integration.rb +88 -0
  148. data/test/support/test_silencer.rb +5 -0
  149. data/test/support/webrat/integrations/rails.rb +32 -0
  150. data/test/test_helper.rb +21 -0
  151. data/test/test_helpers_test.rb +72 -0
  152. metadata +230 -0
@@ -0,0 +1,24 @@
1
+ require 'active_support/test_case'
2
+
3
+ class ActiveSupport::TestCase
4
+ def assert_not(assertion)
5
+ assert !assertion
6
+ end
7
+
8
+ def assert_blank(assertion)
9
+ assert assertion.blank?
10
+ end
11
+
12
+ def assert_not_blank(assertion)
13
+ assert !assertion.blank?
14
+ end
15
+ alias :assert_present :assert_not_blank
16
+
17
+ def assert_email_sent(&block)
18
+ assert_difference('ActionMailer::Base.deliveries.size') { yield }
19
+ end
20
+
21
+ def assert_email_not_sent(&block)
22
+ assert_no_difference('ActionMailer::Base.deliveries.size') { yield }
23
+ end
24
+ end
@@ -0,0 +1,54 @@
1
+ require 'active_support/test_case'
2
+
3
+ class ActiveSupport::TestCase
4
+ VALID_AUTHENTICATION_TOKEN = 'AbCdEfGhIjKlMnOpQrSt'.freeze
5
+
6
+ def setup_mailer
7
+ ActionMailer::Base.deliveries = []
8
+ end
9
+
10
+ def store_translations(locale, translations, &block)
11
+ begin
12
+ I18n.backend.store_translations(locale, translations)
13
+ yield
14
+ ensure
15
+ I18n.reload!
16
+ end
17
+ end
18
+
19
+ def generate_unique_email
20
+ @@email_count ||= 0
21
+ @@email_count += 1
22
+ "test#{@@email_count}@email.com"
23
+ end
24
+
25
+ def valid_attributes(attributes={})
26
+ { :username => "usertest",
27
+ :email => generate_unique_email,
28
+ :password => '123456',
29
+ :password_confirmation => '123456' }.update(attributes)
30
+ end
31
+
32
+ def new_user(attributes={})
33
+ User.new(valid_attributes(attributes))
34
+ end
35
+
36
+ def create_user(attributes={})
37
+ User.create!(valid_attributes(attributes))
38
+ end
39
+
40
+ # Execute the block setting the given values and restoring old values after
41
+ # the block is executed.
42
+ def swap(object, new_values)
43
+ old_values = {}
44
+ new_values.each do |key, value|
45
+ old_values[key] = object.send key
46
+ object.send :"#{key}=", value
47
+ end
48
+ yield
49
+ ensure
50
+ old_values.each do |key, value|
51
+ object.send :"#{key}=", value
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,88 @@
1
+ require 'action_dispatch/testing/integration'
2
+
3
+ class ActionDispatch::IntegrationTest
4
+ def warden
5
+ request.env['warden']
6
+ end
7
+
8
+ def create_user(options={})
9
+ @user ||= begin
10
+ user = User.create!(
11
+ :username => 'usertest',
12
+ :email => 'user@test.com',
13
+ :password => '123456',
14
+ :password_confirmation => '123456',
15
+ :created_at => Time.now.utc
16
+ )
17
+ user.confirm! unless options[:confirm] == false
18
+ user.lock_access! if options[:locked] == true
19
+ user
20
+ end
21
+ end
22
+
23
+ def create_admin(options={})
24
+ @admin ||= begin
25
+ admin = Admin.create!(
26
+ :email => 'admin@test.com', :password => '123456', :password_confirmation => '123456'
27
+ )
28
+ admin
29
+ end
30
+ end
31
+
32
+ def sign_in_as_user(options={}, &block)
33
+ user = create_user(options)
34
+ visit_with_option options[:visit], new_user_session_path
35
+ fill_in 'email', :with => 'user@test.com'
36
+ fill_in 'password', :with => options[:password] || '123456'
37
+ check 'remember me' if options[:remember_me] == true
38
+ yield if block_given?
39
+ click_button 'Sign In'
40
+ user
41
+ end
42
+
43
+ def sign_in_as_admin(options={}, &block)
44
+ admin = create_admin(options)
45
+ visit_with_option options[:visit], new_admin_session_path
46
+ fill_in 'email', :with => 'admin@test.com'
47
+ fill_in 'password', :with => '123456'
48
+ yield if block_given?
49
+ click_button 'Sign In'
50
+ admin
51
+ end
52
+
53
+ # Fix assert_redirect_to in integration sessions because they don't take into
54
+ # account Middleware redirects.
55
+ #
56
+ def assert_redirected_to(url)
57
+ assert [301, 302].include?(@integration_session.status),
58
+ "Expected status to be 301 or 302, got #{@integration_session.status}"
59
+
60
+ assert_url url, @integration_session.headers["Location"]
61
+ end
62
+
63
+ def assert_current_url(expected)
64
+ assert_url expected, current_url
65
+ end
66
+
67
+ def assert_url(expected, actual)
68
+ assert_equal prepend_host(expected), prepend_host(actual)
69
+ end
70
+
71
+ protected
72
+
73
+ def visit_with_option(given, default)
74
+ case given
75
+ when String
76
+ visit given
77
+ when FalseClass
78
+ # Do nothing
79
+ else
80
+ visit default
81
+ end
82
+ end
83
+
84
+ def prepend_host(url)
85
+ url = "http://#{request.host}#{url}" if url[0] == ?/
86
+ url
87
+ end
88
+ end
@@ -0,0 +1,5 @@
1
+ module Devise
2
+ module TestSilencer
3
+ def test(*args, &block); end
4
+ end
5
+ end
@@ -0,0 +1,32 @@
1
+ require 'webrat/core/elements/field'
2
+ require 'action_dispatch/testing/integration'
3
+
4
+ module Webrat
5
+ Field.class_eval do
6
+ def parse_rails_request_params(params)
7
+ Rack::Utils.parse_nested_query(params)
8
+ end
9
+ end
10
+ end
11
+
12
+ module ActionDispatch #:nodoc:
13
+ IntegrationTest.class_eval do
14
+ include Webrat::Methods
15
+ include Webrat::Matchers
16
+
17
+ # The Rails version of within supports passing in a model and Webrat
18
+ # will apply a scope based on Rails' dom_id for that model.
19
+ #
20
+ # Example:
21
+ # within User.last do
22
+ # click_link "Delete"
23
+ # end
24
+ def within(selector_or_object, &block)
25
+ if selector_or_object.is_a?(String)
26
+ super
27
+ else
28
+ super('#' + RecordIdentifier.dom_id(selector_or_object), &block)
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,21 @@
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
+ # Add support to load paths so we can overwrite broken webrat setup
20
+ $:.unshift File.expand_path('../support', __FILE__)
21
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
@@ -0,0 +1,72 @@
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 "allows to sign in with different users" do
57
+ first_user = create_user
58
+ first_user.confirm!
59
+
60
+ sign_in first_user
61
+ get :index
62
+ assert_match /User ##{first_user.id}/, @response.body
63
+ sign_out first_user
64
+
65
+ second_user = create_user
66
+ second_user.confirm!
67
+
68
+ sign_in second_user
69
+ get :index
70
+ assert_match /User ##{second_user.id}/, @response.body
71
+ end
72
+ end
metadata ADDED
@@ -0,0 +1,230 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: namxam-devise
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: true
5
+ segments:
6
+ - 1
7
+ - 1
8
+ - 0
9
+ - win
10
+ version: 1.1.0.win
11
+ platform: ruby
12
+ authors:
13
+ - "Jos\xC3\xA9 Valim"
14
+ - "Carlos Ant\xC3\xB4nio"
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2010-07-06 00:00:00 +02:00
20
+ default_executable:
21
+ dependencies:
22
+ - !ruby/object:Gem::Dependency
23
+ name: warden
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ segments:
30
+ - 0
31
+ - 10
32
+ - 7
33
+ version: 0.10.7
34
+ type: :runtime
35
+ version_requirements: *id001
36
+ description: Flexible authentication solution for Rails with Warden
37
+ email: contact@plataformatec.com.br
38
+ executables: []
39
+
40
+ extensions: []
41
+
42
+ extra_rdoc_files:
43
+ - CHANGELOG.rdoc
44
+ - Gemfile.lock
45
+ - MIT-LICENSE
46
+ - README.rdoc
47
+ - TODO
48
+ files:
49
+ - CHANGELOG.rdoc
50
+ - Gemfile
51
+ - Gemfile.lock
52
+ - MIT-LICENSE
53
+ - README.rdoc
54
+ - Rakefile
55
+ - TODO
56
+ - app/controllers/devise/confirmations_controller.rb
57
+ - app/controllers/devise/passwords_controller.rb
58
+ - app/controllers/devise/registrations_controller.rb
59
+ - app/controllers/devise/sessions_controller.rb
60
+ - app/controllers/devise/unlocks_controller.rb
61
+ - app/helpers/devise_helper.rb
62
+ - app/mailers/devise/mailer.rb
63
+ - app/views/devise/confirmations/new.html.erb
64
+ - app/views/devise/mailer/confirmation_instructions.html.erb
65
+ - app/views/devise/mailer/reset_password_instructions.html.erb
66
+ - app/views/devise/mailer/unlock_instructions.html.erb
67
+ - app/views/devise/passwords/edit.html.erb
68
+ - app/views/devise/passwords/new.html.erb
69
+ - app/views/devise/registrations/edit.html.erb
70
+ - app/views/devise/registrations/new.html.erb
71
+ - app/views/devise/sessions/new.html.erb
72
+ - app/views/devise/shared/_links.erb
73
+ - app/views/devise/unlocks/new.html.erb
74
+ - config/locales/en.yml
75
+ - lib/devise.rb
76
+ - lib/devise/controllers/helpers.rb
77
+ - lib/devise/controllers/internal_helpers.rb
78
+ - lib/devise/controllers/scoped_views.rb
79
+ - lib/devise/controllers/url_helpers.rb
80
+ - lib/devise/encryptors/authlogic_sha512.rb
81
+ - lib/devise/encryptors/base.rb
82
+ - lib/devise/encryptors/bcrypt.rb
83
+ - lib/devise/encryptors/clearance_sha1.rb
84
+ - lib/devise/encryptors/restful_authentication_sha1.rb
85
+ - lib/devise/encryptors/sha1.rb
86
+ - lib/devise/encryptors/sha512.rb
87
+ - lib/devise/failure_app.rb
88
+ - lib/devise/hooks/activatable.rb
89
+ - lib/devise/hooks/forgetable.rb
90
+ - lib/devise/hooks/rememberable.rb
91
+ - lib/devise/hooks/timeoutable.rb
92
+ - lib/devise/hooks/trackable.rb
93
+ - lib/devise/mapping.rb
94
+ - lib/devise/models.rb
95
+ - lib/devise/models/authenticatable.rb
96
+ - lib/devise/models/confirmable.rb
97
+ - lib/devise/models/database_authenticatable.rb
98
+ - lib/devise/models/lockable.rb
99
+ - lib/devise/models/recoverable.rb
100
+ - lib/devise/models/registerable.rb
101
+ - lib/devise/models/rememberable.rb
102
+ - lib/devise/models/timeoutable.rb
103
+ - lib/devise/models/token_authenticatable.rb
104
+ - lib/devise/models/trackable.rb
105
+ - lib/devise/models/validatable.rb
106
+ - lib/devise/modules.rb
107
+ - lib/devise/orm/active_record.rb
108
+ - lib/devise/orm/mongoid.rb
109
+ - lib/devise/path_checker.rb
110
+ - lib/devise/rails.rb
111
+ - lib/devise/rails/routes.rb
112
+ - lib/devise/rails/warden_compat.rb
113
+ - lib/devise/schema.rb
114
+ - lib/devise/strategies/authenticatable.rb
115
+ - lib/devise/strategies/base.rb
116
+ - lib/devise/strategies/database_authenticatable.rb
117
+ - lib/devise/strategies/rememberable.rb
118
+ - lib/devise/strategies/token_authenticatable.rb
119
+ - lib/devise/test_helpers.rb
120
+ - lib/devise/version.rb
121
+ - lib/generators/active_record/devise_generator.rb
122
+ - lib/generators/active_record/templates/migration.rb
123
+ - lib/generators/devise/devise_generator.rb
124
+ - lib/generators/devise/install_generator.rb
125
+ - lib/generators/devise/orm_helpers.rb
126
+ - lib/generators/devise/templates/README
127
+ - lib/generators/devise/templates/devise.rb
128
+ - lib/generators/devise/views_generator.rb
129
+ - lib/generators/devise_install_generator.rb
130
+ - lib/generators/devise_views_generator.rb
131
+ - lib/generators/mongoid/devise_generator.rb
132
+ has_rdoc: true
133
+ homepage: http://github.com/plataformatec/devise
134
+ licenses: []
135
+
136
+ post_install_message:
137
+ rdoc_options:
138
+ - --charset=UTF-8
139
+ require_paths:
140
+ - lib
141
+ required_ruby_version: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ segments:
146
+ - 0
147
+ version: "0"
148
+ required_rubygems_version: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ segments:
153
+ - 0
154
+ version: "0"
155
+ requirements: []
156
+
157
+ rubyforge_project:
158
+ rubygems_version: 1.3.6
159
+ signing_key:
160
+ specification_version: 3
161
+ summary: Flexible authentication solution for Rails with Warden
162
+ test_files:
163
+ - test/controllers/helpers_test.rb
164
+ - test/controllers/internal_helpers_test.rb
165
+ - test/controllers/url_helpers_test.rb
166
+ - test/devise_test.rb
167
+ - test/encryptors_test.rb
168
+ - test/failure_app_test.rb
169
+ - test/integration/authenticatable_test.rb
170
+ - test/integration/confirmable_test.rb
171
+ - test/integration/database_authenticatable_test.rb
172
+ - test/integration/http_authenticatable_test.rb
173
+ - test/integration/lockable_test.rb
174
+ - test/integration/recoverable_test.rb
175
+ - test/integration/registerable_test.rb
176
+ - test/integration/rememberable_test.rb
177
+ - test/integration/timeoutable_test.rb
178
+ - test/integration/token_authenticatable_test.rb
179
+ - test/integration/trackable_test.rb
180
+ - test/mailers/confirmation_instructions_test.rb
181
+ - test/mailers/reset_password_instructions_test.rb
182
+ - test/mailers/unlock_instructions_test.rb
183
+ - test/mapping_test.rb
184
+ - test/models/confirmable_test.rb
185
+ - test/models/database_authenticatable_test.rb
186
+ - test/models/lockable_test.rb
187
+ - test/models/recoverable_test.rb
188
+ - test/models/rememberable_test.rb
189
+ - test/models/timeoutable_test.rb
190
+ - test/models/token_authenticatable_test.rb
191
+ - test/models/trackable_test.rb
192
+ - test/models/validatable_test.rb
193
+ - test/models_test.rb
194
+ - test/orm/active_record.rb
195
+ - test/orm/mongoid.rb
196
+ - test/rails_app/app/active_record/admin.rb
197
+ - test/rails_app/app/active_record/shim.rb
198
+ - test/rails_app/app/active_record/user.rb
199
+ - test/rails_app/app/controllers/admins_controller.rb
200
+ - test/rails_app/app/controllers/application_controller.rb
201
+ - test/rails_app/app/controllers/home_controller.rb
202
+ - test/rails_app/app/controllers/publisher/registrations_controller.rb
203
+ - test/rails_app/app/controllers/publisher/sessions_controller.rb
204
+ - test/rails_app/app/controllers/sessions_controller.rb
205
+ - test/rails_app/app/controllers/users_controller.rb
206
+ - test/rails_app/app/helpers/application_helper.rb
207
+ - test/rails_app/app/mongoid/admin.rb
208
+ - test/rails_app/app/mongoid/shim.rb
209
+ - test/rails_app/app/mongoid/user.rb
210
+ - test/rails_app/config/application.rb
211
+ - test/rails_app/config/boot.rb
212
+ - test/rails_app/config/environment.rb
213
+ - test/rails_app/config/environments/development.rb
214
+ - test/rails_app/config/environments/production.rb
215
+ - test/rails_app/config/environments/test.rb
216
+ - test/rails_app/config/initializers/backtrace_silencers.rb
217
+ - test/rails_app/config/initializers/devise.rb
218
+ - test/rails_app/config/initializers/inflections.rb
219
+ - test/rails_app/config/initializers/secret_token.rb
220
+ - test/rails_app/config/routes.rb
221
+ - test/rails_app/db/migrate/20100401102949_create_tables.rb
222
+ - test/rails_app/db/schema.rb
223
+ - test/routes_test.rb
224
+ - test/support/assertions.rb
225
+ - test/support/helpers.rb
226
+ - test/support/integration.rb
227
+ - test/support/test_silencer.rb
228
+ - test/support/webrat/integrations/rails.rb
229
+ - test/test_helper.rb
230
+ - test/test_helpers_test.rb