File: Appraisals

package info (click to toggle)
ruby-view-component 2.74.1-1
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm
  • size: 3,156 kB
  • sloc: ruby: 6,731; sh: 163; javascript: 10; makefile: 4
file content (34 lines) | stat: -rw-r--r-- 726 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# frozen_string_literal: true

if RUBY_VERSION < "3.0.0"
  appraise "rails-5.2" do
    gem "rails", "~> 5.2.0"
  end
else
  puts "WARNING: Skipping Rails 5.2, as it is not compatible with Ruby >= 3.0.0"
end

appraise "rails-6.0" do
  gem "rails", "~> 6.0.0"
  gem "tailwindcss-rails", "~> 2.0"
end

appraise "rails-6.1" do
  gem "rails", "~> 6.1.0"
  gem "tailwindcss-rails", "~> 2.0"

  # Required for Ruby 3.1.0
  gem "net-smtp", require: false
  gem "net-imap", require: false
  gem "net-pop", require: false
end

appraise "rails-7.0" do
  gem "rails", "~> 7.0.0"
  gem "tailwindcss-rails", "~> 2.0"
end

appraise "rails-head" do
  gem "rails", github: "rails/rails", branch: "main"
  gem "tailwindcss-rails", "~> 2.0"
end