Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Fix cucumber issues blocking ruby-head #2937

Closed
wants to merge 1 commit into from
Closed

Fix cucumber issues blocking ruby-head #2937

wants to merge 1 commit into from

Conversation

petergoldstein
Copy link
Contributor

This PR gets CI to green against ruby-head. It does so by:

  1. Loosening the cucumber version restrictions such that a ruby-head compatible version
  2. Making the tag syntax logic dynamic, based on the Ruby version
  3. Removing Fixnum from the described_class spec. (Also added a spec for the outer case)
  4. Renaming a when condition to avoid a string escape behavior that varies between cucumber versions.

cc: @JonRowe

This change looses the cucumber version restriction, allowing recent cucumbers.  It also handles the change in the 'not' syntax for tags, allowing it to run on a wide range of Ruby versions

Don't use Fixnum in the described_class test.  Add an 'outer' test.
@petergoldstein
Copy link
Contributor Author

I'm seeing failures on Ruby 2.3 (Windows) and JRuby 1.7, but those appear to be pre-existing problems.

There's a doc check failure, but rspec and cucumber run cleanly on ruby-head with these changes.

@petergoldstein
Copy link
Contributor Author

The doc check failure is an issue in yard. There is a fix - lsegal/yard@7dca12c - but it's not in a released gem yet.

@JonRowe
Copy link
Member

JonRowe commented Apr 1, 2022

@petergoldstein thanks so much for this, it's been merged in #2950

@JonRowe JonRowe closed this Apr 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants