lilypad 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/gemspec.rb +1 -1
  2. data/lib/rack/lilypad.rb +2 -2
  3. metadata +1 -1
data/gemspec.rb CHANGED
@@ -13,5 +13,5 @@ GEM_SPEC = Gem::Specification.new do |s|
13
13
  s.name = GEM_NAME
14
14
  s.platform = Gem::Platform::RUBY
15
15
  s.require_path = "lib"
16
- s.version = "0.1.5"
16
+ s.version = "0.1.6"
17
17
  end
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?(:trim) ? obj : obj.inspect
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',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lilypad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Winton Welsh