Sha256: 98b84bc420b1c4ab51922032d8324cb138421503e476454d53ea4371b07089de

Contents?: true

Size: 917 Bytes

Versions: 1

Compression:

Stored size: 917 Bytes

Contents

case RUBY_VERSION

when '2.3.3', '2.5.3', '2.6.3' then

  appraise "ruby-#{RUBY_VERSION}-rails507" do
    gem 'rails', '5.0.7'
    gem 'grape', '1.1.0'
    gem 'rails-controller-testing'
  end

  appraise "ruby-#{RUBY_VERSION}-rails516" do
    gem 'rails', '5.1.6'
    gem 'grape', '1.2.3'
    gem 'rails-controller-testing'
  end

  appraise "ruby-#{RUBY_VERSION}-rails521" do
    gem 'rails', '5.2.1'
    gem 'grape', '1.2.3'
    gem 'rails-controller-testing'
  end

  appraise "ruby-#{RUBY_VERSION}-rails522" do
    gem 'rails', '5.2.2'
    gem 'grape', '1.2.3'
    gem 'rails-controller-testing'
  end

  if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.5.0')
    appraise "ruby-#{RUBY_VERSION}-rails6" do
      gem 'rails', '~> 6.0'
      gem 'grape', '1.2.3'
      gem 'rails-controller-testing'
      gem 'sqlite3', '~> 1.4'
    end
  end

else
  raise "Unsupported Ruby version #{RUBY_VERSION}"

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ae_declarative_authorization-0.11.0 Appraisals