devise_rails3_ennder 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +4 -1
  2. data/README.rdoc +33 -23
  3. data/version.txt +1 -1
  4. metadata +3 -3
data/History.txt CHANGED
@@ -16,4 +16,7 @@
16
16
 
17
17
  == 1.0.3 / 2011-08-14
18
18
  * README.rdoc updated
19
- * added locals :f the partial call (users/_form_personal_fields.html.erb)
19
+ * added locals :f the partial call (users/_form_personal_fields.html.erb)
20
+
21
+ == 1.0.4 / 2011-08-14
22
+ * README.rdoc updated
data/README.rdoc CHANGED
@@ -1,42 +1,53 @@
1
1
  == Devise Rails 3 Ennder
2
2
 
3
- Devise *translated* *in* *French* *by* *Ennder*, *in* *this* *gem* is a flexible authentication solution for Rails based on Warden.
3
+ Devise (*translated* *in* *French* *by* *Ennder*, *in* *this* *gem*) is a flexible authentication solution for Rails based on Warden.
4
4
 
5
- +What this gem does :+
5
+ +What this gem does:+
6
6
  * adds a rake task *devise_rails3_ennder*:*sync_user_model* that adds a model 'User' that has devise enabled
7
7
  * adds a rake task *devise_rails3_ennder*:*sync_migrations* to add a migration that creates the users table and its devise fields
8
- You will be able to add your own fields to the User model only after that
8
+ You will be able to add your own fields to the User model only after that.
9
9
  * adds a rake task *devise_rails3_ennder*:*sync_devise_initializer* to add the devise initializer configuration file (config/initializers/devise.rb)
10
- You should configure devise with this task
10
+ You will have to configure devise with this task.
11
11
  * adds extended devise translations (en, fr)
12
12
  * adds modified views for translations
13
-
13
+ * adds a link to a partial (users/_form_personal_fields.html.erb) in the user profile show view
14
14
  You will have to provide this partial filled with you User personal fields inputs
15
- * add the 13 devise routes to your routes, for the User model :
16
- devise_for :users
15
+ * add the 13 devise routes to your routes, for the User model:
17
16
 
18
- +This gem does not (you have to do it) :+
19
- * install the warden and devise gems* adds a link to a partial (users/_personal_fields.html.erb) in the user profile show
17
+ devise_for :users
20
18
 
19
+ +This gem does not (you have to do it yoursel):+
20
+ * install the *warden* and *devise* gems
21
21
  * lauch the 3 rake tasks
22
- * add the before_filter instruction to your ApplicationController :
22
+ * add the before_filter instruction to your ApplicationController:
23
+
23
24
  before_filter :authenticate_user!
24
- * configure your smtp setting, you must add in your environment configration file (dev / test /production) something like :
25
+
26
+ * configure your smtp setting, you must add in your environment configration file (dev | test | production) something like:
27
+
28
+ //i.a.p. : Internet Access Provider
25
29
  config.action_mailer.smtp_settings = {
26
- :address => 'your_smtp_server_address.domain.com',
30
+ :address => 'your_iap_smtp_server_name.your_iap_domain.com',
27
31
  :port => 25,
28
- :domain => "free.fr"
32
+ :domain => 'your_iap_domain.com'
29
33
  }
30
- * add the login / logout partial to your layout, you must insert the following instruction :
34
+
35
+ * add the login / logout partial to your layout, you must insert the following instruction:
36
+
31
37
  <%= render :partial => 'devise/shared/user_nav' %>
32
- * add the flash message div to your layout, to display the notice / error Devise messages :
38
+
39
+ * add the flash message div to your layout, to display the notice / error Devise messages:
40
+
33
41
  <%- flash.each do |name, msg| -%>
34
42
  <%= content_tag :div, msg, :id => "flash_#{name}" %>
35
43
  <%- end -%>
36
- * verify your routes for the user :
37
- Verify yourself in your routes configuration file, that the resources for the user model are not fully defined like this
44
+
45
+ * verify your routes for the user in the routes configuration file:
46
+ Verify that the resources for the user model are not fully defined like this:
47
+
38
48
  resources :users
39
- If you have to add new routes to user, add them after re-specifying :
49
+ If you have to add new routes to user, add them after re-specifying:
50
+
40
51
  devise_for :users
41
52
 
42
53
  Right now devise is composed of 12 modules:
@@ -56,26 +67,25 @@ Right now devise is composed of 12 modules:
56
67
 
57
68
  == Dependencies
58
69
 
59
- Devise Rails 3 Ennder is based on :
70
+ Devise Rails 3 Ennder is based on:
60
71
  * Devise
61
72
  * Warden (http://github.com/hassox/warden), a Rack Authentication Framework so you need to install it as a gem. Please ensure you have it installed in order to use devise (see installation below).
62
73
 
63
74
  == Installation
64
75
 
65
- Install devise_rails3_ennder
76
+ Install the devise_rails3_ennder gem:
66
77
 
67
78
  gem install devise_rails3_ennder
68
79
 
69
- Install warden gem if you don't have it installed:
80
+ Install the warden gem:
70
81
 
71
82
  gem install warden
72
83
 
73
- Install devise gem:
84
+ Install the devise gem:
74
85
 
75
86
  gem install devise
76
87
 
77
88
  Configure warden and devise gems inside your app Gemfile:
78
-
79
89
  gem 'warden'
80
90
  gem 'devise'
81
91
  gem 'devise_rails3_ennder'
data/version.txt CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: devise_rails3_ennder
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.3
5
+ version: 1.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - "Jos\xC3\xA9 VALIM, Carlos ANT\xC3\x94NIO, J\xC3\xA9r\xC3\xB4me BATAILLE"
@@ -24,7 +24,7 @@ dependencies:
24
24
  version: 3.7.0
25
25
  type: :development
26
26
  version_requirements: *id001
27
- description: Devise *translated* *in* *French* *by* *Ennder*, *in* *this* *gem* is a flexible authentication solution for Rails based on Warden.
27
+ description: Devise (*translated* *in* *French* *by* *Ennder*, *in* *this* *gem*) is a flexible authentication solution for Rails based on Warden.
28
28
  email: mel@ennder.fr
29
29
  executables:
30
30
  - .directory
@@ -129,6 +129,6 @@ rubyforge_project: devise_rails3_ennder
129
129
  rubygems_version: 1.6.2
130
130
  signing_key:
131
131
  specification_version: 3
132
- summary: Devise *translated* *in* *French* *by* *Ennder*, *in* *this* *gem* is a flexible authentication solution for Rails based on Warden.
132
+ summary: Devise (*translated* *in* *French* *by* *Ennder*, *in* *this* *gem*) is a flexible authentication solution for Rails based on Warden.
133
133
  test_files: []
134
134