Skip to content

Commit

Permalink
Update the Readme and add the Rubyforge project to the gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
toolmantim committed Sep 11, 2009
1 parent 749e09e commit a339fbe
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 29 deletions.
15 changes: 6 additions & 9 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
Toadhopper
----------

A base library for [Hoptoad](http://www.hoptoadapp.com/) error reporting.

Toadhopper can be used to report plain old Ruby exceptions or to build a library specific gem, such as the yet-to-be-built toadhopper-sinatra and toadhopper-rack gems (they're next on my list).

## Example

require 'rubygems'
require 'rubygems'

gem 'toadhopper'
require 'toadhopper'
gem 'toadhopper'
require 'toadhopper'

Toadhopper.api_key = "YOURAPIKEY"
Toadhopper.api_key = "YOURAPIKEY"

error = begin; raise "Kaboom!"; rescue => e; e; end
error = begin; raise "Kaboom!"; rescue => e; e; end

puts Toadhopper.post!(error)
puts Toadhopper.post!(error)
41 changes: 21 additions & 20 deletions toadhopper.gemspec
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
Gem::Specification.new do |s|
s.name = "toadhopper"
s.version = "0.3"
s.extra_rdoc_files = ["Readme.md"]
s.summary = "Library for posting Hoptoad notifications"
s.description = s.summary
s.authors = ["Tim Lucas"]
s.email = "t.lucas@toolmantim.com"
s.homepage = "http://github.com/toolmantim/toadhopper"
s.require_path = "lib"
s.files = %w(
Readme.md
Rakefile
lib/toadhopper.rb
lib/toadhopper/test.rb
test/test_filter.rb
test/test_notice_params.rb
test/test_setters.rb
test/test_test.rb
)
s.has_rdoc = true
s.name = "toadhopper"
s.version = "0.3"
s.extra_rdoc_files = ["Readme.md"]
s.summary = "Library for posting Hoptoad notifications"
s.description = s.summary
s.authors = ["Tim Lucas"]
s.email = "t.lucas@toolmantim.com"
s.homepage = "http://github.com/toolmantim/toadhopper"
s.require_path = "lib"
s.rubyforge_project = "toadhopper"
s.files = %w(
Readme.md
Rakefile
lib/toadhopper.rb
lib/toadhopper/test.rb
test/test_filter.rb
test/test_notice_params.rb
test/test_setters.rb
test/test_test.rb
)
s.has_rdoc = true
end

0 comments on commit a339fbe

Please sign in to comment.