Sha256: 8cc51f85afd9c19855ed5117887d30d5de7493fd52a53eb8076ae0281e2ee07b

Contents?: true

Size: 478 Bytes

Versions: 4

Compression:

Stored size: 478 Bytes

Contents

# frozen_string_literal: true

require "combustion"

if Combustion::VersionGate.call("rails", "< 4.1")
  require "active_record"
  require "active_record/connection_adapters/mysql2_adapter"

  class ActiveRecord::ConnectionAdapters::Mysql2Adapter
    NATIVE_DATABASE_TYPES[:primary_key] = "int(11) auto_increment PRIMARY KEY"
  end
end

require File.expand_path("dummy/lib/engine.rb", __dir__)

Dir.chdir(File.expand_path("dummy", __dir__)) do
  Combustion.initialize! :all
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
combustion-1.5.0 spec/spec_helper.rb
combustion-1.4.0 spec/spec_helper.rb
combustion-1.3.7 spec/spec_helper.rb
combustion-1.3.6 spec/spec_helper.rb