innetra-easy_authentication 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('easy_authentication', '2.0.1') do |e|
5
+ Echoe.new('easy_authentication', '2.0.2') do |e|
6
6
  e.description = "Easy Role Authentication for Ruby on Rails 2.2 (i18n)"
7
7
  e.url = "http://github.com/innetra/easy_authentication"
8
8
  e.author = "Ivan Torres"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{easy_authentication}
5
- s.version = "2.0.1"
5
+ s.version = "2.0.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Ivan Torres"]
@@ -42,7 +42,7 @@ class UserPasswordController < ApplicationController
42
42
  def send_password_token
43
43
 
44
44
  if user = User.reset_password(params[:login])
45
- flash[:notice] = t("user_password.send_password_token.flash.sent", :name => @user.first_name, :email => @user.email)
45
+ flash[:notice] = t("user_password.send_password_token.flash.sent", :name => user.first_name, :email => user.email)
46
46
  else
47
47
  flash[:error] = t("user_password.send_password_token.flash.error")
48
48
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: innetra-easy_authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Torres