lib/synchronised_migration.rb in synchronised_migration-2.2.0 vs lib/synchronised_migration.rb in synchronised_migration-3.0.0

- old
+ new

@@ -1,22 +1,14 @@ module SynchronisedMigration - class << self - attr_accessor :redis_config - end - - def self.configure - self.redis_config ||= Configuration.new - yield(redis_config) - end - - class Configuration - attr_accessor :host, :port, :db - - def initialize - @host = '' - @port = 0 - @db = 0 - end - end end -require 'synchronised_migration/railtie' if defined?(Rails) +require "redis" +require "logger" +require "json" +require "redlock" +require "yaml" +require "dry/cli" +require "tty/table" +require "synchronised_migration/commands" +require "synchronised_migration/configuration" +require "synchronised_migration/main" +require "synchronised_migration/result"