Skip to content

Remove Code Climate badge, document stream_file example - #93

Merged
dblock merged 2 commits into
ruby-grape:masterfrom
dblock:remove-code-climate
Aug 2, 2026
Merged

dblock merged 2 commits into
ruby-grape:masterfrom
dblock:remove-code-climate

Conversation

@dblock

@dblock dblock commented Aug 2, 2026

Copy link
Copy Markdown
Member

Why

Code Climate is no longer set up for this repository, so its badge in the README is stale/broken. Also, the stream_file example (added in #92) was never documented in the README.

Changes

  • Remove the Code Climate badge from README.md.
  • Add a stream_file section documenting api/stream_file.rb, alongside the existing upload_file example.

dblock and others added 2 commits August 2, 2026 17:54
Code Climate is no longer set up for this repository, so drop the
badge from the README. Also add a README section for the stream_file
example (previously missing from the docs).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace the copy-pasted, stale headers in the stream_file curl example
with the real headers the endpoint returns (Transfer-Encoding: chunked,
Cache-Control: no-cache, no Content-Length), confirming the response
is actually streamed. Add a second example that downloads the response
to a file and diffs it against the original upload to prove the
round-trip is byte-identical.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dblock
dblock merged commit 2d8981d into ruby-grape:master Aug 2, 2026
3 checks passed
@dblock
dblock deleted the remove-code-climate branch August 2, 2026 22:02
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