-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAppraisals
97 lines (81 loc) · 3.27 KB
/
Appraisals
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
# frozen_string_literal: true
# HOW TO UPDATE APPRAISALS:
# BUNDLE_GEMFILE=Appraisal.root.gemfile bundle
# BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal update
# Used for head (nightly) releases of ruby, truffleruby, and jruby.
# Split into discrete appraisals if one of them needs a dependency locked discretely.
appraise "head" do
gem "mutex_m", ">= 0.2"
gem "stringio", ">= 3.0"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Used for current releases of ruby, truffleruby, and jruby.
# Split into discrete appraisals if one of them needs a dependency locked discretely.
appraise "current" do
gem "mutex_m", ">= 0.2"
gem "stringio", ">= 3.0"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
appraise "ruby-2-2" do
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
appraise "ruby-2-3" do
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
appraise "ruby-2-4" do
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
appraise "ruby-2-5" do
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
appraise "ruby-2-6" do
gem "mutex_m", "~> 0.2"
gem "stringio", "~> 3.0"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
appraise "ruby-2-7" do
gem "mutex_m", "~> 0.2"
gem "stringio", "~> 3.0"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
appraise "ruby-3-0" do
gem "mutex_m", "~> 0.2"
gem "stringio", "~> 3.0"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
appraise "ruby-3-1" do
gem "mutex_m", "~> 0.2"
gem "stringio", "~> 3.0"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
appraise "ruby-3-2" do
gem "mutex_m", "~> 0.2"
gem "stringio", "~> 3.0"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
appraise "ruby-3-3" do
gem "mutex_m", "~> 0.2"
gem "stringio", "~> 3.0"
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
gem "mutex_m", "~> 0.2"
gem "stringio", "~> 3.0"
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
gem "mutex_m", "~> 0.2"
gem "stringio", "~> 3.0"
eval_gemfile "modular/coverage.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
gem "mutex_m", "~> 0.2"
gem "stringio", "~> 3.0"
eval_gemfile "modular/style.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end