From d08ffb9ed7c544455b287396501f465bafbb89d8 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Fri, 31 May 2024 02:35:26 +0900 Subject: [PATCH] * Bump 3.1 branch to 3.1.6 (#1014) Ruby 3.1.6 has been released: https://www.ruby-lang.org/en/news/2024/05/29/ruby-3-1-6-released/ Bump 3.1 branch from 3.1.5 to 3.1.6: https://github.com/ruby/ruby/compare/v3_1_5...v3_1_6 There seems to be no change to the syntax. --- .github/workflows/test.yml | 2 +- lib/parser/current.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 781c5ed5e..0ebdc9aec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["3.0.7", "3.1.5", "3.2.4", "3.3.1", "jruby-9.2"] + ruby: ["3.0.7", "3.1.6", "3.2.4", "3.3.1", "jruby-9.2"] test_command: ["bundle exec rake test"] include: - ruby: "head" diff --git a/lib/parser/current.rb b/lib/parser/current.rb index d1e2eeaec..28c32c5c2 100644 --- a/lib/parser/current.rb +++ b/lib/parser/current.rb @@ -93,7 +93,7 @@ def warn_syntax_deviation(feature, version) CurrentRuby = Ruby30 when /^3\.1\./ - current_version = '3.1.5' + current_version = '3.1.6' if RUBY_VERSION != current_version warn_syntax_deviation 'parser/ruby31', current_version end