devise 0.2.1 → 0.2.2

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,8 @@
1
+ == 0.2.2
2
+
3
+ * bug fix
4
+ * [#9] Fix a bug when using customized resources
5
+
1
6
  == 0.2.1
2
7
 
3
8
  * refactor
@@ -1,6 +1,6 @@
1
1
  <h2>Resend confirmation instructions</h2>
2
2
 
3
- <% form_for resource, :url => confirmation_path(resource_name) do |f| %>
3
+ <% form_for resource_name, resource, :url => confirmation_path(resource_name) do |f| %>
4
4
  <%= f.error_messages %>
5
5
 
6
6
  <p><%= f.label :email %></p>
@@ -1,6 +1,6 @@
1
1
  <h2>Change your password</h2>
2
2
 
3
- <% form_for resource, :url => password_path(resource_name), :html => { :method => :put } do |f| %>
3
+ <% form_for resource_name, resource, :url => password_path(resource_name), :html => { :method => :put } do |f| %>
4
4
  <%= f.error_messages %>
5
5
  <%= f.hidden_field :reset_password_token %>
6
6
 
@@ -1,6 +1,6 @@
1
1
  <h2>Forgot your password?</h2>
2
2
 
3
- <% form_for resource, :url => password_path(resource_name) do |f| %>
3
+ <% form_for resource_name, resource, :url => password_path(resource_name) do |f| %>
4
4
  <%= f.error_messages %>
5
5
 
6
6
  <p><%= f.label :email %></p>
@@ -1,6 +1,6 @@
1
1
  <h2>Sign in</h2>
2
2
 
3
- <% form_for resource, :url => session_path(resource_name) do |f| -%>
3
+ <% form_for resource_name, resource, :url => session_path(resource_name) do |f| -%>
4
4
  <p><%= f.label :email %></p>
5
5
  <p><%= f.text_field :email %></p>
6
6
 
@@ -1,3 +1,3 @@
1
1
  module Devise
2
- VERSION = "0.2.1".freeze
2
+ VERSION = "0.2.2".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.2.1
4
+ version: 0.2.2
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-10-27 00:00:00 -02:00
13
+ date: 2009-10-28 00:00:00 -02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency