Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bump to 0.9.1.

  • Loading branch information...
commit ca794776c1da40786ae106d3d97ce943293f224e 1 parent b4707c2
José Valim josevalim authored
6 CHANGELOG.rdoc
View
@@ -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
8 lib/devise/mapping.rb
View
@@ -92,15 +92,12 @@ def as_position
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 @@ def parsed_path
end
end
-
# Create magic predicates for verifying what module is activated by this map.
# Example:
#
4 lib/devise/schema.rb
View
@@ -12,9 +12,9 @@ def authenticatable(options={})
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.
2  lib/devise/version.rb
View
@@ -1,3 +1,3 @@
module Devise
- VERSION = "0.9.0".freeze
+ VERSION = "0.9.1".freeze
end
Please sign in to comment.
Something went wrong with that request. Please try again.