lib/trocla/formats/mysql.rb in trocla-0.0.9 vs lib/trocla/formats/mysql.rb in trocla-0.0.10
- old
+ new
@@ -1,6 +1,6 @@
-class Trocla::Formats::Mysql
+class Trocla::Formats::Mysql < Trocla::Formats::Base
require 'digest/sha1'
def format(plain_password,options={})
"*" + Digest::SHA1.hexdigest(Digest::SHA1.digest(plain_password)).upcase
end
-end
\ No newline at end of file
+end