Skip to content

ci: test against Ruby 3.3 #528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

ci: test against Ruby 3.3 #528

wants to merge 12 commits into from

Conversation

bf4
Copy link
Contributor

@bf4 bf4 commented Apr 25, 2024

Follows #515

There are failing tests in here which anyone should feel free to make a PR to address

@bf4
Copy link
Contributor Author

bf4 commented Apr 25, 2024

#500 seems reasonable

bf4 added 11 commits July 16, 2025 19:45
- Add webrick and rackup gems for Ruby 3.3 server support
- Configure Capybara to use WEBrick with proper keyword arguments
- Add response_body_formatter to handle binary data correctly
- Improve StubApp request body parsing for different client types
- Make OpenApi::Node settings method public for test access
- Fix request body rewind compatibility across Rack versions
- Filter HTTP_VERSION header in env_to_headers (Rack 2.1.0 compatibility)
- Add proper response body encoding handling for ASCII-8BIT content
- Fix ApiFormatter event registration and notification handling
- Update pending test to work with RSpec 3.13 behavior
- Remove Sinatra dependency from test files (incompatible with Rack 2.1.0)
- Complete conversion of StubApp from Sinatra to plain Rack app
- Fix response_body_formatter to return proper format for binary data
- Update test configuration to use StubApp instances
Use anonymous classes instead of RSpec::Core::ExampleGroup.describe()
to create example groups for formatter testing. This prevents RSpec 3.5+
from automatically registering and executing these test groups, which
was causing false test failures.
Changed sinatra dependency from unversioned to "~> 2.0" to ensure
compatibility with Rack 2.1.0. Sinatra 1.x requires Rack ~> 1.5
which conflicts with Rack 2.1.0, causing cucumber tests to fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant