This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.document | Wed Oct 14 17:19:07 -0700 2009 | |
| |
.gitignore | Wed Oct 14 21:02:35 -0700 2009 | |
| |
LICENSE | Wed Oct 14 21:02:35 -0700 2009 | |
| |
README.md | Wed Oct 14 21:44:44 -0700 2009 | |
| |
Rakefile | Wed Oct 14 21:10:08 -0700 2009 | |
| |
VERSION | Wed Oct 14 21:44:44 -0700 2009 | |
| |
lib/ | Wed Oct 14 21:44:44 -0700 2009 | |
| |
response_logger.gemspec | Wed Oct 14 21:44:44 -0700 2009 | |
| |
spec/ | Wed Oct 14 21:44:44 -0700 2009 |
README.md
= response_logger
Require this little gem (tee hee) into your application's environment and all requests made via Net::HTTP are logged into the log folder. This works with ActiveResource, Mechanize, Nokogiri and HTTParty.
Include it into your rails app like so:
config.gem 'response_logger'
And restart your rails server to load it in.
The next time you make a Net::HTTP request a folder will appear in the log folder like this:
<year>
\_<month>
\_<day>
\_<port number>
\_<domain>
\_<path>
\_<to>
\_<file>
\_<hour><minute><second>
The final file in that chain contains the response body.
== Note on Patches/Pull Requests
- Fork the project.
- Make your feature addition or bug fix.
- Add tests for it. This is important so I don't break it in a future version unintentionally.
- Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
- Send me a pull request. Bonus points for topic branches.
== Copyright
Copyright (c) 2009 Ryan Bigg. See LICENSE for details.







