Hi,
It took a little longer than expected, but
Speculation, a Ruby port of clojure.spec, is now in a good place. It has the main features of clojure.spec: validation, conforming, generation, and instrumentation. What's missing is an equivalent of `
s/describe` and documentation integration.
My goal for Speculation is to provide, as close as possible, clojure.spec in Ruby. There's nothing original in there - the API and implementation are largely lifted from clojure.spec (with a few parentheses re-arranged).
The documentation and examples are a little slim at the moment, and probably make little sense without prior exposure to clojure.spec. I plan to address this before sharing it with the larger Ruby community.