issues
search
voxpupuli
/
json-schema
Ruby JSON Schema Validator
MIT License
1.53k
stars
242
forks
source link
Support Ruby 1.8.7
#314
Closed
robertam3
closed
8 years ago
robertam3
commented
8 years ago
DateTime.rfc3339 was introduced in Ruby 1.9, so for now default to ISO 8601 format (which is almost identical)
Hash#select
returns an Array in Ruby 1.8 and a Hash in 1.9. Updated here to always return a Hash.
Hash#select
returns an Array in Ruby 1.8 and a Hash in 1.9. Updated here to always return a Hash.