plentz/lol_dba

View on GitHub
Appraisals

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3')

  appraise 'rails_3_2' do
    version = '~> 3.2.21'
    gem 'activerecord', version
    gem 'actionpack', version
    gem 'railties', version
    gem 'sqlite3', '< 1.4'
    gem 'bigdecimal', '< 2'
  end

  appraise 'rails_4_0' do
    version = '~> 4.0.13'
    gem 'activerecord', version
    gem 'actionpack', version
    gem 'railties', version
    gem 'sqlite3', '< 1.4'
    gem 'bigdecimal', '< 2'
  end

  appraise 'rails_4_1' do
    version = '~> 4.1.9'
    gem 'activerecord', version
    gem 'actionpack', version
    gem 'railties', version
    gem 'sqlite3', '< 1.4'
    gem 'bigdecimal', '< 2'
  end

  appraise 'rails_4_2' do
    version = '~> 4.2.0'
    gem 'activerecord', version
    gem 'actionpack', version
    gem 'railties', version
    gem 'sqlite3', '< 1.4'
    gem 'bigdecimal', '< 2'
  end

  appraise 'rails_5_0' do
    version = '~> 5.0.0'
    gem 'activerecord', version
    gem 'actionpack', version
    gem 'railties', version
    gem 'sqlite3', '< 1.4'
    gem 'bigdecimal', '< 2'
  end

  appraise 'rails_5_1' do
    version = '~> 5.1.0'
    gem 'activerecord', version
    gem 'actionpack', version
    gem 'railties', version
    gem 'sqlite3', '< 1.4'
    gem 'bigdecimal', '< 2'
  end

  appraise 'rails_5_2' do
    version = '~> 5.2.0'
    gem 'activerecord', version
    gem 'actionpack', version
    gem 'railties', version
    gem 'sqlite3', '< 1.4'
    gem 'bigdecimal', '< 2'
  end

  appraise 'rails_6' do
    version = '~> 6.0'
    gem 'activerecord', version
    gem 'actionpack', version
    gem 'railties', version
    gem 'sqlite3', '~> 1.4'
    gem 'bigdecimal', '< 2'
  end

end

appraise 'rails_7' do
  version = '~> 7.0'
  gem 'activerecord', version
  gem 'actionpack', version
  gem 'railties', version
  gem 'sqlite3'
  gem 'bigdecimal'
end