lib/compel.rb in compel-0.3.2 vs lib/compel.rb in compel-0.3.4
- old
+ new
@@ -1,24 +1,17 @@
-require 'json'
require 'hashie'
-require 'hashie/extensions/symbolize_keys'
-require 'compel/exceptions/invalid_object_error'
-require 'compel/exceptions/validation_error'
require 'compel/exceptions/type_error'
+require 'compel/exceptions/invalid_object_error'
-require 'compel/result'
-
require 'compel/validators/base'
-require 'compel/validators/type_validator'
-require 'compel/validators/hash_validator'
-require 'compel/validators/array_validator'
-
require 'compel/builder/methods'
require 'compel/coercion/coercion'
-require 'compel/contract'
-require 'compel/validation'
+require 'compel/validation/validation'
+
+require 'compel/result'
require 'compel/errors'
+require 'compel/contract'
module Compel
extend Builder::Methods