File tree Expand file tree Collapse file tree 6 files changed +9
-40
lines changed Expand file tree Collapse file tree 6 files changed +9
-40
lines changed Original file line number Diff line number Diff line change 1919 strategy :
2020 fail-fast : false
2121 matrix :
22- ruby : [ruby-3.2, ruby-3. 3, ruby-3.4]
22+ ruby : [ruby-3.3, ruby-3.4]
2323 os : [ubuntu-latest]
2424 steps :
2525 - uses : actions/checkout@v4
3535 strategy :
3636 fail-fast : false
3737 matrix :
38- ruby : [ruby-3.2, ruby-3. 3, ruby-3.4]
38+ ruby : [ruby-3.3, ruby-3.4]
3939 os : [ubuntu-latest]
4040 steps :
4141 - uses : actions/checkout@v4
5353 strategy :
5454 fail-fast : false
5555 matrix :
56- ruby : [ruby-3.2, ruby-3. 3, ruby-3.4]
56+ ruby : [ruby-3.3, ruby-3.4]
5757 os : [ubuntu-latest]
5858 steps :
5959 - uses : actions/checkout@v4
6969 strategy :
7070 fail-fast : false
7171 matrix :
72- ruby : [ruby-3.2, ruby-3. 3, ruby-3.4]
72+ ruby : [ruby-3.3, ruby-3.4]
7373 os : [ubuntu-latest]
7474 steps :
7575 - uses : actions/checkout@v4
8585 strategy :
8686 fail-fast : false
8787 matrix :
88- ruby : [ruby-3.2, ruby-3. 3, ruby-3.4]
88+ ruby : [ruby-3.3, ruby-3.4]
8989 os : [ubuntu-latest]
9090 steps :
9191 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 55 - ' **/*.rake'
66 - ' Gemfile'
77 - ' Gemfile.triage'
8- TargetRubyVersion : 3.1
8+ TargetRubyVersion : 3.3
99 Exclude :
1010 - tmp/**/*
1111 - vendor/**/*
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ The following constraints apply:
1010
1111* No support for macruby extensions
1212* Only support for the [ modern AST] ( https://github.com/whitequark/parser/#usage ) format
13- * Only support for Ruby >= 3.2
13+ * Only support for Ruby >= 3.3
1414
1515Notable Users:
1616
Original file line number Diff line number Diff line change @@ -13,23 +13,8 @@ class Symbol < self
1313
1414 private
1515
16- # mutant:disable
1716 def dispatch
18- if inspect_breaks_parsing?
19- write ( ":#{ value . name . inspect } " )
20- else
21- write ( value . inspect )
22- end
23- end
24-
25- # mutant:disable
26- def inspect_breaks_parsing?
27- return false unless RUBY_VERSION < '3.2.'
28-
29- Unparser . parse ( value . inspect )
30- false
31- rescue Parser ::SyntaxError
32- true
17+ write ( value . inspect )
3318 end
3419 end # Symbol
3520
Original file line number Diff line number Diff line change @@ -467,22 +467,6 @@ def foo(bar)
467467 )
468468 end
469469
470- if RUBY_VERSION < '3.2.'
471- excludes . concat (
472- %w[
473- test/corpus/literal/since/32.rb
474- ]
475- )
476- end
477-
478- if RUBY_VERSION < '3.1.'
479- excludes . concat (
480- %w[
481- test/corpus/literal/since/31.rb
482- ]
483- )
484- end
485-
486470 excludes . flat_map { |file | [ '--ignore' , file ] }
487471 end
488472
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Gem::Specification.new do |gem|
2323 gem . extra_rdoc_files = %w[ README.md ]
2424 gem . executables = %w[ unparser ]
2525
26- gem . required_ruby_version = '>= 3.1 '
26+ gem . required_ruby_version = '>= 3.3 '
2727
2828 gem . add_dependency ( 'diff-lcs' , '~> 1.6' )
2929 gem . add_dependency ( 'parser' , '>= 3.3.0' )
You can’t perform that action at this time.
0 commit comments