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 Net::HTTP instead of TCPSocket for delivering request #2

Merged
merged 1 commit into from Jun 7, 2011

Conversation

jasonm
Copy link
Contributor

@jasonm jasonm commented Jun 1, 2011

Hello,

I'm using the km gem in an application for delivering events that occur outside of the end-user request/response cycle like monthly billing. I want to integration test this using Webmock, which relies on the HTTP request being delivered with an HTTP library (Net::HTTP, Patron, Curb, etc.).

This commit changes the KM class to deliver events with Net::HTTP instead of TCPSocket. The test suite still passes, and there should be no change to the publicly exposed API. Would you consider including this and issuing a gem release?

Thanks,
Jason

kissmetrics pushed a commit that referenced this pull request Jun 7, 2011
Use Net::HTTP instead of TCPSocket for delivering request
@kissmetrics kissmetrics merged commit 0f6592a into kissmetrics:master Jun 7, 2011
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