lib/rbnacl/password_hash.rb in rbnacl-4.0.0.pre vs lib/rbnacl/password_hash.rb in rbnacl-4.0.0

- old
+ new

@@ -79,11 +79,11 @@ def argon2_supported? if RbNaCl::Sodium::Version::ARGON2_SUPPORTED true else - raise NoMethodError, "argon2 requires libsodium version >= 1.0.9" \ - " (currently running #{RbNaCl::Sodium::Version::STRING})" + raise NotImplementedError, "argon2 requires libsodium version >= 1.0.9" \ + " (currently running #{RbNaCl::Sodium::Version::STRING})" end end end end end