toadhopper-sinatra 0.4 → 0.5

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.
@@ -69,26 +69,4 @@ class TestReportErrorToHoptoad < Test::Unit::TestCase
69
69
  assert_equal({:key => 42, :data => {"id" => "sessionid"}}, @options[:session])
70
70
  end
71
71
 
72
- end
73
-
74
- class TestFailsSilentWithoutApiKey < Test::Unit::TestCase
75
-
76
- class AppWithoutApiKey < Sinatra::Base
77
- helpers Sinatra::Toadhopper
78
- set :raise_errors, false
79
- get("/") { raise "Kaboom!" }
80
- error do
81
- post_error_to_hoptoad!
82
- "Error"
83
- end
84
- end
85
-
86
- include Rack::Test::Methods
87
-
88
- def app; AppWithoutApiKey end
89
-
90
- def test_doesnt_raise_an_error
91
- assert_nothing_raised { get "/" }
92
- end
93
-
94
72
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toadhopper-sinatra
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.4"
4
+ version: "0.5"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Lucas
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: "0.7"
23
+ version: "0.6"
24
24
  version:
25
25
  description: Post Hoptoad notifications from Sinatra
26
26
  email: t.lucas@toolmantim.com