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

Rename UploadIO -> FilePart #1021

Merged
merged 5 commits into from
Sep 19, 2019
Merged

Rename UploadIO -> FilePart #1021

merged 5 commits into from
Sep 19, 2019

Conversation

technoweenie
Copy link
Member

This adds a new alias of ::UploadIO (provided by the multipart-post gem) to Faraday::FilePart. This makes it consistent with ParamPart, just added in #1017.

@technoweenie
Copy link
Member Author

The code climate failure is regarding the CompositeIO class that I copied from the multipart-post gem, with some custom tweak that Faraday needs.

Copy link
Member

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

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

This adds YARD annotations which describe things in such great detail - thanks!

Copy link
Member

@iMacTia iMacTia left a comment

Choose a reason for hiding this comment

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

Great documentation and tests coverage 👍
The CodeClimate issue is not a problem anymore 😉

@technoweenie technoweenie merged commit b863c16 into master Sep 19, 2019
@technoweenie technoweenie deleted the upload_io_file_part branch September 19, 2019 17:38
ccutrer added a commit to ccutrer/restforce that referenced this pull request Jun 9, 2020
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