toadhopper 0.6 → 0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +15 -0
- data/lib/toadhopper.rb +1 -0
- metadata +3 -2
data/README.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
A base library for [Hoptoad](http://www.hoptoadapp.com/) error reporting.
|
2
|
+
|
3
|
+
Toadhopper can be used to report plain old Ruby exceptions, or to build a framework-specific gem such as [toadhopper-sinatra](http://github.com/toolmantim/toadhopper-sinatra).
|
4
|
+
|
5
|
+
require 'toadhopper'
|
6
|
+
|
7
|
+
Toadhopper.api_key = "YOURAPIKEY"
|
8
|
+
|
9
|
+
error = begin; raise "Kaboom!"; rescue => e; e; end
|
10
|
+
|
11
|
+
puts Toadhopper.post!(error)
|
12
|
+
|
13
|
+
You can install it via rubygems:
|
14
|
+
|
15
|
+
gem install toadhopper
|
data/lib/toadhopper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toadhopper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "0.
|
4
|
+
version: "0.7"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Lucas
|
@@ -22,13 +22,14 @@ extensions: []
|
|
22
22
|
extra_rdoc_files:
|
23
23
|
- Readme.md
|
24
24
|
files:
|
25
|
-
-
|
25
|
+
- README.md
|
26
26
|
- Rakefile
|
27
27
|
- LICENSE
|
28
28
|
- lib/toadhopper.rb
|
29
29
|
- test/test_filter.rb
|
30
30
|
- test/test_notice_params.rb
|
31
31
|
- test/test_setters.rb
|
32
|
+
- Readme.md
|
32
33
|
has_rdoc: true
|
33
34
|
homepage: http://github.com/toolmantim/toadhopper
|
34
35
|
post_install_message:
|