Sha256: 6719b0f5767594c0623bbc4f22ae5c787e0f04cd1a1411ecf63f12e7146fee83
Contents?: true
Size: 630 Bytes
Versions: 2
Compression:
Stored size: 630 Bytes
Contents
require "active_support/configurable" module Ridgepole module ReplaceDbTask class SpecConfig attr_reader :spec_name, :schema_file_path, :skip_drop_table, :ignore_tables, :multiple_migration_settings def initialize(spec_name:, schema_file_path:, skip_drop_table: true, ignore_tables: [], multiple_migration_settings: {development: %i[test]}) @spec_name = spec_name @schema_file_path = schema_file_path @skip_drop_table = skip_drop_table @ignore_tables = ignore_tables @multiple_migration_settings = multiple_migration_settings freeze end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ridgepole-replace_db_task-0.6.1 | lib/ridgepole/replace_db_task/spec_config.rb |
ridgepole-replace_db_task-0.6.0 | lib/ridgepole/replace_db_task/spec_config.rb |