The validator.nu gem throws YAJL deprecation warnings and occasionally fails completely citing issues with the HTTPStream. Are there any stable ruby gems that will validate HTML5 documents?
e.g.
req1.9.2p320 :001 > require 'validator.nu'
DEPRECATION WARNING: Yajl::HttpStream is going to be removed in 2.0
DEPRECATION WARNING: Yajl's Gzip support is going to be removed in 2.0
DEPRECATION WARNING: Yajl's Deflate support is going to be removed in 2.0
=> true
The
living-validatorgem does away with theYAJLdependency in favor ofHTTPartyandJSON. The github project is here: https://github.com/DynamiX-Web-Design/living-validator. It is also compatible with hosting your own living validator instance.