Sha256: a4ec972bc53376ac47a4f4fd33f0a6fc21dfccaeb9ebb3f8235b532ad70a479d
Contents?: true
Size: 1005 Bytes
Versions: 6
Compression:
Stored size: 1005 Bytes
Contents
require 'active_record' require 'active_support/all' require 'active_record/connection_adapters/for_alter' require 'departure/version' require 'departure/log_sanitizers/password_sanitizer' require 'departure/runner' require 'departure/cli_generator' require 'departure/logger' require 'departure/null_logger' require 'departure/logger_factory' require 'departure/configuration' require 'departure/errors' require 'departure/command' require 'departure/connection_base' require 'departure/migration' require 'departure/railtie' if defined?(Rails) # We need the OS not to buffer the IO to see pt-osc's output while migrating $stdout.sync = true ActiveSupport.on_load(:active_record) do ActiveRecord::Migration.class_eval do include Departure::Migration end end module Departure class << self attr_accessor :configuration end def self.configure self.configuration ||= Configuration.new yield(configuration) end def self.load # No-op left for compatibility end end
Version data entries
6 entries across 6 versions & 2 rubygems