From 134ce43775793c7565446c709c803e1a777fa3cd Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Wed, 7 Jul 2021 22:59:34 +0900 Subject: [PATCH] * Bump maintenance branches to 3.0.2, 2.7.4, and 2.6.8 These Rubies has been released. - https://www.ruby-lang.org/en/news/2021/07/07/ruby-3-0-2-released/ - https://www.ruby-lang.org/en/news/2021/07/07/ruby-2-7-4-released/ - https://www.ruby-lang.org/en/news/2021/07/07/ruby-2-6-8-released/ ## Ruby 3.0 branch Bump 3.0 branch from 3.0.1 to 3.0.2 https://github.com/ruby/ruby/compare/v3_0_1...v3_0_2 https://github.com/ruby/ruby/commit/110f242ef9b495037f59e4972ee102a8b8b372d5 listed in https://github.com/whitequark/parser/issues/800#issuecomment-840393324 is backported, but the issue has not yet been resolved at ruby31.y of Parser gem. ## Ruby 2.7 branch Bump 2.7 branch from 2.7.3 to 2.7.4 https://github.com/ruby/ruby/compare/v2_7_3...v2_7_4 There seems to be no change to the syntax. ## Ruby 2.6 branch Bump 2.6 branch from 2.6.7 to 2.6.8 https://github.com/ruby/ruby/compare/v2_6_7...v2_6_8 There seems to be no change to the syntax. --- .github/workflows/test.yml | 4 ++-- lib/parser/current.rb | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c92da5f22..c6cd3099b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,14 +17,14 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["2.4.10", "2.5.9", "2.6.7", "2.7.3", "3.0.1", "jruby-9.2"] + ruby: ["2.4.10", "2.5.9", "2.6.8", "2.7.4", "3.0.2", "jruby-9.2"] test_command: ["bundle exec rake test"] include: - ruby: "head" test_command: "bundle exec rake test || true" - ruby: "truffleruby" test_command: "bundle exec rake test || true" - - ruby: "3.0.1" + - ruby: "3.0.2" test_command: "./ci/run_rubocop_specs || true" steps: - uses: actions/checkout@v2 diff --git a/lib/parser/current.rb b/lib/parser/current.rb index 85861af24..ba1bc4894 100644 --- a/lib/parser/current.rb +++ b/lib/parser/current.rb @@ -66,7 +66,7 @@ def warn_syntax_deviation(feature, version) CurrentRuby = Ruby25 when /^2\.6\./ - current_version = '2.6.7' + current_version = '2.6.8' if RUBY_VERSION != current_version warn_syntax_deviation 'parser/ruby26', current_version end @@ -75,7 +75,7 @@ def warn_syntax_deviation(feature, version) CurrentRuby = Ruby26 when /^2\.7\./ - current_version = '2.7.3' + current_version = '2.7.4' if RUBY_VERSION != current_version warn_syntax_deviation 'parser/ruby27', current_version end @@ -84,7 +84,7 @@ def warn_syntax_deviation(feature, version) CurrentRuby = Ruby27 when /^3\.0\./ - current_version = '3.0.1' + current_version = '3.0.2' if RUBY_VERSION != current_version warn_syntax_deviation 'parser/ruby30', current_version end