|
9 | 9 | appraise "head" do |
10 | 10 | gem "mutex_m", ">= 0.2" |
11 | 11 | gem "stringio", ">= 3.0" |
12 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
13 | 12 | end |
14 | 13 |
|
15 | 14 | # Used for current releases of ruby, truffleruby, and jruby. |
16 | 15 | # Split into discrete appraisals if one of them needs a dependency locked discretely. |
17 | 16 | appraise "current" do |
18 | 17 | gem "mutex_m", ">= 0.2" |
19 | 18 | gem "stringio", ">= 3.0" |
20 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
21 | 19 | end |
22 | 20 |
|
23 | 21 | appraise "ruby-2-2" do |
24 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
25 | 22 | end |
26 | 23 |
|
27 | 24 | appraise "ruby-2-3" do |
28 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
29 | 25 | end |
30 | 26 |
|
31 | 27 | appraise "ruby-2-4" do |
32 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
33 | 28 | end |
34 | 29 |
|
35 | 30 | appraise "ruby-2-5" do |
36 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
37 | 31 | end |
38 | 32 |
|
39 | 33 | appraise "ruby-2-6" do |
40 | 34 | gem "mutex_m", "~> 0.2" |
41 | 35 | gem "stringio", "~> 3.0" |
42 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
43 | 36 | end |
44 | 37 |
|
45 | 38 | appraise "ruby-2-7" do |
46 | 39 | gem "mutex_m", "~> 0.2" |
47 | 40 | gem "stringio", "~> 3.0" |
48 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
49 | 41 | end |
50 | 42 |
|
51 | 43 | appraise "ruby-3-0" do |
52 | 44 | gem "mutex_m", "~> 0.2" |
53 | 45 | gem "stringio", "~> 3.0" |
54 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
55 | 46 | end |
56 | 47 |
|
57 | 48 | appraise "ruby-3-1" do |
58 | 49 | gem "mutex_m", "~> 0.2" |
59 | 50 | gem "stringio", "~> 3.0" |
60 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
61 | 51 | end |
62 | 52 |
|
63 | 53 | appraise "ruby-3-2" do |
64 | 54 | gem "mutex_m", "~> 0.2" |
65 | 55 | gem "stringio", "~> 3.0" |
66 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
67 | 56 | end |
68 | 57 |
|
69 | 58 | appraise "ruby-3-3" do |
70 | 59 | gem "mutex_m", "~> 0.2" |
71 | 60 | gem "stringio", "~> 3.0" |
72 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
73 | 61 | end |
74 | 62 |
|
75 | 63 | # Only run security audit on latest Ruby version |
76 | 64 | appraise "audit" do |
77 | 65 | gem "mutex_m", "~> 0.2" |
78 | 66 | gem "stringio", "~> 3.0" |
79 | 67 | eval_gemfile "modular/audit.gemfile" |
80 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
81 | 68 | end |
82 | 69 |
|
83 | 70 | # Only run coverage on latest Ruby version |
84 | 71 | appraise "coverage" do |
85 | 72 | gem "mutex_m", "~> 0.2" |
86 | 73 | gem "stringio", "~> 3.0" |
87 | 74 | eval_gemfile "modular/coverage.gemfile" |
88 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
89 | 75 | end |
90 | 76 |
|
91 | 77 | # Only run linter on latest Ruby version (but, in support of oldest supported Ruby version) |
92 | 78 | appraise "style" do |
93 | 79 | gem "mutex_m", "~> 0.2" |
94 | 80 | gem "stringio", "~> 3.0" |
95 | 81 | eval_gemfile "modular/style.gemfile" |
96 | | - remove_gem "appraisal" # only present because it must be in the gemfile because we target a git branch |
97 | 82 | end |
0 commit comments