Skip to content

Support for rack 3.1.0 #548

Open
@TeamNautilus

Description

@TeamNautilus

Hello Zipmark,

we are Team Nautilus, and we would like to report an issue related to the rspec_api_documentation gem.

We are using Ruby 3.1.1 with the following Gemfile:

gem 'rails', '7.1.3'
gem 'rack', '3.0.11'
gem 'rspec_api_documentation', git: 'https://github.com/zipmark/rspec_api_documentation.git'

GIT
  remote: https://github.com/zipmark/rspec_api_documentation.git
  revision: d32bf17932a379052e8bb7540fc29ce7e72712ae
  specs:
    rspec_api_documentation (6.1.0)

and when we run the command rake docs:generate, everything works fine.

However, after updating the rack gem to version 3.1.0, we encounter the following error:

NoMethodError: 
    undefined method 'rewind' for nil:NilClass
        input.rewind

at rspec_api_documentation-d32bf17932a3/lib/rspec_api_documentation/client_base.rb#48.

Can you help us resolve this issue?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions