Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleanup documentation so it installs properly

  • Loading branch information...
commit 2066055b0bf6bf7b2c99e6b464d8959d2e27279d 1 parent 1299cfa
@atmos authored
Showing with 12 additions and 7 deletions.
  1. +4 −0 .gitignore
  2. +7 −3 README
  3. +1 −4 TODO
View
4 .gitignore
@@ -0,0 +1,4 @@
+log/*
+.DS_Store
+coverage
+pkg
View
10 README
@@ -22,15 +22,19 @@ Usage:
3) Require hoptoad in init.rb
require 'merb_hoptoad_notifier'
-5) Create an exceptions controller like this:
+4) Add the following method to your Exceptions controller.
class Exceptions < Merb::Controller
- def internal_server_error
+ def exceptions
HoptoadNotifier.notify_hoptoad(request, session) if [ 'staging', 'production' ].include?(Merb.env)
render
end
end
-4) Restart the server, trigger an error and check that it arrived at hoptoad :)
+5) Restart the server, trigger an error(in staging or prod) and check that it arrived at hoptoad :)
+
+
+Many thanks to Joakim Kolsjö for creating most of the hoptoad code. I just spec'd and updated it. ;)
+
View
5 TODO
@@ -1,5 +1,2 @@
TODO:
-Fix LICENSE with your name
-Fix Rakefile with your name and contact info
-Add your code to lib/merb_hoptoad_notifier.rb
-Add your Merb rake tasks to lib/merb_hoptoad_notifier/merbtasks.rb
+See if there's any more rich information we could provide to hoptoad
Please sign in to comment.
Something went wrong with that request. Please try again.