mailcvt 0.2.40 → 0.2.41

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.
@@ -128,6 +128,15 @@ command :decode do |c|
128
128
  end
129
129
  end
130
130
 
131
+ command :combine do |c|
132
+ c.action do |global_options,options,args|
133
+ err = "combine usage: mailcvt combine [mailcvt-output]"
134
+ raise err unless args.length == 1
135
+ ew = EncodedWord.new(args[0])
136
+ ew.combine
137
+ end
138
+ end
139
+
131
140
  pre do |global,command,options,args|
132
141
  # Pre logic here
133
142
  # Return true to proceed; false to abort and not call the
@@ -17,6 +17,10 @@ class EncodedWord
17
17
  combine_all_mlog_plain
18
18
  end
19
19
 
20
+ def combine
21
+ combine_all_mlog_plain
22
+ end
23
+
20
24
  def combine_all_mlog_plain
21
25
  File.open(File.join(@inputdir, 'all_mlog.csv'), 'w:utf-8') do |out|
22
26
  out.puts '"key","","","date","from","to","cc","bcc","subject","attach"'
@@ -1,3 +1,3 @@
1
1
  module Mailcvt
2
- VERSION = '0.2.40'
2
+ VERSION = '0.2.41'
3
3
  end
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.2.40
4
+ version: 0.2.41
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: