devise 0.7.4 → 0.7.5

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.

@@ -1,3 +1,11 @@
1
+ == 0.7.5
2
+
3
+ * enhancements
4
+ * Set a default value for mailer to avoid find_template issues
5
+ * Add models configuration to MongoMapper::EmbeddedDocument as well
6
+
7
+ == 0.7.4
8
+
1
9
  * enhancements
2
10
  * Extract Activatable from Confirmable
3
11
  * Decouple Serializers from Devise modules
@@ -47,7 +47,7 @@ Run the generator:
47
47
 
48
48
  ruby script/generate devise_install
49
49
 
50
- And you're ready to go.
50
+ And you're ready to go. The generator will install an initializer which describes Devise's configuration options. Be sure to take a look.
51
51
 
52
52
  == Basic Usage
53
53
 
@@ -57,7 +57,7 @@ Devise must be set up within the model (or models) you want to use, and devise r
57
57
 
58
58
  We're assuming here you want a User model. First of all you have to setup a migration with the following fields:
59
59
 
60
- create_table :users do
60
+ create_table :users do |t|
61
61
  t.authenticatable
62
62
  t.confirmable
63
63
  t.recoverable
@@ -145,9 +145,8 @@ After signing in a user, confirming it's account or updating it's password, devi
145
145
 
146
146
  You can also overwrite after_sign_in_path_for and after_sign_out_path_for to customize better your redirect hooks.
147
147
 
148
- Finally, if you are using confirmable or recoverable, you also need to setup default url options for the mailer. Here's is the configuration for development:
148
+ Finally, if you are using confirmable or recoverable, you also need to setup default url options for the mailer in each environment. Here's is the configuration for config/environments/development.rb:
149
149
 
150
- DeviseMailer.sender = "no-reply@yourapp.com"
151
150
  config.action_mailer.default_url_options = { :host => 'localhost:3000' }
152
151
 
153
152
  == Views
@@ -257,12 +256,16 @@ To use it, just set Devise.orm or configure it in the initialization file (which
257
256
 
258
257
  Please refer to TODO file.
259
258
 
260
- == Contributors
259
+ == Maintainers
261
260
 
262
261
  * José Valim (http://github.com/josevalim)
263
262
  * Carlos Antônio da Silva (http://github.com/carlosantoniodasilva)
263
+
264
+ == Contributors
265
+
264
266
  * Marcelo Silveira (http://github.com/mhfs)
265
267
  * Cyril Mougel (http://github.com/shingara)
268
+ * Jonas Grimfelt (http://github.com/grimen)
266
269
 
267
270
  == Bugs and Feedback
268
271
 
@@ -43,7 +43,7 @@ Devise.setup do |config|
43
43
  # config.timeout_in = 10.minutes
44
44
 
45
45
  # Configure the e-mail address which will be shown in DeviseMailer.
46
- # config.mailer_sender = "foo.bar@yourapp.com"
46
+ config.mailer_sender = "please-change-me@config-initializers-devise.com"
47
47
 
48
48
  # Load and configure the ORM. Supports :active_record, :data_mapper and :mongo_mapper.
49
49
  # require 'devise/orm/mongo_mapper'
@@ -24,3 +24,4 @@ module Devise
24
24
  end
25
25
 
26
26
  MongoMapper::Document::ClassMethods.send(:include, Devise::Models)
27
+ MongoMapper::EmbeddedDocument::ClassMethods.send(:include, Devise::Models)
@@ -1,3 +1,3 @@
1
1
  module Devise
2
- VERSION = "0.7.4".freeze
2
+ VERSION = "0.7.5".freeze
3
3
  end
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: 0.7.4
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Jos\xC3\xA9 Valim"
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-12-22 00:00:00 +01:00
13
+ date: 2010-01-02 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency