Sha256: 062078f6353612c2e60e5c658e57be08540a0432c9901a76ca6bdcfedefdbc77

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

# frozen_string_literal: true

if RUBY_VERSION.to_f < 3.0
  appraise "rails-5.0" do
    gem "rails", "~> 5.0.2"
    gem "mysql2", "~> 0.4.4"
    gem "pg", "< 1.0"
  end

  appraise "rails-5.1" do
    gem "rails", "~> 5.1.0"
    gem "mysql2", "~> 0.4.4"
    gem "pg", "< 1.0"
  end

  appraise "rails-5.2" do
    gem "rails", "~> 5.2.0"
    gem "mysql2", "~> 0.5.0"
  end
end

if RUBY_VERSION.to_f >= 2.5 && RUBY_VERSION.to_f < 3.1
  appraise "rails-6.0" do
    gem "rails", "~> 6.0.0"
    gem "mysql2", "~> 0.5.0"
    gem "sqlite3", "~> 1.4", "< 1.5.0"
    gem "activerecord-trilogy-adapter", "~> 3.1"
  end
end

if RUBY_VERSION.to_f >= 2.5
  appraise "rails-6.1" do
    gem "rails", "~> 6.1.0"
    gem "mysql2", "~> 0.5.0"
    gem "sqlite3", "~> 1.4", "< 1.6.0"
    gem "activerecord-trilogy-adapter", "~> 3.1"
  end
end

if RUBY_VERSION.to_f >= 2.7
  appraise "rails-7.0" do
    gem "rails", "~> 7.0.1"
    gem "mysql2", "~> 0.5.0"
    gem "sqlite3", "~> 1.4"
    gem "activerecord-trilogy-adapter", "~> 3.1"
  end

  appraise "rails-7.1" do
    gem "rails", "~> 7.1.2"
    gem "mysql2", "~> 0.5.0"
    gem "sqlite3", "~> 1.4"
    gem "trilogy", "~> 2.7"
  end
end

if RUBY_VERSION.to_f >= 3.1
  appraise "rails-edge" do
    gem "rails", :git => "https://github.com/rails/rails.git", :branch => "main"
    gem "mysql2", "~> 0.5.0"
    gem "sqlite3", "~> 1.4"
    gem "trilogy", "~> 2.7"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
combustion-1.5.0 Appraisals