yell 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,7 +62,7 @@ module Yell #:nodoc:
62
62
 
63
63
  # The method formats the message and writes it to the file handle.
64
64
  def write!( event )
65
- message = @formatter.format( event )
65
+ message = @format.format( event )
66
66
 
67
67
  # colorize if applicable
68
68
  if colorize? and color = Colors[event.level]
@@ -73,11 +73,11 @@ module Yell #:nodoc:
73
73
 
74
74
  stream.print( message )
75
75
  stream.flush
76
- rescue Exception => e
77
- close
76
+ # rescue Exception => e
77
+ # close
78
78
 
79
- # re-raise the exception
80
- raise( e, caller )
79
+ # # re-raise the exception
80
+ # raise( e, caller )
81
81
  end
82
82
 
83
83
  # Determie whether to colorize the log output or nor
data/lib/yell/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Yell #:nodoc:
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
 
6
6
  end
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yell
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70281944125180 !ruby/object:Gem::Requirement
16
+ requirement: &70134284271320 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70281944125180
24
+ version_requirements: *70134284271320
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rr
27
- requirement: &70281944124740 !ruby/object:Gem::Requirement
27
+ requirement: &70134284270880 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70281944124740
35
+ version_requirements: *70134284270880
36
36
  description: Yell - Your Extensible Logging Library. Define multiple adapters, various
37
37
  log level combinations or message formatting options like you've never done before
38
38
  email: