File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 38
38
- name : Update bundler
39
39
env :
40
40
RUBY_VERSION : ${{ matrix.ruby }}
41
+ # See: https://dev.to/galtzo/matrix-ruby-gem-bundler-etc-4kk7
41
42
run : |
42
43
case ${RUBY_VERSION} in
43
44
1.8|1.9|2.0|2.1|2.2)
Original file line number Diff line number Diff line change @@ -27,5 +27,15 @@ elsif ruby_version < Gem::Version.new("2.7")
27
27
else
28
28
# Ruby >= 2.7 we can run style / lint checks via rubocop-gradual with rubocop-lts rules for Ruby 1.8+.
29
29
# This means we can develop on modern Ruby but remain compatible with ancient Ruby.
30
- eval_gemfile "gemfiles/modular/style.gemfile"
30
+ # TODO: Replace individual style gems below with modular gemfile, once eval_gemfile support is added to appraisal.
31
+ # eval_gemfile "gemfiles/modular/style.gemfile"
32
+ # We run rubocop on the latest version of Ruby,
33
+ # but in support of the oldest supported version of Ruby
34
+ gem "rubocop-lts" , "~> 0.1" , ">= 0.1.1" # Style and Linting support for Ruby >= 1.8
35
+ gem "rubocop-packaging" , "~> 0.5" , ">= 0.5.2"
36
+ gem "rubocop-rspec" , "~> 3.2"
37
+ gem "standard" , ">= 1.35.1" , "!= 1.41.1" , "!= 1.42.0"
38
+
39
+ # Std Lib extractions
40
+ gem "benchmark" , "~> 0.4" # Removed from Std Lib in Ruby 3.5
31
41
end
You can’t perform that action at this time.
0 commit comments