remote_syslog 1.6.12 → 1.6.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  module RemoteSyslog
2
- VERSION = "1.6.12"
2
+ VERSION = "1.6.13"
3
3
  end
4
4
 
@@ -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
- packet.tag = $3 if $3 && $3 != ''
45
+ tag = $3 if $3 && $3 != ''
46
46
  packet.content = $4 if $4 && $4 != ''
47
47
 
48
- if packet.tag
49
- packet.tag.gsub!(%r{[: \]\[\\]+}, '-')
48
+ if tag
49
+ packet.tag = tag.gsub(%r{[: \]\[\\]+}, '-')
50
50
  end
51
51
  end
52
52
 
@@ -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.12'
11
+ s.version = '1.6.13'
12
12
  s.date = '2013-01-17'
13
13
  s.rubyforge_project = 'remote_syslog'
14
14
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 6
8
- - 12
9
- version: 1.6.12
8
+ - 13
9
+ version: 1.6.13
10
10
  platform: ruby
11
11
  authors:
12
12
  - Troy Davis