mailcvt 0.1.39 → 0.1.40
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/grep_mail.rb +3 -2
- data/lib/mailcvt/version.rb +1 -1
- data/lib/to_cc_parser.rb +1 -1
- metadata +3 -3
data/lib/grep_mail.rb
CHANGED
@@ -3,9 +3,10 @@
|
|
3
3
|
require 'log_helper'
|
4
4
|
|
5
5
|
class GrepMail
|
6
|
-
def initialize(file, lines)
|
6
|
+
def initialize(file, lines, maxval = 9)
|
7
7
|
@pcontent= file.length + 1
|
8
8
|
grouplines(lines)
|
9
|
+
@maxval = maxval
|
9
10
|
end
|
10
11
|
|
11
12
|
def grouplines(lines)
|
@@ -38,7 +39,7 @@ class GrepMail
|
|
38
39
|
def finish_multiline_value
|
39
40
|
return if @groups.length == 0
|
40
41
|
curgrp = @groups[-1]
|
41
|
-
curgrp[:valend] = true if curgrp[:afterlines] and curgrp[:afterlines].length <
|
42
|
+
curgrp[:valend] = true if curgrp[:afterlines] and curgrp[:afterlines].length < maxval
|
42
43
|
end
|
43
44
|
|
44
45
|
def keyvalue(line)
|
data/lib/mailcvt/version.rb
CHANGED
data/lib/to_cc_parser.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.40
|
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: 706312901197128306
|
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: 706312901197128306
|
133
133
|
requirements: []
|
134
134
|
rubyforge_project:
|
135
135
|
rubygems_version: 1.8.25
|