devise 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of devise might be problematic. Click here for more details.

Files changed (41) hide show
  1. data/.gitignore +10 -0
  2. data/.travis.yml +16 -0
  3. data/CHANGELOG.rdoc +10 -1
  4. data/Gemfile +35 -0
  5. data/Gemfile.lock +167 -0
  6. data/{README.rdoc → README.md} +170 -150
  7. data/Rakefile +34 -0
  8. data/app/controllers/devise/sessions_controller.rb +7 -3
  9. data/devise.gemspec +25 -0
  10. data/gemfiles/Gemfile.rails-3.1.x +35 -0
  11. data/lib/devise.rb +1 -1
  12. data/lib/devise/models/confirmable.rb +8 -1
  13. data/lib/devise/rails.rb +8 -3
  14. data/lib/devise/rails/routes.rb +17 -2
  15. data/lib/devise/version.rb +1 -1
  16. data/lib/generators/devise/views_generator.rb +11 -0
  17. metadata +28 -69
  18. data/test/rails_app/log/development.log +0 -13
  19. data/test/rails_app/log/test.log +0 -319550
  20. data/test/tmp/app/views/devise/_links.erb +0 -25
  21. data/test/tmp/app/views/devise/confirmations/new.html.erb +0 -15
  22. data/test/tmp/app/views/devise/mailer/confirmation_instructions.html.erb +0 -5
  23. data/test/tmp/app/views/devise/mailer/reset_password_instructions.html.erb +0 -8
  24. data/test/tmp/app/views/devise/mailer/unlock_instructions.html.erb +0 -7
  25. data/test/tmp/app/views/devise/passwords/edit.html.erb +0 -19
  26. data/test/tmp/app/views/devise/passwords/new.html.erb +0 -15
  27. data/test/tmp/app/views/devise/registrations/edit.html.erb +0 -22
  28. data/test/tmp/app/views/devise/registrations/new.html.erb +0 -17
  29. data/test/tmp/app/views/devise/sessions/new.html.erb +0 -15
  30. data/test/tmp/app/views/devise/unlocks/new.html.erb +0 -15
  31. data/test/tmp/app/views/users/_links.erb +0 -25
  32. data/test/tmp/app/views/users/confirmations/new.html.erb +0 -15
  33. data/test/tmp/app/views/users/mailer/confirmation_instructions.html.erb +0 -5
  34. data/test/tmp/app/views/users/mailer/reset_password_instructions.html.erb +0 -8
  35. data/test/tmp/app/views/users/mailer/unlock_instructions.html.erb +0 -7
  36. data/test/tmp/app/views/users/passwords/edit.html.erb +0 -19
  37. data/test/tmp/app/views/users/passwords/new.html.erb +0 -15
  38. data/test/tmp/app/views/users/registrations/edit.html.erb +0 -22
  39. data/test/tmp/app/views/users/registrations/new.html.erb +0 -17
  40. data/test/tmp/app/views/users/sessions/new.html.erb +0 -15
  41. data/test/tmp/app/views/users/unlocks/new.html.erb +0 -15
@@ -0,0 +1,34 @@
1
+ # encoding: UTF-8
2
+
3
+ require 'rake/testtask'
4
+ require 'rdoc/task'
5
+
6
+ desc 'Default: run tests for all ORMs.'
7
+ task :default => :test
8
+
9
+ desc 'Run Devise tests for all ORMs.'
10
+ task :pre_commit do
11
+ Dir[File.join(File.dirname(__FILE__), 'test', 'orm', '*.rb')].each do |file|
12
+ orm = File.basename(file).split(".").first
13
+ # "Some day, my son, rake's inner wisdom will reveal itself. Until then,
14
+ # take this `system` -- may its brute force protect you well."
15
+ exit 1 unless system "rake test DEVISE_ORM=#{orm}"
16
+ end
17
+ end
18
+
19
+ desc 'Run Devise unit tests.'
20
+ Rake::TestTask.new(:test) do |t|
21
+ t.libs << 'lib'
22
+ t.libs << 'test'
23
+ t.pattern = 'test/**/*_test.rb'
24
+ t.verbose = true
25
+ end
26
+
27
+ desc 'Generate documentation for Devise.'
28
+ Rake::RDocTask.new(:rdoc) do |rdoc|
29
+ rdoc.rdoc_dir = 'rdoc'
30
+ rdoc.title = 'Devise'
31
+ rdoc.options << '--line-numbers' << '--inline-source'
32
+ rdoc.rdoc_files.include('README.rdoc')
33
+ rdoc.rdoc_files.include('lib/**/*.rb')
34
+ end
@@ -6,12 +6,12 @@ class Devise::SessionsController < DeviseController
6
6
  def new
7
7
  resource = build_resource
8
8
  clean_up_passwords(resource)
9
- respond_with(resource, stub_options(resource))
9
+ respond_with(resource, serialize_options(resource))
10
10
  end
11
11
 
12
12
  # POST /resource/sign_in
13
13
  def create
14
- resource = warden.authenticate!(:scope => resource_name, :recall => "#{controller_path}#new")
14
+ resource = warden.authenticate!(auth_options)
15
15
  set_flash_message(:notice, :signed_in) if is_navigational_format?
16
16
  sign_in(resource_name, resource)
17
17
  respond_with resource, :location => after_sign_in_path_for(resource)
@@ -38,11 +38,15 @@ class Devise::SessionsController < DeviseController
38
38
 
39
39
  protected
40
40
 
41
- def stub_options(resource)
41
+ def serialize_options(resource)
42
42
  methods = resource_class.authentication_keys.dup
43
43
  methods = methods.keys if methods.is_a?(Hash)
44
44
  methods << :password if resource.respond_to?(:password)
45
45
  { :methods => methods, :only => [:password] }
46
46
  end
47
+
48
+ def auth_options
49
+ { :scope => resource_name, :recall => "#{controller_path}#new" }
50
+ end
47
51
  end
48
52
 
@@ -0,0 +1,25 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "devise/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "devise"
7
+ s.version = Devise::VERSION.dup
8
+ s.platform = Gem::Platform::RUBY
9
+ s.summary = "Flexible authentication solution for Rails with Warden"
10
+ s.email = "contact@plataformatec.com.br"
11
+ s.homepage = "http://github.com/plataformatec/devise"
12
+ s.description = "Flexible authentication solution for Rails with Warden"
13
+ s.authors = ['José Valim', 'Carlos Antônio']
14
+
15
+ s.rubyforge_project = "devise"
16
+
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- test/*`.split("\n")
19
+ s.require_paths = ["lib"]
20
+
21
+ s.add_dependency("warden", "~> 1.1")
22
+ s.add_dependency("orm_adapter", "~> 0.0.3")
23
+ s.add_dependency("bcrypt-ruby", "~> 3.0")
24
+ s.add_dependency("railties", "~> 3.1")
25
+ end
@@ -0,0 +1,35 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem "devise", :path => ".."
4
+
5
+ gem "rails", "~> 3.1.0"
6
+ gem "omniauth", "~> 1.0.0"
7
+ gem "omniauth-oauth2", "~> 1.0.0"
8
+ gem "rdoc"
9
+
10
+ group :test do
11
+ gem "omniauth-facebook"
12
+ gem "omniauth-openid", "~> 1.0.1"
13
+ gem "webrat", "0.7.2", :require => false
14
+ gem "mocha", :require => false
15
+
16
+ platforms :mri_18 do
17
+ gem "ruby-debug", ">= 0.10.3"
18
+ end
19
+ end
20
+
21
+ platforms :jruby do
22
+ gem "activerecord-jdbc-adapter"
23
+ gem "activerecord-jdbcsqlite3-adapter"
24
+ gem "jruby-openssl"
25
+ end
26
+
27
+ platforms :ruby do
28
+ gem "sqlite3-ruby"
29
+
30
+ group :mongoid do
31
+ gem "mongo", "~> 1.3.0"
32
+ gem "mongoid", "~> 2.0"
33
+ gem "bson_ext", "~> 1.3.0"
34
+ end
35
+ end
@@ -221,7 +221,7 @@ module Devise
221
221
  # to :main_app. Should be overriden by engines in order
222
222
  # to provide custom routes.
223
223
  mattr_accessor :router_name
224
- @@router_name = :main_app
224
+ @@router_name = nil
225
225
 
226
226
  # DEPRECATED CONFIG
227
227
 
@@ -31,7 +31,7 @@ module Devise
31
31
 
32
32
  included do
33
33
  before_create :generate_confirmation_token, :if => :confirmation_required?
34
- after_create :send_confirmation_instructions, :if => :confirmation_required?
34
+ after_create :send_on_create_confirmation_instructions, :if => :confirmation_required?
35
35
  before_update :postpone_email_change_until_confirmation, :if => :postpone_email_change?
36
36
  after_update :send_confirmation_instructions, :if => :reconfirmation_required?
37
37
  end
@@ -109,6 +109,13 @@ module Devise
109
109
 
110
110
  protected
111
111
 
112
+ # A callback method used to deliver confirmation
113
+ # instructions on creation. This can be overriden
114
+ # in models to map to a nice sign up e-mail.
115
+ def send_on_create_confirmation_instructions
116
+ self.devise_mailer.confirmation_instructions(self).deliver
117
+ end
118
+
112
119
  # Callback to overwrite if confirmation is required or not.
113
120
  def confirmation_required?
114
121
  !confirmed?
@@ -55,9 +55,14 @@ module Devise
55
55
  unless defined?(Rails::Generators)
56
56
  if Devise.case_insensitive_keys == false
57
57
  warn "\n[DEVISE] Devise.case_insensitive_keys is false which is no longer " \
58
- "supported. If you want to continue running on this mode, please ensure " \
59
- "you are not using validatable (you can copy the validations directly to your model) " \
60
- "and set case_insensitive_keys to an empty array.\n"
58
+ "supported. Recent Devise versions automatically downcase the e-mail before " \
59
+ "saving it to the database but your app isn't using this feature. You can solve " \
60
+ "this issue by either:\n\n" \
61
+ "1) Setting config.case_insensitive_keys = [:email] in your Devise initializer and " \
62
+ "running a migration that will downcase all emails already in the database;\n\n" \
63
+ "2) Setting config.case_insensitive_keys = [] (so nothing will be downcased) and " \
64
+ "making sure you are not using Devise :validatable (since validatable assumes case" \
65
+ "insensitivity)\n"
61
66
  end
62
67
 
63
68
  if Devise.apply_schema && defined?(Mongoid)
@@ -1,3 +1,5 @@
1
+ require "active_support/core_ext/object/try"
2
+
1
3
  module ActionDispatch::Routing
2
4
  class RouteSet #:nodoc:
3
5
  # Ensure Devise modules are included only after loading routes, because we
@@ -6,6 +8,14 @@ module ActionDispatch::Routing
6
8
  finalize_without_devise!
7
9
 
8
10
  @devise_finalized ||= begin
11
+ if Devise.router_name.nil? && self != Rails.application.try(:routes)
12
+ warn "[Devise] We have detected that you are using devise_for inside engine routes. " \
13
+ "In this case, you probably want to set Devise.router_name = MOUNT_POINT, where " \
14
+ "MOUNT_POINT is a symbol representing where this engine will be mounted at. For " \
15
+ "now, Devise will default the mount point to :main_app."
16
+ end
17
+
18
+ Devise.router_name ||= :main_app
9
19
  Devise.configure_warden!
10
20
  Devise.regenerate_helpers!
11
21
  true
@@ -210,7 +220,9 @@ module ActionDispatch::Routing
210
220
  devise_scope mapping.name do
211
221
  if block_given?
212
222
  ActiveSupport::Deprecation.warn "Passing a block to devise_for is deprecated. " \
213
- "Please call devise_scope :#{mapping.name} do ... end with the block instead", caller
223
+ "Please remove the block from devise_for (only the block, the call to " \
224
+ "devise_for must still exist) and call devise_scope :#{mapping.name} do ... end " \
225
+ "with the block instead", caller
214
226
  yield
215
227
  end
216
228
 
@@ -363,7 +375,10 @@ module ActionDispatch::Routing
363
375
  path_prefix = "/#{mapping.path}/auth".squeeze("/")
364
376
 
365
377
  if ::OmniAuth.config.path_prefix && ::OmniAuth.config.path_prefix != path_prefix
366
- raise "You can only add :omniauthable behavior to one Devise model"
378
+ raise "Wrong OmniAuth configuration. If you are getting this exception, it means that either:\n\n" \
379
+ "1) You are manually setting OmniAuth.config.path_prefix and it doesn't match the Devise one\n" \
380
+ "2) You are setting :omniauthable in more than one model\n" \
381
+ "3) You changed your Devise routes/OmniAuth setting and haven't restarted your server"
367
382
  else
368
383
  ::OmniAuth.config.path_prefix = path_prefix
369
384
  end
@@ -1,3 +1,3 @@
1
1
  module Devise
2
- VERSION = "2.0.0".freeze
2
+ VERSION = "2.0.1".freeze
3
3
  end
@@ -13,6 +13,13 @@ module Devise
13
13
  public_task :copy_views
14
14
  end
15
15
 
16
+ # TODO: Add this to Rails itslef
17
+ module ClassMethods
18
+ def hide!
19
+ Rails::Generators.hide_namespace self.namespace
20
+ end
21
+ end
22
+
16
23
  def copy_views
17
24
  view_directory :confirmations
18
25
  view_directory :passwords
@@ -36,18 +43,21 @@ module Devise
36
43
  include ViewPathTemplates
37
44
  source_root File.expand_path("../../../../app/views/devise", __FILE__)
38
45
  desc "Copies default Devise views to your application."
46
+ hide!
39
47
  end
40
48
 
41
49
  class SimpleFormForGenerator < Rails::Generators::Base #:nodoc:
42
50
  include ViewPathTemplates
43
51
  source_root File.expand_path("../../templates/simple_form_for", __FILE__)
44
52
  desc "Copies simple form enabled views to your application."
53
+ hide!
45
54
  end
46
55
 
47
56
  class ErbGenerator < Rails::Generators::Base #:nodoc:
48
57
  include ViewPathTemplates
49
58
  source_root File.expand_path("../../../../app/views/devise", __FILE__)
50
59
  desc "Copies Devise mail erb views to your application."
60
+ hide!
51
61
 
52
62
  def copy_views
53
63
  view_directory :mailer
@@ -58,6 +68,7 @@ module Devise
58
68
  include ViewPathTemplates
59
69
  source_root File.expand_path("../../templates", __FILE__)
60
70
  desc "Copies Devise mail markerb views to your application."
71
+ hide!
61
72
 
62
73
  def copy_views
63
74
  view_directory :markerb, target_path
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-01-26 00:00:00.000000000 Z
13
+ date: 2012-02-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: warden
17
- requirement: &2152505840 !ruby/object:Gem::Requirement
17
+ requirement: &2152591440 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '1.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2152505840
25
+ version_requirements: *2152591440
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: orm_adapter
28
- requirement: &2152501920 !ruby/object:Gem::Requirement
28
+ requirement: &2152588140 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 0.0.3
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2152501920
36
+ version_requirements: *2152588140
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: bcrypt-ruby
39
- requirement: &2152525080 !ruby/object:Gem::Requirement
39
+ requirement: &2152586020 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '3.0'
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *2152525080
47
+ version_requirements: *2152586020
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: railties
50
- requirement: &2152523660 !ruby/object:Gem::Requirement
50
+ requirement: &2152584880 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,16 +55,21 @@ dependencies:
55
55
  version: '3.1'
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *2152523660
58
+ version_requirements: *2152584880
59
59
  description: Flexible authentication solution for Rails with Warden
60
60
  email: contact@plataformatec.com.br
61
61
  executables: []
62
62
  extensions: []
63
63
  extra_rdoc_files: []
64
64
  files:
65
+ - .gitignore
66
+ - .travis.yml
65
67
  - CHANGELOG.rdoc
68
+ - Gemfile
69
+ - Gemfile.lock
66
70
  - MIT-LICENSE
67
- - README.rdoc
71
+ - README.md
72
+ - Rakefile
68
73
  - app/controllers/devise/confirmations_controller.rb
69
74
  - app/controllers/devise/omniauth_callbacks_controller.rb
70
75
  - app/controllers/devise/passwords_controller.rb
@@ -87,6 +92,9 @@ files:
87
92
  - app/views/devise/shared/_links.erb
88
93
  - app/views/devise/unlocks/new.html.erb
89
94
  - config/locales/en.yml
95
+ - devise.gemspec
96
+ - gemfiles/Gemfile.rails-3.1.x
97
+ - lib/devise.rb
90
98
  - lib/devise/controllers/helpers.rb
91
99
  - lib/devise/controllers/rememberable.rb
92
100
  - lib/devise/controllers/scoped_views.rb
@@ -106,6 +114,7 @@ files:
106
114
  - lib/devise/hooks/trackable.rb
107
115
  - lib/devise/mailers/helpers.rb
108
116
  - lib/devise/mapping.rb
117
+ - lib/devise/models.rb
109
118
  - lib/devise/models/authenticatable.rb
110
119
  - lib/devise/models/confirmable.rb
111
120
  - lib/devise/models/database_authenticatable.rb
@@ -120,18 +129,17 @@ files:
120
129
  - lib/devise/models/token_authenticatable.rb
121
130
  - lib/devise/models/trackable.rb
122
131
  - lib/devise/models/validatable.rb
123
- - lib/devise/models.rb
124
132
  - lib/devise/modules.rb
133
+ - lib/devise/omniauth.rb
125
134
  - lib/devise/omniauth/config.rb
126
135
  - lib/devise/omniauth/url_helpers.rb
127
- - lib/devise/omniauth.rb
128
136
  - lib/devise/orm/active_record.rb
129
137
  - lib/devise/orm/mongoid.rb
130
138
  - lib/devise/param_filter.rb
131
139
  - lib/devise/path_checker.rb
140
+ - lib/devise/rails.rb
132
141
  - lib/devise/rails/routes.rb
133
142
  - lib/devise/rails/warden_compat.rb
134
- - lib/devise/rails.rb
135
143
  - lib/devise/schema.rb
136
144
  - lib/devise/strategies/authenticatable.rb
137
145
  - lib/devise/strategies/base.rb
@@ -140,7 +148,6 @@ files:
140
148
  - lib/devise/strategies/token_authenticatable.rb
141
149
  - lib/devise/test_helpers.rb
142
150
  - lib/devise/version.rb
143
- - lib/devise.rb
144
151
  - lib/generators/active_record/devise_generator.rb
145
152
  - lib/generators/active_record/templates/migration.rb
146
153
  - lib/generators/active_record/templates/migration_existing.rb
@@ -149,11 +156,11 @@ files:
149
156
  - lib/generators/devise/orm_helpers.rb
150
157
  - lib/generators/devise/views_generator.rb
151
158
  - lib/generators/mongoid/devise_generator.rb
159
+ - lib/generators/templates/README
152
160
  - lib/generators/templates/devise.rb
153
161
  - lib/generators/templates/markerb/confirmation_instructions.markerb
154
162
  - lib/generators/templates/markerb/reset_password_instructions.markerb
155
163
  - lib/generators/templates/markerb/unlock_instructions.markerb
156
- - lib/generators/templates/README
157
164
  - lib/generators/templates/simple_form_for/confirmations/new.html.erb
158
165
  - lib/generators/templates/simple_form_for/passwords/edit.html.erb
159
166
  - lib/generators/templates/simple_form_for/passwords/new.html.erb
@@ -209,6 +216,7 @@ files:
209
216
  - test/orm/active_record.rb
210
217
  - test/orm/mongoid.rb
211
218
  - test/path_checker_test.rb
219
+ - test/rails_app/Rakefile
212
220
  - test/rails_app/app/active_record/admin.rb
213
221
  - test/rails_app/app/active_record/shim.rb
214
222
  - test/rails_app/app/active_record/user.rb
@@ -236,6 +244,7 @@ files:
236
244
  - test/rails_app/app/views/users/index.html.erb
237
245
  - test/rails_app/app/views/users/mailer/confirmation_instructions.erb
238
246
  - test/rails_app/app/views/users/sessions/new.html.erb
247
+ - test/rails_app/config.ru
239
248
  - test/rails_app/config/application.rb
240
249
  - test/rails_app/config/boot.rb
241
250
  - test/rails_app/config/database.yml
@@ -248,18 +257,14 @@ files:
248
257
  - test/rails_app/config/initializers/inflections.rb
249
258
  - test/rails_app/config/initializers/secret_token.rb
250
259
  - test/rails_app/config/routes.rb
251
- - test/rails_app/config.ru
252
260
  - test/rails_app/db/migrate/20100401102949_create_tables.rb
253
261
  - test/rails_app/db/schema.rb
254
262
  - test/rails_app/lib/shared_admin.rb
255
263
  - test/rails_app/lib/shared_user.rb
256
- - test/rails_app/log/development.log
257
- - test/rails_app/log/test.log
258
264
  - test/rails_app/public/404.html
259
265
  - test/rails_app/public/422.html
260
266
  - test/rails_app/public/500.html
261
267
  - test/rails_app/public/favicon.ico
262
- - test/rails_app/Rakefile
263
268
  - test/rails_app/script/rails
264
269
  - test/routes_test.rb
265
270
  - test/support/assertions.rb
@@ -269,28 +274,6 @@ files:
269
274
  - test/support/webrat/integrations/rails.rb
270
275
  - test/test_helper.rb
271
276
  - test/test_helpers_test.rb
272
- - test/tmp/app/views/devise/_links.erb
273
- - test/tmp/app/views/devise/confirmations/new.html.erb
274
- - test/tmp/app/views/devise/mailer/confirmation_instructions.html.erb
275
- - test/tmp/app/views/devise/mailer/reset_password_instructions.html.erb
276
- - test/tmp/app/views/devise/mailer/unlock_instructions.html.erb
277
- - test/tmp/app/views/devise/passwords/edit.html.erb
278
- - test/tmp/app/views/devise/passwords/new.html.erb
279
- - test/tmp/app/views/devise/registrations/edit.html.erb
280
- - test/tmp/app/views/devise/registrations/new.html.erb
281
- - test/tmp/app/views/devise/sessions/new.html.erb
282
- - test/tmp/app/views/devise/unlocks/new.html.erb
283
- - test/tmp/app/views/users/_links.erb
284
- - test/tmp/app/views/users/confirmations/new.html.erb
285
- - test/tmp/app/views/users/mailer/confirmation_instructions.html.erb
286
- - test/tmp/app/views/users/mailer/reset_password_instructions.html.erb
287
- - test/tmp/app/views/users/mailer/unlock_instructions.html.erb
288
- - test/tmp/app/views/users/passwords/edit.html.erb
289
- - test/tmp/app/views/users/passwords/new.html.erb
290
- - test/tmp/app/views/users/registrations/edit.html.erb
291
- - test/tmp/app/views/users/registrations/new.html.erb
292
- - test/tmp/app/views/users/sessions/new.html.erb
293
- - test/tmp/app/views/users/unlocks/new.html.erb
294
277
  homepage: http://github.com/plataformatec/devise
295
278
  licenses: []
296
279
  post_install_message:
@@ -311,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
311
294
  version: '0'
312
295
  requirements: []
313
296
  rubyforge_project: devise
314
- rubygems_version: 1.8.10
297
+ rubygems_version: 1.8.15
315
298
  signing_key:
316
299
  specification_version: 3
317
300
  summary: Flexible authentication solution for Rails with Warden
@@ -364,6 +347,7 @@ test_files:
364
347
  - test/orm/active_record.rb
365
348
  - test/orm/mongoid.rb
366
349
  - test/path_checker_test.rb
350
+ - test/rails_app/Rakefile
367
351
  - test/rails_app/app/active_record/admin.rb
368
352
  - test/rails_app/app/active_record/shim.rb
369
353
  - test/rails_app/app/active_record/user.rb
@@ -391,6 +375,7 @@ test_files:
391
375
  - test/rails_app/app/views/users/index.html.erb
392
376
  - test/rails_app/app/views/users/mailer/confirmation_instructions.erb
393
377
  - test/rails_app/app/views/users/sessions/new.html.erb
378
+ - test/rails_app/config.ru
394
379
  - test/rails_app/config/application.rb
395
380
  - test/rails_app/config/boot.rb
396
381
  - test/rails_app/config/database.yml
@@ -403,18 +388,14 @@ test_files:
403
388
  - test/rails_app/config/initializers/inflections.rb
404
389
  - test/rails_app/config/initializers/secret_token.rb
405
390
  - test/rails_app/config/routes.rb
406
- - test/rails_app/config.ru
407
391
  - test/rails_app/db/migrate/20100401102949_create_tables.rb
408
392
  - test/rails_app/db/schema.rb
409
393
  - test/rails_app/lib/shared_admin.rb
410
394
  - test/rails_app/lib/shared_user.rb
411
- - test/rails_app/log/development.log
412
- - test/rails_app/log/test.log
413
395
  - test/rails_app/public/404.html
414
396
  - test/rails_app/public/422.html
415
397
  - test/rails_app/public/500.html
416
398
  - test/rails_app/public/favicon.ico
417
- - test/rails_app/Rakefile
418
399
  - test/rails_app/script/rails
419
400
  - test/routes_test.rb
420
401
  - test/support/assertions.rb
@@ -424,25 +405,3 @@ test_files:
424
405
  - test/support/webrat/integrations/rails.rb
425
406
  - test/test_helper.rb
426
407
  - test/test_helpers_test.rb
427
- - test/tmp/app/views/devise/_links.erb
428
- - test/tmp/app/views/devise/confirmations/new.html.erb
429
- - test/tmp/app/views/devise/mailer/confirmation_instructions.html.erb
430
- - test/tmp/app/views/devise/mailer/reset_password_instructions.html.erb
431
- - test/tmp/app/views/devise/mailer/unlock_instructions.html.erb
432
- - test/tmp/app/views/devise/passwords/edit.html.erb
433
- - test/tmp/app/views/devise/passwords/new.html.erb
434
- - test/tmp/app/views/devise/registrations/edit.html.erb
435
- - test/tmp/app/views/devise/registrations/new.html.erb
436
- - test/tmp/app/views/devise/sessions/new.html.erb
437
- - test/tmp/app/views/devise/unlocks/new.html.erb
438
- - test/tmp/app/views/users/_links.erb
439
- - test/tmp/app/views/users/confirmations/new.html.erb
440
- - test/tmp/app/views/users/mailer/confirmation_instructions.html.erb
441
- - test/tmp/app/views/users/mailer/reset_password_instructions.html.erb
442
- - test/tmp/app/views/users/mailer/unlock_instructions.html.erb
443
- - test/tmp/app/views/users/passwords/edit.html.erb
444
- - test/tmp/app/views/users/passwords/new.html.erb
445
- - test/tmp/app/views/users/registrations/edit.html.erb
446
- - test/tmp/app/views/users/registrations/new.html.erb
447
- - test/tmp/app/views/users/sessions/new.html.erb
448
- - test/tmp/app/views/users/unlocks/new.html.erb