Sha256: 366b8fbce4a9b13ba3447a830b3341e001c9e5830c4a49fb6b779ceac257e6c0

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

require "active_support/configurable"

module Ridgepole
  module ReplaceDbTask
    class SpecConfig
      attr_reader :spec_name, :schema_file_path, :multiple_migration_settings, :other_options

      def initialize(spec_name:, schema_file_path:, multiple_migration_settings: { development: %i[test] }, other_options: [])
        @spec_name = spec_name
        @schema_file_path = schema_file_path
        @multiple_migration_settings = multiple_migration_settings
        @other_options = other_options

        freeze
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ridgepole-replace_db_task-1.0.0 lib/ridgepole/replace_db_task/spec_config.rb