1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Fix a couple things based on community feedback (love ya!)

This commit is contained in:
José Valim 2010-06-13 10:51:46 +02:00
parent a2f84852af
commit ed22295963
3 changed files with 5 additions and 5 deletions

View file

@ -51,5 +51,5 @@ begin
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
puts "Jeweler, or one of its dependencies, is not available. Install it with: gem install jeweler"
end

View file

@ -8,8 +8,8 @@ Gem::Specification.new do |s|
s.version = "1.1.rc1"
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
s.authors = ["José Valim", "Carlos Antônio"]
s.date = %q{2010-06-12}
s.authors = ["Jos\303\251 Valim", "Carlos Ant\303\264nio"]
s.date = %q{2010-06-13}
s.description = %q{Flexible authentication solution for Rails with Warden}
s.email = %q{contact@plataformatec.com.br}
s.extra_rdoc_files = [

View file

@ -31,7 +31,7 @@ module Devise
translations = begin
I18n.t("devise.mailer", :raise => true).map { |k, v| k if v.is_a?(String) }.compact
rescue Exception => e # Do not care if something fails
{}
[]
end
keys = actions & translations
@ -48,7 +48,7 @@ module Devise
translations = begin
I18n.t("devise.sessions", :raise => true).keys
rescue Exception => e # Do not care if something fails
{}
[]
end
keys = flash & translations