forked from bardbess/masq
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAppraisals
More file actions
140 lines (120 loc) · 4.08 KB
/
Appraisals
File metadata and controls
140 lines (120 loc) · 4.08 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# frozen_string_literal: true
# Compat: Ruby >= 2.2.2
# Test Matrix:
# - Ruby 2.7
appraise "rails-5-2" do
# Load order is very important with combustion!
gem "combustion", "~> 1.5"
gem "sqlite3", "~> 1.4"
gem "rails", "~> 5.2.8.1"
gem "nokogiri"
eval_gemfile "modular/mini_testing.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Compat: Ruby >= 2.5
# Test Matrix:
# - Ruby 2.7
appraise "rails-6-0" do
# Load order is very important with combustion!
gem "combustion", "~> 1.5"
gem "sqlite3", "~> 1.4"
gem "rails", "~> 6.0.6.1"
eval_gemfile "modular/mini_testing.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Compat: Ruby >= 2.5
# Test Matrix:
# - Ruby 2.7
# - Ruby 3.0
appraise "rails-6-1" do
# Load order is very important with combustion!
gem "combustion", "~> 1.5"
gem "sqlite3", "~> 1.4"
gem "rails", "~> 6.1.7.10"
eval_gemfile "modular/mini_testing.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Compat: Ruby >= 2.7
# Test Matrix:
# - Ruby 3.0
# - Ruby 3.1
appraise "rails-7-0" do
# Load order is very important with combustion!
gem "combustion", "~> 1.5"
gem "sqlite3", "~> 1.4"
gem "rails", "~> 7.0.8.7"
eval_gemfile "modular/mini_testing.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Compat: Ruby >= 2.7
# Test Matrix:
# - jruby-9.4 (targets Ruby 3.1 compatibility)
# - truffleruby-22.3 (targets Ruby 3.0 compatibility)
# - Ruby 3.1
# - Ruby 3.2
appraise "rails-7-1" do
# Load order is very important with combustion!
gem "combustion", "~> 1.5"
gem "sqlite3", "~> 2.0"
gem "rails", "~> 7.1.5.1"
eval_gemfile "modular/mini_testing.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Compat: Ruby >= 3.1
# Test Matrix:
# - jruby-9.4 (targets Ruby 3.1 compatibility)
# - truffleruby-23.0 (targets Ruby 3.1 compatibility)
# - Ruby 3.2
# - Ruby 3.3
# - Ruby 3.4
appraise "rails-7-2" do
# Load order is very important with combustion!
gem "combustion", "~> 1.5"
gem "sqlite3", "~> 2.0"
gem "rails", "~> 7.2.2.1"
eval_gemfile "modular/mini_testing.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Compat: Ruby >= 3.2
# Test Matrix:
# - truffleruby-23.1 (targets Ruby 3.2 compatibility)
# - truffleruby-24.1 (targets Ruby 3.3 compatibility)
# - Ruby 3.2
# - Ruby 3.3
# - Ruby 3.4
appraise "rails-8-0" do
# Load order is very important with combustion!
gem "combustion", "~> 1.5"
gem "sqlite3", "~> 2.0"
gem "rails", "~> 8.0.2"
eval_gemfile "modular/mini_testing.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Only run security audit on latest Ruby version
appraise "audit" do
# Load order is very important with combustion!
gem "combustion", "~> 1.5"
gem "sqlite3", "~> 2.0"
gem "rails", "~> 8.0.2"
eval_gemfile "modular/audit.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Only run coverage on latest Ruby version
appraise "coverage" do
# Load order is very important with combustion!
gem "combustion", "~> 1.5"
gem "sqlite3", "~> 2.0"
gem "rails", "~> 8.0.2"
eval_gemfile "modular/coverage.gemfile"
eval_gemfile "modular/mini_testing.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Only run linter on latest Ruby version (but, in support of oldest supported Ruby version)
appraise "style" do
# Load order is very important with combustion!
gem "combustion", "~> 1.5"
gem "sqlite3", "~> 2.0"
gem "rails", "~> 8.0.2"
eval_gemfile "modular/style.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end