* Added spec to check for recursive hashing * Added specs for self.typecast * Added self.typecast to BCryptHash which solves it from always being marked as dirty by Resource::dirty_attributes() * Patched self.dump to check for BCryptHash::Password and not rehash itself everytime it is saved. ** NOTE: This is my first major patch to someone elses work. I don't know if I did it correctly (by using a rescue block for the last instance, partly because BCrypt::Engine doesn't let us verify if a hash is valid via public API, at least not what I saw). Signed-off-by: Frostbytten - Chris Villalobos <firstname.lastname@example.org>
…cause recursion problems.
* Updated specs to create the model in before :each block
* Also updated to use plain string ("0.9.7") where possible since it is alot easier to audit and find/replace. Strangely enough its far easier to make mistakes with the constant because it's not easy to immediately see what the version dependency is. * Fixed a few bugs that were assumptions made in sam/dm-core that will not longer be the case when dkubb/dm-core is merged into the mainline.
…erializes into a hash
…ecs belong in public but this is a good start
…stent spec across all serialize methods
…e added as a default install