diff --git a/.github/workflows/release-rubygem.yml b/.github/workflows/release-rubygem.yml index 08c22acc0..010ac5ab2 100644 --- a/.github/workflows/release-rubygem.yml +++ b/.github/workflows/release-rubygem.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: '3.0.2' + ruby-version: '3.2' bundler-cache: true - uses: cucumber/action-publish-rubygem@v1.0.0 with: diff --git a/.github/workflows/test-ruby.yml b/.github/workflows/test-ruby.yml index 411322e9e..91d9253b9 100644 --- a/.github/workflows/test-ruby.yml +++ b/.github/workflows/test-ruby.yml @@ -24,16 +24,14 @@ jobs: matrix: os: - ubuntu-latest - ruby: ["2.6", "2.7", "3.0", "3.1"] + ruby: ['2.6', '2.7', '3.0', '3.1', '3.2'] include: - os: macos-latest - ruby: "3.1" + ruby: '3.2' steps: - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - - - name: Set up Ruby - uses: ruby/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true @@ -42,6 +40,5 @@ jobs: - run: bundle exec rake working-directory: ruby - - name: run acceptance tests - run: make acceptance - working-directory: ruby \ No newline at end of file + - run: make acceptance + working-directory: ruby diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f13528b0..59cba7c44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,13 +8,13 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt ## [Unreleased] ### Changed -- [.NET] Bump sdk to .net 8. Added .net 8 to test platforms. -- [Go] Upgraded messages to v22 +- [.NET] Bump sdk to .net 8. Added .net 8 to test platforms +- [Go, Perl, Ruby] Upgraded messages to v22 - [Go] Improve performance - don't compile regex on matcher create - [Perl] Fix release packaging - [Perl] Include CHANGELOG.md in tarball -- [Perl] Upgrade messages to v22 -- [Perl] Harmonized error reporting with mainstream implementations errors are now converted to messages and reported in the message stream ([#31](https://github.com/cucumber/gherkin/issues/31)) +- [Perl] Harmonized error reporting with mainstream implementations - errors are now converted to messages and reported in the message stream ([#31](https://github.com/cucumber/gherkin/issues/31)) +- [Ruby] Update minimum ruby requirement from 2.3 to 2.5 ### Added - (i18n) Added Malayalam localization diff --git a/ruby/cucumber-gherkin.gemspec b/ruby/cucumber-gherkin.gemspec index 12aedebc1..eab7da58b 100644 --- a/ruby/cucumber-gherkin.gemspec +++ b/ruby/cucumber-gherkin.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |s| s.homepage = 'https://github.com/cucumber/gherkin' s.platform = Gem::Platform::RUBY s.license = 'MIT' - s.required_ruby_version = '>= 2.3' + s.required_ruby_version = '>= 2.5' s.metadata = { 'bug_tracker_uri' => 'https://github.com/cucumber/gherkin/issues', @@ -20,7 +20,7 @@ Gem::Specification.new do |s| 'source_code_uri' => 'https://github.com/cucumber/gherkin/blob/main/ruby' } - s.add_runtime_dependency 'cucumber-messages', '>= 19.1.4', '< 22.1' + s.add_runtime_dependency 'cucumber-messages', '>= 19.1.4', '< 23' s.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6' s.add_development_dependency 'rspec', '~> 3.11', '>= 3.11.0'