Sha256: 426d2dfa20cd3031a37cc4360dc0397daa2db9abb01e65702d6910b1b9b21b3a

Contents?: true

Size: 258 Bytes

Versions: 12

Compression:

Stored size: 258 Bytes

Contents

class Combustion::Database::Reset
  def call
    configuration = resettable_db_configs[Rails.env]
    adapter = configuration["adapter"] ||
              configuration["url"].split("://").first

    operator_class(adapter).new(configuration).reset
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
temporal_tables-0.8.1 spec/extensions/combustion.rb
temporal_tables-0.8.0 spec/extensions/combustion.rb
temporal_tables-0.7.1 spec/extensions/combustion.rb
temporal_tables-0.7.0 spec/extensions/combustion.rb
temporal_tables-0.6.10 spec/extensions/combustion.rb
temporal_tables-0.6.9 spec/extensions/combustion.rb
temporal_tables-0.6.7 spec/extensions/combustion.rb
temporal_tables-0.6.6 spec/extensions/combustion.rb
temporal_tables-0.6.4 spec/extensions/combustion.rb
temporal_tables-0.6.3 spec/extensions/combustion.rb
temporal_tables-0.6.2 spec/extensions/combustion.rb
temporal_tables-0.6.1 spec/extensions/combustion.rb