Skip to content

Commit

Permalink
[Ruby] Update CI (#185)
Browse files Browse the repository at this point in the history
* Update ruby CI

* Update release CI

* Update gemspec to strip out test files

* Add changelog
  • Loading branch information
luke-hill authored Jan 22, 2025
1 parent 6918a04 commit ce87420
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
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@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
ruby-version: '3.4'
bundler-cache: true
- uses: cucumber/[email protected]
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
matrix:
os:
- ubuntu-latest
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2']
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4']
include:
- os: windows-latest
ruby: '3.2'
ruby: '3.3'
- os: macos-latest
ruby: '3.2'
ruby: '3.3'
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Added
- [Ruby] Support the testing in CI on later rubies ([#185](https://github.com/cucumber/tag-expressions/pull/185))

## [6.1.1] - 2024-10-28
### Changed
Expand Down
9 changes: 2 additions & 7 deletions ruby/cucumber-tag-expressions.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,11 @@ Gem::Specification.new do |s|
'source_code_uri' => 'https://github.com/cucumber/tag-expressions/tree/main/ruby'
}

s.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
s.add_development_dependency 'rake', '~> 13.1'
s.add_development_dependency 'rspec', '~> 3.11'
s.add_development_dependency 'rubocop', '~> 0.79.0'

s.files = Dir[
'README.md',
'LICENSE',
'lib/**/*'
]
s.test_files = Dir['spec/**/*']
s.files = Dir['README.md', 'LICENSE', 'lib/**/*']
s.rdoc_options = ['--charset=UTF-8']
s.require_path = 'lib'
end

0 comments on commit ce87420

Please sign in to comment.