require devise and devise-encryptable in the encryptor, and require the
actual encryptor in the module definition.
require pry.
default unused arguments to 'nil' in the digest and compare
methods. make the ruby_sanitize method a class method instead of an
instance method.
don't default the password argument to nil.
add a railtie that dynamically defines the encryptor class under the
right devise module. this should obviate the need to run a generator
when the gem is included in another app.
move the definition of the encryptor class from the railtie to the main module.
get rid of the rails generator entirely and use the dynamically defined
class instead.
require bcrypt in the encryptor and update the spec to reflect the new
location of the encryptor.
we must use 'be_truthy' instead of 'be_true' in the new rspec.
ensure that the bcrypt hash is a string before splitting.
only rely on the environment variables for the salts for now.
move the salts from constants defined on the class to class methods to
make the ENV hash easier to stub, and then stub them in the spec.