Sha256: a4b895a243758875ba0b5a26643821b1f6614d0d8372fce51678b0b23d811342

Contents?: true

Size: 380 Bytes

Versions: 3

Compression:

Stored size: 380 Bytes

Contents

if RUBY_VERSION >= '2.0'
  rails_versions = ['~> 3.2.13', '~> 4.0.0']
else
  rails_versions = ['~> 3.1.12', '~> 3.2.13']
end

rails_versions.each do |rails_version|
  appraise "rails#{rails_version.slice(/\d+\.\d+/)}" do
    gem 'rails', rails_version

    if rails_version == '~> 4.0.0'
      gem 'actionpack-action_caching'
      gem 'actionpack-page_caching'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
high_voltage-2.1.0 Appraisals
high_voltage-2.0.0 Appraisals
high_voltage-1.2.4 Appraisals