forked from openid/ruby-openid
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAppraisals
More file actions
executable file
·91 lines (79 loc) · 3.06 KB
/
Copy pathAppraisals
File metadata and controls
executable file
·91 lines (79 loc) · 3.06 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
# frozen_string_literal: true
# HOW TO UPDATE APPRAISALS:
# BUNDLE_GEMFILE=Appraisal.root.gemfile bundle
# BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal update
# bundle exec rake rubocop_gradual:autocorrect
# Used for HEAD (nightly) releases of ruby, truffleruby, and jruby.
# Split into discrete appraisals if one of them needs a dependency locked discretely.
appraise "dep-heads" do
eval_gemfile "modular/runtime_heads.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 2.7
appraise "r2" do
eval_gemfile "modular/x_std_libs/r2/libs.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 2.7
appraise "r2-set-1" do
eval_gemfile "modular/x_std_libs/r2/set-1.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 2.7
appraise "r2-set-2" do
eval_gemfile "modular/x_std_libs/r2/set-2.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Compat: Ruby >= 3.0
# - Ruby 3.2
# - Ruby 3.3
# - Ruby 3.4
# - JRuby 10.0
appraise "r3" do
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Compat: Ruby >= 3.0
# Test Matrix:
# - Ruby 3.1
# - JRuby 9.4
appraise "r3-set-1" do
eval_gemfile "modular/x_std_libs/r3/set-1.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Compat: Ruby >= 3.0
# Test Matrix:
# - Ruby 3.0
appraise "r3-set-2" do
eval_gemfile "modular/x_std_libs/r3/set-2.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
appraise "heads" do
eval_gemfile "modular/x_std_libs/vHEAD.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 the latest version of Ruby
appraise "audit" do
eval_gemfile "modular/audit.gemfile"
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Only run coverage on the latest version of Ruby
appraise "coverage" do
eval_gemfile "modular/coverage.gemfile"
gem "ostruct", "~> 0.6", ">= 0.6.1" # Ruby >= 2.5
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end
# Only run linter on the latest version of Ruby (but, in support of the oldest supported Ruby version)
appraise "style" do
eval_gemfile "modular/style.gemfile"
eval_gemfile "modular/x_std_libs/r3/libs.gemfile"
remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch
end