Skip to content
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

Add ruby 3.3 to edge and test flows #2397

Merged
merged 4 commits into from
Jan 3, 2024

Conversation

ericproulx
Copy link
Contributor

This PR adds ruby 3.3 is our GH workflows.

Update actions/checkout to v4
Remove a spec not related to endpoint method missing
@grape-bot
Copy link

grape-bot commented Jan 1, 2024

1 Message
📖 We really appreciate pull requests that demonstrate issues, even without a fix. That said, the next step is to try and fix the failing tests!

Generated by 🚫 Danger

get '/hey'
end.to raise_error(NoMethodError, /^undefined method `x' for #<Object:0x[0-9a-fA-F]+>$/)
end
end
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason for removing this? It was fixing a bug I believe with failure context.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, it works for the endpoint through themethod_missing but otherwise, the NoMethodError is handled by the object it self. Also when you look at the code, its supposed to end with in /hey' endpoint` but it does not. We don't have the control over all the instances declared in the endpoint but we do at the endpoint's instance level.

@ericproulx ericproulx marked this pull request as ready for review January 3, 2024 10:23
@ericproulx ericproulx requested a review from dblock January 3, 2024 10:48
@dblock dblock merged commit 40e62bf into ruby-grape:master Jan 3, 2024
36 checks passed
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.

3 participants