lib/json-schema/validators/hyper-draft3.rb in json-schema-3.0.0 vs lib/json-schema/validators/hyper-draft3.rb in json-schema-4.0.0

- old
+ new

@@ -1,13 +1,12 @@ module JSON class Schema - class HyperDraft3 < Draft3 def initialize super - @uri = JSON::Util::URI.parse("http://json-schema.org/draft-03/hyper-schema#") + @uri = JSON::Util::URI.parse('http://json-schema.org/draft-03/hyper-schema#') end - JSON::Validator.register_validator(self.new) + JSON::Validator.register_validator(new) end end end