lumberjack_heroku_device 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,12 +18,17 @@ module Rails
18
18
  module Rack
19
19
  class LogTailer
20
20
  def initialize(app, log = nil)
21
+ @app = app
21
22
  end
22
23
 
23
24
  def call(env)
25
+ response = @app.call(env)
26
+ tail!
27
+ response
24
28
  end
25
29
 
26
30
  def tail!
31
+ $stdout.print "Testing... 1. 2. 3."
27
32
  end
28
33
  end
29
34
  end
@@ -1,3 +1,3 @@
1
1
  module LumberjackHerokuDevice
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lumberjack_heroku_device
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-12-29 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: lumberjack
16
- requirement: &70110938617620 !ruby/object:Gem::Requirement
16
+ requirement: &70235764936660 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70110938617620
24
+ version_requirements: *70235764936660
25
25
  description: A logging device for the Lumberjack gem that writes log entries to Heroku's
26
26
  logging system.
27
27
  email: