git ssb

0+

dangerousbeans / %aPBe2k3ugtjBr4rrsU1…



Commit 17a8701b53ff97626f522f8ae1dcbabc3af61fcd

Made exception classes descend from StandardError, not Exception.

git-svn-id: http://bcrypt-ruby.rubyforge.org/svn/trunk@41 b1e0f299-433e-4bb3-9895-84128a6cfb6a
codahale committed on 11/22/2007, 7:55:09 PM
Parent: 1133c7504687c6affcf846bedee5fa83bf74cc8a

Files changed

CHANGELOGchanged
lib/bcrypt.rbchanged
CHANGELOGView
@@ -12,5 +12,8 @@
1212 - Fixed crashes when hashing weird values (e.g., false, etc.)
1313
1414 2.0.2 Jun 06 2007
1515 - Fixed example code in the README [Winson]
16- - Fixed Solaris compatibility [Jeremy LaTrasse, Twitter crew]
16+ - Fixed Solaris compatibility [Jeremy LaTrasse, Twitter crew]
17+
18+SVN Blah
19+ - Made exception classes descend from StandardError, not Exception [Dan42]
lib/bcrypt.rbView
@@ -7,12 +7,12 @@
77 # A Ruby library implementing OpenBSD's bcrypt()/crypt_blowfish algorithm for
88 # hashing passwords.
99 module BCrypt
1010 module Errors
11- class InvalidSalt < Exception; end # The salt parameter provided to bcrypt() is invalid.
12- class InvalidHash < Exception; end # The hash parameter provided to bcrypt() is invalid.
13- class InvalidCost < Exception; end # The cost parameter provided to bcrypt() is invalid.
14- class InvalidSecret < Exception; end # The secret parameter provided to bcrypt() is invalid.
11+ class InvalidSalt < StandardError; end # The salt parameter provided to bcrypt() is invalid.
12+ class InvalidHash < StandardError; end # The hash parameter provided to bcrypt() is invalid.
13+ class InvalidCost < StandardError; end # The cost parameter provided to bcrypt() is invalid.
14+ class InvalidSecret < StandardError; end # The secret parameter provided to bcrypt() is invalid.
1515 end
1616
1717 # A Ruby wrapper for the bcrypt() extension calls.
1818 class Engine

Built with git-ssb-web