mailcvt 0.1.30 → 0.1.31
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/log_helper.rb +8 -2
- data/lib/mailcvt/version.rb +1 -1
- metadata +3 -3
data/lib/log_helper.rb
CHANGED
@@ -33,18 +33,24 @@ class LogHelper
|
|
33
33
|
|
34
34
|
if cap == 'C' and g[:key][1] == 'o'
|
35
35
|
cols << concatattach(g)
|
36
|
-
@valends[-1] &=
|
36
|
+
@valends[-1] &= isvalend?(g)
|
37
37
|
else
|
38
38
|
id = @@ids[cap]
|
39
39
|
next if cols[id]
|
40
40
|
cols[id] = concatval(g)
|
41
|
-
@valends[id] =
|
41
|
+
@valends[id] = isvalend?(g)
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
45
|
cols.join("\t")
|
46
46
|
end
|
47
47
|
|
48
|
+
def isvalend?(group)
|
49
|
+
return true unless group[:afterlines]
|
50
|
+
return false unless g[:valend]
|
51
|
+
true
|
52
|
+
end
|
53
|
+
|
48
54
|
def concatattach(group)
|
49
55
|
v = concatval(group)
|
50
56
|
|
data/lib/mailcvt/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailcvt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.31
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -120,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
segments:
|
122
122
|
- 0
|
123
|
-
hash: -
|
123
|
+
hash: -1974224014349753452
|
124
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
125
|
none: false
|
126
126
|
requirements:
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
segments:
|
131
131
|
- 0
|
132
|
-
hash: -
|
132
|
+
hash: -1974224014349753452
|
133
133
|
requirements: []
|
134
134
|
rubyforge_project:
|
135
135
|
rubygems_version: 1.8.25
|