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