cucumber-core 15.2.0 → 15.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2554ca60663ac501f9cd9a77f5d9c3699d273290cea5c4a6fbdc77998c4acd75
4
- data.tar.gz: f38dc4a48830eaecefc4443007edd87a1ca26832c98fc187a6d77298ec68026f
3
+ metadata.gz: 4f105050df325c2c110e0a251b5b0fa0100add043ba95c96e96c401fc60e76a1
4
+ data.tar.gz: 9123500a78556429ef8fbeb5c0ed8d76f11b877f342dd379a71c5760d91527b0
5
5
  SHA512:
6
- metadata.gz: 7bc8eb2e23e5b4059a7d85e14e4e859fd901245a75808102b73df58fbba7c8b62058eccaf9259b53c08ad197652591f5c95009794dc22e3dd0d27fb1192a6e30
7
- data.tar.gz: 85228919e11f510fbb23577816752cfb01cd62e638b2d577f4ede710d70e43ea8124e4066449af41c04d4a09ef9ee5b91a6c7581183e9cb2af7a4d382fcabb36
6
+ metadata.gz: 0dc5da139ea399937b815fbcb01d06d45dcfa56dd99b85dd081627adf5885cbef7e836e0a90e6bfbbf9f68bac3b2d42348d6d8e7cd257a8bce583c2c65adbe42
7
+ data.tar.gz: 29bc98e1032323e67e8b5134966708717f32463e1882cc5208a971386bdc10ba0a95e9e8dc38beef3ca729e15e650b1031f42d215296df6460f470c27b562ba3
data/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@ Please visit [cucumber/CONTRIBUTING.md](https://github.com/cucumber/cucumber/blo
10
10
 
11
11
  ## [Unreleased]
12
12
 
13
+ ## [15.2.1] - 2025-08-21
14
+ ### Fixed
15
+ - (`Proc#source_location` returns [path, start_line, start_column, end_line, end_column] with Ruby 3.5.0dev+)
16
+ ([#299](https://github.com/cucumber/cucumber-ruby-core/pull/299) [yahonda](https://github.com/yahonda) [luke-hill](https://github.com/luke-hill))
17
+ - Alter default location provided to `Cucumber::Core::Test::Action::Defined` to only pass file and line
18
+
13
19
  ## [15.2.0] - 2025-08-08
14
20
  ### Changed
15
21
  - Permit usage of gherkin up to v32, messages up to v29
@@ -93,7 +99,8 @@ See upgrading notes for [13.0.0.md](upgrading_notes/13.0.0.md#upgrading-to-cucum
93
99
  ### Changed
94
100
  - Updated `cucumber-gherkin` and `cucumber-messages`
95
101
 
96
- [Unreleased]: https://github.com/cucumber/cucumber-ruby-core/compare/v15.2.0...HEAD
102
+ [Unreleased]: https://github.com/cucumber/cucumber-ruby-core/compare/v15.2.1...HEAD
103
+ [15.2.1]: https://github.com/cucumber/cucumber-ruby-core/compare/v15.2.0...v15.2.1
97
104
  [15.2.0]: https://github.com/cucumber/cucumber-ruby-core/compare/v15.1.0...v15.2.0
98
105
  [15.1.0]: https://github.com/cucumber/cucumber-ruby-core/compare/v15.0.0...v15.1.0
99
106
  [15.0.0]: https://github.com/cucumber/cucumber-ruby-core/compare/v14.0.0...v15.0.0
@@ -14,7 +14,7 @@ module Cucumber
14
14
  def initialize(location = nil, &block)
15
15
  raise ArgumentError, 'Passing a block to execute the action is mandatory.' unless block
16
16
 
17
- @location = location || Test::Location.new(*block.source_location)
17
+ @location = location || Test::Location.new(*block.source_location[0..1])
18
18
  @block = block
19
19
  @timer = Timer.new
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.2.0
4
+ version: 15.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aslak Hellesøy
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2025-08-08 00:00:00.000000000 Z
15
+ date: 2025-08-21 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: cucumber-gherkin
@@ -228,5 +228,5 @@ requirements: []
228
228
  rubygems_version: 3.4.20
229
229
  signing_key:
230
230
  specification_version: 4
231
- summary: cucumber-core-15.2.0
231
+ summary: cucumber-core-15.2.1
232
232
  test_files: []