Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Ruby]: Ruby / Messages bump #165

Merged
merged 16 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release-rubygem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/test-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches:
- main
paths:
- c/**
- ruby/**
- testdata/**
workflow_call:

Expand All @@ -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
Expand All @@ -42,6 +40,5 @@ jobs:
- run: bundle exec rake
working-directory: ruby

- name: run acceptance tests
run: make acceptance
working-directory: ruby
- run: make acceptance
working-directory: ruby
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ 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
- [Go, Ruby, Perl] Upgraded messages to v22
- [.NET] Bump sdk to .net 8. Added .net 8 to test platforms
- [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
Expand Down
1 change: 1 addition & 0 deletions ruby/Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

source "https://rubygems.org"

gemspec
4 changes: 2 additions & 2 deletions ruby/cucumber-gherkin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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'
Expand Down