Sha256: bd1ac65a156ddc03420f2afadb096820cb3a0df50ed5b2f1339da7bb98d45928

Contents?: true

Size: 615 Bytes

Versions: 2

Compression:

Stored size: 615 Bytes

Contents

module Ridgepole
  module ReplaceDbTask; end
end

require "ridgepole/replace_db_task/version"
require "ridgepole/replace_db_task/config"
require "ridgepole/replace_db_task/executor"
require "ridgepole/replace_db_task/railtie" if defined?(::Rails::Railtie)

module Ridgepole
  module ReplaceDbTask
    class Error < StandardError; end

    def self.configure(&block)
      yield @config ||= Config.new
    end

    def self.config
      @config
    end

    configure do |config|
      config.ridgepole = 'bundle exec ridgepole'
      config.skip_drop_table = false
      config.ignore_tables = []
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ridgepole-replace_db_task-0.2.0 lib/ridgepole/replace_db_task.rb
ridgepole-replace_db_task-0.1.0 lib/ridgepole/replace_db_task.rb