Skip to content
New issue

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

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

Already on GitHub? # to your account

Add curl and remote_file support #31

Closed
wants to merge 4 commits into from

Conversation

SamK
Copy link
Contributor

@SamK SamK commented Aug 17, 2017

Each commit provides a new feature and the PR closes #28 :

  1. Feature: new download_with parameter
  2. Feature: download_with => 'curl' is available
  3. Feature: download_with => 'remote_file' is available

Note that I did not touch the tests; there might be some work on that part but my knowledge is limited on Gem/Rake.

Please tell me if you like it or not. If you have a question or request, do not hesitate to comment. I'm away from the keyboard this week-end. I will be back Monday.

@pcfens
Copy link
Contributor

pcfens commented Aug 17, 2017

Thanks for sending this along. Any chance you can add some tests for the new features?

At some point in the future it may make sense to drop wget and curl in favor of remote_file too.

@SamK
Copy link
Contributor Author

SamK commented Aug 17, 2017

I am not experienced in tests, I will read some doc this week-end and figure out how to do this.
I let you choose when you decide to drop support of binaries: you sir, are the author of this project.

@SamK
Copy link
Contributor Author

SamK commented Aug 21, 2017

I looked at the tests and realized that allowing wget, curl and remote_file at the same time will make grow the tests 3x larger. I suggest we only keep remote_file and drop the rest. What do you think?

@SamK SamK closed this Aug 25, 2017
@SamK SamK mentioned this pull request Aug 25, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cURL support
2 participants