emboss/krypt — comment on commit 2e76487ccdeb6a6ae184fe2d8d552f5c98d33998
File:  line 0
By emboss:

@nahi: In order to be able to validate a value whenever it is being set, I introduced a "validator" for the corresponding codecs. This, however, generally forbids initializing a class with nil, because nil is in most cases no longer an acceptable value. I modified the specs accordingly.

With krypt-core master the primitive specs now run all except for the Bignum cases, UTF8String (need to think about the errors some more) and 2 cases for ObjectId where validation is not yet strict enough.

I still get a SEGV for Sequence and Set, something I overlooked, this is the next thing I am going to fix.

Once done, I'm applying the same fixes and concepts to krypt-core-jruby.