Bump to 0.9.1.
This commit is contained in:
parent
b4707c2bae
commit
ca794776c1
|
@ -1,3 +1,9 @@
|
||||||
|
== 0.9.1
|
||||||
|
|
||||||
|
* bug fix
|
||||||
|
* Allow bigger salt size (by github.com/jgeiger)
|
||||||
|
* Fix relative url root
|
||||||
|
|
||||||
== 0.9.0
|
== 0.9.0
|
||||||
|
|
||||||
* deprecation
|
* deprecation
|
||||||
|
|
|
@ -92,15 +92,12 @@ module Devise
|
||||||
self.path_prefix.count("/")
|
self.path_prefix.count("/")
|
||||||
end
|
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
|
def raw_path
|
||||||
path_prefix + as.to_s
|
path_prefix + as.to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns the parsed path. If you need meta information in your path_prefix,
|
# Returns the parsed path taking into account the relative url root and raw path.
|
||||||
# you should overwrite this method to use it. The only information supported
|
|
||||||
# by default is I18n.locale.
|
|
||||||
#
|
|
||||||
def parsed_path
|
def parsed_path
|
||||||
returning (ActionController::Base.relative_url_root.to_s + raw_path) do |path|
|
returning (ActionController::Base.relative_url_root.to_s + raw_path) do |path|
|
||||||
self.class.default_url_options.each do |key, value|
|
self.class.default_url_options.each do |key, value|
|
||||||
|
@ -109,7 +106,6 @@ module Devise
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
# Create magic predicates for verifying what module is activated by this map.
|
# Create magic predicates for verifying what module is activated by this map.
|
||||||
# Example:
|
# Example:
|
||||||
#
|
#
|
||||||
|
|
|
@ -12,9 +12,9 @@ module Devise
|
||||||
null = options[:null] || false
|
null = options[:null] || false
|
||||||
encryptor = options[:encryptor] || (respond_to?(:encryptor) ? self.encryptor : :sha1)
|
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 :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
|
end
|
||||||
|
|
||||||
# Creates confirmation_token, confirmed_at and confirmation_sent_at.
|
# Creates confirmation_token, confirmed_at and confirmation_sent_at.
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module Devise
|
module Devise
|
||||||
VERSION = "0.9.0".freeze
|
VERSION = "0.9.1".freeze
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue