lib/table_sync.rb in table_sync-2.1.0 vs lib/table_sync.rb in table_sync-2.2.0
- old
+ new
@@ -5,29 +5,34 @@
require "rabbit/event_handler" # NOTE: from rabbit_messaging"
require "active_support/core_ext/object/blank"
require "active_support/core_ext/numeric/time"
module TableSync
- require_relative "./table_sync/version"
- require_relative "./table_sync/errors"
- require_relative "./table_sync/event_actions"
- require_relative "./table_sync/event_actions/data_wrapper"
- require_relative "./table_sync/config"
- require_relative "./table_sync/config/callback_registry"
- require_relative "./table_sync/config_decorator"
- require_relative "./table_sync/dsl"
- require_relative "./table_sync/receiving_handler"
- require_relative "./table_sync/base_publisher"
- require_relative "./table_sync/publisher"
- require_relative "./table_sync/batch_publisher"
- require_relative "./table_sync/orm_adapter/active_record"
- require_relative "./table_sync/orm_adapter/sequel"
- require_relative "./table_sync/model/active_record"
- require_relative "./table_sync/model/sequel"
- require_relative "./table_sync/instrument"
- require_relative "./table_sync/instrument_adapter/active_support"
- require_relative "./table_sync/naming_resolver/active_record"
- require_relative "./table_sync/naming_resolver/sequel"
+ require_relative "table_sync/version"
+ require_relative "table_sync/errors"
+ require_relative "table_sync/plugins"
+ require_relative "table_sync/event_actions"
+ require_relative "table_sync/event_actions/data_wrapper"
+ require_relative "table_sync/config"
+ require_relative "table_sync/config/callback_registry"
+ require_relative "table_sync/config_decorator"
+ require_relative "table_sync/dsl"
+ require_relative "table_sync/receiving_handler"
+ require_relative "table_sync/base_publisher"
+ require_relative "table_sync/publisher"
+ require_relative "table_sync/batch_publisher"
+ require_relative "table_sync/orm_adapter/active_record"
+ require_relative "table_sync/orm_adapter/sequel"
+ require_relative "table_sync/model/active_record"
+ require_relative "table_sync/model/sequel"
+ require_relative "table_sync/instrument"
+ require_relative "table_sync/instrument_adapter/active_support"
+ require_relative "table_sync/naming_resolver/active_record"
+ require_relative "table_sync/naming_resolver/sequel"
+
+ # @api public
+ # @since 2.2.0
+ extend Plugins::AccessMixin
class << self
include Memery
attr_accessor :publishing_job_class_callable