lib/json_schema/configuration.rb in json_schema-0.14.4 vs lib/json_schema/configuration.rb in json_schema-0.15.0

- old
+ new

@@ -1,7 +1,8 @@ module JsonSchema class Configuration + attr_accessor :all_of_sub_errors attr_reader :custom_formats attr_reader :validate_regex_with def validate_regex_with=(validator) @validate_regex_with = validator @@ -13,15 +14,15 @@ # Used for testing. def reset! @validate_regex_with = nil @custom_formats = {} + @all_of_sub_errors = false end private def initialize reset! end - end end