Sha256: e9e547ec99971dfc1624b608a71e7c2db0fa80d5b8414955faceea34753420fd

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 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],
  '6.1.0' => %w[11.1]
}.each do |rails_version, paper_trail_versions|
  paper_trail_versions.each do |paper_trail_version|
    rails_6 = %w[6.0.0 6.1.0].include?(rails_version)

    appraise "rails-#{rails_version}-paper_trail-#{paper_trail_version}-will-paginate" do
      gem 'rails', "~> #{rails_version}"
      gem 'jquery-rails'
      gem 'sqlite3', rails_6 ? '~> 1.5.4' : '~> 1.3.6'
      gem 'paper_trail', "~> #{paper_trail_version}"
      gem 'will_paginate', '~> 3.0'

      gem 'webpacker' if rails_6
    end

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

      gem 'webpacker' if rails_6
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
demingfactor-paper_trail_manager-0.7.3 Appraisals