stalking 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,8 @@ module Stalking
23
23
  @handlers.error_handlers.each do |handler|
24
24
  handler.call e, name, args
25
25
  end
26
+ rescue => e
27
+ @logger.fatal e
26
28
  end
27
29
 
28
30
  private
@@ -1,3 +1,3 @@
1
1
  module Stalking
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -7,23 +7,23 @@ class Stalking::NullLoggerTest < Minitest::Test
7
7
  end
8
8
 
9
9
  def test_debug
10
- assert_nothing_raised { @null_logger.debug "Message" }
10
+ assert_nothing_raised { @null_logger.debug "Debug" }
11
11
  end
12
12
 
13
13
  def test_info
14
- assert_nothing_raised { @null_logger.info "Message" }
14
+ assert_nothing_raised { @null_logger.info "Info" }
15
15
  end
16
16
 
17
17
  def test_warn
18
- assert_nothing_raised { @null_logger.warn "Message" }
18
+ assert_nothing_raised { @null_logger.warn "Warn" }
19
19
  end
20
20
 
21
21
  def test_error
22
- assert_nothing_raised { @null_logger.error "Message" }
22
+ assert_nothing_raised { @null_logger.error "Error" }
23
23
  end
24
24
 
25
25
  def test_fatal
26
- assert_nothing_raised { @null_logger.fatal "Message" }
26
+ assert_nothing_raised { @null_logger.fatal "Fatal" }
27
27
  end
28
28
  end
29
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stalking
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-06 00:00:00.000000000 Z
12
+ date: 2014-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake