howitzer icon indicating copy to clipboard operation
howitzer copied to clipboard

ROXML and ruby 3.2 support

Open saturnflyer opened this issue 2 years ago • 0 comments

Meta

Howitzer Version: 2.6.1 Gem Versions:

  • cuke_sniffer (1.1.0)
  • roxml (3.3.1)

Expected Behavior

With a cucumber project, it should boot (via rake features)

Actual Behavior

rake aborted!
NameError: uninitialized constant ROXML::Definition::Fixnum

Steps to reproduce

  • howitzer new mytests --cucumber
  • rake features

The version of ROXML used by cuke_sniffer apparently doesn't support ruby 3.2 and neither does howitzer because this version ROXML expects Fixnum which has been deprecated since Ruby 2.4 and was removed from Ruby 3.2.

I have fixed this in my project by setting Fixnum = Integer but ideally cuke_sniffer should be updated or abandoned for cuke_linter (https://github.com/enkessler/cuke_linter) or 🤷 something else

saturnflyer avatar Mar 28 '23 21:03 saturnflyer