If you want to raise an error if !data.is_a?(String), you can't wrap that code in a if data.is_a?(String)
Fix enum validation failing on schema validation
Up version to 2.1.7.
Fix merge on lib/json-schema/attributes/format.rb
Re-apply 9adebb51e0d003b4ab6850ae5ea96cbbde943b84 Improved date-time regex to now check if there is zero or one of : in timezone
Remove the line that would never be run in the old version of the format validation code
Add .bundle and .idea to .gitignore
Merge branch 'patch-1' of https://github.com/jpmckinney/json-schema into jpmckinney-patch-1
Still check for string type on each format currently supported.
Adding URI format.
Version bump to 2.1.8.
Schema processing errors in refs were not being bubbled up.
Stop clearing the cache on metaschema validation
Add deprecation notice to old 'cache_schemas' method.
Up version to 2.1.9.
Add ":strict" option to provide strict validation.
Version 2.2.0
Fix 'strict' README
Fix README even more :\
Add respect "patternProperties" with ":strict" option