lib/dry/schema/json.rb in dry-schema-0.2.0 vs lib/dry/schema/json.rb in dry-schema-0.3.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'dry/schema/processor'
module Dry
module Schema
# JSON schema type
@@ -11,6 +13,6 @@
class JSON < Processor
config.key_map_type = :stringified
config.type_registry = config.type_registry.namespaced(:json)
end
end
-end
\ No newline at end of file
+end