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

use Typhoeus instead of cURL #6

Merged
merged 2 commits into from
Oct 20, 2017
Merged

use Typhoeus instead of cURL #6

merged 2 commits into from
Oct 20, 2017

Conversation

benbalter
Copy link
Owner

Fixes #2

/cc @parkr

@benbalter
Copy link
Owner Author

Since this is a hours-old project, I'd like to merge this to avoid merge conflicts and be able to test #7 together, but if anyone has any feedback, please comment on the PR and we can implement things in a subsequent follow up.

@benbalter benbalter merged commit 0c874c0 into master Oct 20, 2017
@benbalter benbalter deleted the typhoues branch October 20, 2017 20:28
:headers => {
:user_agent => "Jekyll Remote Theme/#{VERSION} (+#{PROJECT_URL})",
},
:verbose => (Jekyll.logger.level == :verbose),
Copy link

Choose a reason for hiding this comment

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

This should be :debug instead of :verbose for the jekyll log level.

Copy link
Owner Author

Choose a reason for hiding this comment

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

oooph! yes.

request.on_body { |chunk| zip_file.write(chunk) }
request.on_complete do |response|
raise_if_unsuccessful(response)
zip_file.close
Copy link

Choose a reason for hiding this comment

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

I’d close before you raise here.

Copy link
Owner Author

Choose a reason for hiding this comment

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

👍

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.

None yet

2 participants