Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt
Please visit [cucumber/CONTRIBUTING.md](https://github.com/cucumber/cucumber/blob/master/CONTRIBUTING.md) for more info on how to contribute to Cucumber.

## [Unreleased]
### Added
- Moved the version definition to `lib/cucumber/core/version.rb` and updated the gemspec to use `Cucumber::Core::VERSION`

## [20.0.0] - 2026-10-09
### Changed
Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

4 changes: 2 additions & 2 deletions cucumber-core.gemspec
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# frozen_string_literal: true

version = File.read(File.expand_path('VERSION', __dir__)).strip
Comment thread
luke-hill marked this conversation as resolved.
Resolved
require_relative 'lib/cucumber/core/version'

Gem::Specification.new do |s|
s.name = 'cucumber-core'
s.version = version
s.version = Cucumber::Core::VERSION
s.authors = ['Aslak Hellesøy', 'Matt Wynne', 'Steve Tooke', 'Oleg Sukhodolsky', 'Tom Brand']
s.description = 'Core library for the Cucumber BDD app'
s.summary = "cucumber-core-#{s.version}"
Expand Down
7 changes: 7 additions & 0 deletions lib/cucumber/core/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# frozen_string_literal: true

module Cucumber
module Core
VERSION = '20.0.0'
end
end
Loading