lib/avromatic.rb in avromatic-2.2.6 vs lib/avromatic.rb in avromatic-2.3.0

- old
+ new

@@ -6,11 +6,10 @@ require 'ice_nine/core_ext/object' require 'avromatic/model' require 'avromatic/model_registry' require 'avromatic/messaging' require 'active_support/core_ext/string/inflections' -require 'avromatic/patches' module Avromatic class << self attr_accessor :schema_registry, :registry_url, :schema_store, :logger, :messaging, :custom_type_registry, :nested_models, @@ -29,13 +28,9 @@ self.allow_unknown_attributes = false def self.configure yield self eager_load_models! - end - - def self.use_encoding_providers? - use_custom_datum_writer && defined?(Avromatic::Patches::SchemaValidatorPatch) end def self.build_schema_registry raise 'Avromatic must be configured with a registry_url' unless registry_url if use_schema_fingerprint_lookup