Sha256: 990074f8283d7c95559afc21a1803973e3d33f66bdb8c7312c7e2c43eb75e6d6

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

# frozen_string_literal: true

{
  '4.2.2' => %w[3.0 4.0 5.0 6.0 7.0 8.0],
  '5.0.0' => %w[5.0 6.0 7.0 8.0],
  '5.1.0' => %w[7.0 8.0 9.0 10.0],
  '5.2.0' => %w[9.0 10.0],
  '6.0.0' => %w[10.0]
}.each do |rails_version, paper_trail_versions|
  paper_trail_versions.each do |paper_trail_version|
    appraise "rails-#{rails_version}-paper_trail-#{paper_trail_version}-will-paginate" do
      gem 'rails', "~> #{rails_version}"
      gem 'jquery-rails'
      gem 'sqlite3', rails_version == '6.0.0' ? '~> 1.4' : '~> 1.3.6'
      gem 'paper_trail', "~> #{paper_trail_version}"
      gem 'will_paginate', '~> 3.0'

      gem 'webpacker' if rails_version == '6.0.0'
    end

    appraise "rails-#{rails_version}-paper_trail-#{paper_trail_version}-kaminari" do
      gem 'rails', "~> #{rails_version}"
      gem 'jquery-rails'
      gem 'sqlite3', rails_version == '6.0.0' ? '~> 1.4' : '~> 1.3.6'
      gem 'paper_trail', "~> #{paper_trail_version}"
      gem 'kaminari', '>= 0.16'

      gem 'webpacker' if rails_version == '6.0.0'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
paper_trail_manager_rails_5-0.7.2 Appraisals
paper_trail_manager_rails_5-0.7.1 Appraisals