Sha256: 1da4613c27c65fc87be062db0d5005c1039bfd75b2adb42c931ceaf234976d7d

Contents?: true

Size: 539 Bytes

Versions: 5

Compression:

Stored size: 539 Bytes

Contents

require 'active_support/configurable'

module MasterDataTool
  class Config
    include ActiveSupport::Configurable

    config_accessor :master_data_dir
    config_accessor :dump_ignore_tables
    config_accessor :dump_ignore_columns
    config_accessor :logger

    def self.default_config
      new.tap do |config|
        config.master_data_dir = nil # Rails.root.join('db/fixtures')
        config.dump_ignore_tables = %w[]
        config.dump_ignore_columns = %w[]
        config.logger = Logger.new(nil)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
master_data_tool-0.11.0 lib/master_data_tool/config.rb
master_data_tool-0.10.0 lib/master_data_tool/config.rb
master_data_tool-0.9.0 lib/master_data_tool/config.rb
master_data_tool-0.8.0 lib/master_data_tool/config.rb
master_data_tool-0.7.0 lib/master_data_tool/config.rb