File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 matrix :
2626 os : [ "ubuntu-22.04", "macos-15-intel" ] # , windows-latest ]
2727 ruby-version : [
28- " 2.4" ,
29- " 2.5" ,
30- " 2.6" ,
31- " 2.7" ,
32- " 3.0" ,
33- " 3.1" ,
34- " 3.2" ,
35- " 3.3" ,
28+ " 2.0" ,
3629 " 3.4" ,
3730 ]
3831
7467 run : bundle exec rspec
7568
7669 - name : Run rubocop
77- # rubocop does not work on old versions of Ruby .
78- if : ${{ matrix.ruby-version != '2.4' && matrix.ruby-version != '2.5 ' }}
70+ # rubocop 1.39 does not work on Ruby up to 2.5 .
71+ if : ${{ matrix.ruby-version != '2.0 ' }}
7972 run : bundle exec rubocop
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ Gem::Specification.new do |spec|
6262 spec . add_development_dependency 'rubocop-rspec'
6363
6464 # Needed by rubocop.
65- spec . add_development_dependency 'base64'
65+ spec . add_development_dependency 'base64' if RUBY_VERSION >= '2.3'
6666 spec . add_development_dependency 'benchmark'
6767 spec . add_development_dependency 'ostruct'
6868end
You can’t perform that action at this time.
0 commit comments