remote_syslog 1.6.12 → 1.6.13
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/remote_syslog.rb +1 -1
- data/lib/remote_syslog/message_generator.rb +3 -3
- data/remote_syslog.gemspec +1 -1
- metadata +2 -2
data/lib/remote_syslog.rb
CHANGED
@@ -42,11 +42,11 @@ module RemoteSyslog
|
|
42
42
|
|
43
43
|
if @parse_fields && message =~ @parse_fields
|
44
44
|
packet.hostname = $2 if $2 && $2 != ''
|
45
|
-
|
45
|
+
tag = $3 if $3 && $3 != ''
|
46
46
|
packet.content = $4 if $4 && $4 != ''
|
47
47
|
|
48
|
-
if
|
49
|
-
packet.tag.gsub
|
48
|
+
if tag
|
49
|
+
packet.tag = tag.gsub(%r{[: \]\[\\]+}, '-')
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
data/remote_syslog.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
## If your rubyforge_project name is different, then edit it and comment out
|
9
9
|
## the sub! line in the Rakefile
|
10
10
|
s.name = 'remote_syslog'
|
11
|
-
s.version = '1.6.
|
11
|
+
s.version = '1.6.13'
|
12
12
|
s.date = '2013-01-17'
|
13
13
|
s.rubyforge_project = 'remote_syslog'
|
14
14
|
|