Sha256: 55e11ca101217808d0fad64fdb8aed4a22749cf0596a4df1715d9a84f78ac4d0

Contents?: true

Size: 538 Bytes

Versions: 3

Compression:

Stored size: 538 Bytes

Contents

module Ridgepole
  module ReplaceDbTask; end
end

require "ridgepole/replace_db_task/version"
require "ridgepole/replace_db_task/spec_config"
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

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

      def config
        @config
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ridgepole-replace_db_task-1.0.0 lib/ridgepole/replace_db_task.rb
ridgepole-replace_db_task-0.6.1 lib/ridgepole/replace_db_task.rb
ridgepole-replace_db_task-0.6.0 lib/ridgepole/replace_db_task.rb