lilypad 0.1.3 → 0.1.4
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/gemspec.rb +1 -1
- data/lib/rack/lilypad.rb +1 -1
- data/spec/rack/lilypad_spec.rb +6 -0
- metadata +1 -1
data/gemspec.rb
CHANGED
data/lib/rack/lilypad.rb
CHANGED
@@ -68,11 +68,11 @@ module Rack
|
|
68
68
|
http.open_timeout = 2 # seconds
|
69
69
|
response = begin
|
70
70
|
http.post uri.path, xml(exception, env), headers
|
71
|
-
env['hoptoad.notified'] = true
|
72
71
|
rescue TimeoutError => e
|
73
72
|
end
|
74
73
|
case response
|
75
74
|
when Net::HTTPSuccess then
|
75
|
+
env['hoptoad.notified'] = true
|
76
76
|
log "Hoptoad Success: #{response.class}"
|
77
77
|
else
|
78
78
|
log "Hoptoad Failure: #{response.class}\n\n#{response.body if response.respond_to? :body}\n\n#{@@last_response}"
|
data/spec/rack/lilypad_spec.rb
CHANGED