File tree Expand file tree Collapse file tree 5 files changed +18
-8
lines changed Expand file tree Collapse file tree 5 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 44 directory : " /"
55 schedule :
66 interval : " daily"
7+ - package-ecosystem : " github-actions"
8+ directory : " /"
9+ schedule :
10+ interval : " daily"
Original file line number Diff line number Diff line change 11name : Main
2+
23on :
34- push
45- pull_request
6+
57jobs :
68 ci :
79 strategy :
@@ -11,13 +13,14 @@ jobs:
1113 - ' 2.7.0'
1214 - ' 3.0'
1315 - ' 3.1'
16+ - ' 3.2'
1417 - head
1518 - truffleruby-head
1619 name : CI
1720 runs-on : ubuntu-latest
1821 env :
1922 CI : true
20- TESTOPTS : --verbose
23+ # TESTOPTS: --verbose
2124 steps :
2225 - uses : actions/checkout@master
2326 - uses : ruby/setup-ruby@v1
3740 - uses : ruby/setup-ruby@v1
3841 with :
3942 bundler-cache : true
40- ruby-version : ' 3.1 '
43+ ruby-version : ' 3.2 '
4144 - name : Check
4245 run : |
4346 bundle exec rake stree:check
Original file line number Diff line number Diff line change @@ -147,3 +147,6 @@ Style/SpecialGlobalVars:
147147
148148Style/StructInheritance :
149149 Enabled : false
150+
151+ Style/YodaExpression :
152+ Enabled : false
Original file line number Diff line number Diff line change 1212 json (2.6.3 )
1313 minitest (5.17.0 )
1414 parallel (1.22.1 )
15- parser (3.1.3 .0 )
15+ parser (3.2.0 .0 )
1616 ast (~> 2.4.1 )
1717 prettier_print (1.2.0 )
1818 rainbow (3.1.1 )
1919 rake (13.0.6 )
2020 regexp_parser (2.6.1 )
2121 rexml (3.2.5 )
22- rubocop (1.41.1 )
22+ rubocop (1.42.0 )
2323 json (~> 2.3 )
2424 parallel (~> 1.10 )
2525 parser (>= 3.1.2.1 )
2626 rainbow (>= 2.2.2 , < 4.0 )
2727 regexp_parser (>= 1.8 , < 3.0 )
2828 rexml (>= 3.2.5 , < 4.0 )
29- rubocop-ast (>= 1.23.0 , < 2.0 )
29+ rubocop-ast (>= 1.24.1 , < 2.0 )
3030 ruby-progressbar (~> 1.7 )
3131 unicode-display_width (>= 1.4.0 , < 3.0 )
32- rubocop-ast (1.24.0 )
32+ rubocop-ast (1.24.1 )
3333 parser (>= 3.1.1.0 )
3434 ruby-progressbar (1.11.0 )
3535 simplecov (0.22.0 )
3838 simplecov_json_formatter (~> 0.1 )
3939 simplecov-html (0.12.3 )
4040 simplecov_json_formatter (0.1.4 )
41- unicode-display_width (2.3.0 )
41+ unicode-display_width (2.4.1 )
4242
4343PLATFORMS
4444 arm64-darwin-21
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def initialize(start, line)
5353 # there's a BOM at the beginning of the file, which is the reason we need
5454 # to compare it to 0 here.
5555 def []( byteindex )
56- indices [ byteindex < 0 ? 0 : byteindex ]
56+ indices [ [ byteindex , 0 ] . max ]
5757 end
5858 end
5959
You can’t perform that action at this time.
0 commit comments