multilogger 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/multilogger.rb +1 -1
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
data/lib/multilogger.rb CHANGED
@@ -21,7 +21,7 @@ class MultiLogger < ActiveSupport::BufferedLogger
21
21
 
22
22
  def add(severity, message=nil, progname=nil, &block)
23
23
  @extra_logs.keys.each do |pattern|
24
- if message && message.match(pattern)
24
+ if message && message.respond_to?(:match) && message.match(pattern)
25
25
  return @extra_logs[pattern].add(severity, message, progname, &block)
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multilogger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burke Libbey