lilypad 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/gemspec.rb +1 -1
- data/lib/rack/lilypad.rb +2 -2
- metadata +1 -1
data/gemspec.rb
CHANGED
data/lib/rack/lilypad.rb
CHANGED
@@ -53,7 +53,7 @@ module Rack
|
|
53
53
|
end
|
54
54
|
|
55
55
|
def to_string(obj)
|
56
|
-
obj.respond_to?(:
|
56
|
+
obj.respond_to?(:strip) ? obj : obj.inspect
|
57
57
|
end
|
58
58
|
|
59
59
|
def log(msg)
|
@@ -62,7 +62,7 @@ module Rack
|
|
62
62
|
|
63
63
|
def post(exception, env)
|
64
64
|
return unless production?
|
65
|
-
uri = URI.parse("http://hoptoadapp.com/notices
|
65
|
+
uri = URI.parse("http://hoptoadapp.com:80/notifier_api/v2/notices")
|
66
66
|
Net::HTTP.start(uri.host, uri.port) do |http|
|
67
67
|
headers = {
|
68
68
|
'Content-type' => 'text/xml',
|