Sha256: 1b8011c9e4457db22f6b9bfad03d5cac8dadea60e4db78999b52d6476f42746c

Contents?: true

Size: 908 Bytes

Versions: 1

Compression:

Stored size: 908 Bytes

Contents

# frozen_string_literal: true

RAILS_VERSIONS = {
  '5.0.7' => {
    'activerecord-oracle_enhanced-adapter' => '~> 1.7.0',
    'sqlite3' => '~> 1.3.0',
    'mysql2' => '',
    'ruby-oci8' => '',
  },
  '5.1.7' => {
    'activerecord-oracle_enhanced-adapter' => '~> 1.8.0',
    'sqlite3' => '~> 1.3.0',
    'mysql2' => '',
    'ruby-oci8' => '',
  },
  '5.2.3' => {
    'activerecord-oracle_enhanced-adapter' => '~> 5.2.0',
    'sqlite3' => '~> 1.3.0',
    'mysql2' => '',
    'ruby-oci8' => '',
  },
  '6.0.1' => {
    'activerecord-oracle_enhanced-adapter' => '~> 6.0.0',
    'sqlite3' => '~> 1.4.0',
    'mysql2' => '',
    'ruby-oci8' => '',
  },
}.freeze

RAILS_VERSIONS.each do |version, gems|
  appraise "rails_#{version}" do
    gem 'rails', version
    gems.each do |name, gem_version|
      if gem_version.empty?
        gem name
      else
        gem name, gem_version
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ajax-datatables-rails-1.2.0 Appraisals