Sha256: 8fd02b0d81622b6778ff9db160de861383910912270d77d99276497b9d2aee7c

Contents?: true

Size: 564 Bytes

Versions: 9

Compression:

Stored size: 564 Bytes

Contents

%w[
  4.2
  5.0
  5.1
  5.2
  6.0
].each do |rails_version|
  gem_rails_version = Gem::Version.new(rails_version)
  if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.5.0') &&
      gem_rails_version >= Gem::Version.new('6.0.0.beta')

    # Rails 6 requires Ruby >= 2.5
    next
  end
  appraise "rails-#{rails_version}" do
    gem 'rails', "~> #{rails_version}.0"

    gem 'pg', gem_rails_version < Gem::Version.new('5.0') ? '~> 0.15' : '~> 1.0'
    gem 'mysql2'
    gem 'sqlite3', gem_rails_version < Gem::Version.new(5.2) ? '~> 1.3.0' : '~> 1.4'
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
counter_culture-2.7.0 Appraisals
counter_culture-2.6.2 Appraisals
counter_culture-2.6.1 Appraisals
counter_culture-2.6.0 Appraisals
counter_culture-2.5.1 Appraisals
counter_culture-2.5.0 Appraisals
counter_culture-2.4.0 Appraisals
counter_culture-2.3.0 Appraisals
counter_culture-2.2.4 Appraisals