Bump to 0.9.1.

This commit is contained in:
José Valim 2010-01-25 20:19:47 +01:00
parent b4707c2bae
commit ca794776c1
4 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,9 @@
== 0.9.1
* bug fix
* Allow bigger salt size (by github.com/jgeiger)
* Fix relative url root
== 0.9.0
* deprecation

View File

@ -92,15 +92,12 @@ module Devise
self.path_prefix.count("/")
end
# Returns the raw path using the current relative_url_root, path_prefix and as.
# Returns the raw path using path_prefix and as.
def raw_path
path_prefix + as.to_s
end
# Returns the parsed path. If you need meta information in your path_prefix,
# you should overwrite this method to use it. The only information supported
# by default is I18n.locale.
#
# Returns the parsed path taking into account the relative url root and raw path.
def parsed_path
returning (ActionController::Base.relative_url_root.to_s + raw_path) do |path|
self.class.default_url_options.each do |key, value|
@ -109,7 +106,6 @@ module Devise
end
end
# Create magic predicates for verifying what module is activated by this map.
# Example:
#

View File

@ -12,9 +12,9 @@ module Devise
null = options[:null] || false
encryptor = options[:encryptor] || (respond_to?(:encryptor) ? self.encryptor : :sha1)
apply_schema :email, String, :null => null, :limit => 100
apply_schema :email, String, :null => null
apply_schema :encrypted_password, String, :null => null, :limit => Devise::ENCRYPTORS_LENGTH[encryptor]
apply_schema :password_salt, String, :null => null, :limit => 30
apply_schema :password_salt, String, :null => null
end
# Creates confirmation_token, confirmed_at and confirmation_sent_at.

View File

@ -1,3 +1,3 @@
module Devise
VERSION = "0.9.0".freeze
VERSION = "0.9.1".freeze
end