Sha256: 475a401952648896db0decfa3da8382f5fc7fae57ddb861778060866ff6a6c16

Contents?: true

Size: 588 Bytes

Versions: 1

Compression:

Stored size: 588 Bytes

Contents

# frozen_string_literal: true

require 'yaml'

rails_versions = YAML.load(File.read('appraisal.yml'))

rails_versions.each do |version, gems|
  appraise "rails_#{version}" do
    gem 'rails', version
    gems.each do |name, opts|
      if opts['install_if']
        install_if opts['install_if'] do
          if opts['version'].empty?
            gem name
          else
            gem name, opts['version']
          end
        end
      else
        if opts['version'].empty?
          gem name
        else
          gem name, opts['version']
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ajax-datatables-rails-1.4.0 Appraisals