mailcvt 0.2.19 → 0.2.20

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.
data/lib/encoded_word.rb CHANGED
@@ -4,17 +4,14 @@ require 'date'
4
4
 
5
5
  class EncodedWord
6
6
  def initialize(inputdir)
7
- @inputdir = inputdir
7
+ if File::ALT_SEPARATOR
8
+ @inputdir = inputdir.gsub(File::ALT_SEPARATOR, File::SEPARATOR)
9
+ else
10
+ @inputdir = inputdir
11
+ end
8
12
  end
9
13
 
10
14
  def decode
11
- =begin
12
- Dir.foreach(@inputdir) do |dir|
13
- next if dir == '.' or dir == '..'
14
- path = File.join(@inputdir, dir)
15
- next unless File.directory?(path)
16
- =end
17
-
18
15
  Dir.glob(File.join(@inputdir, File.join('**', '*.mlog'))).select do |f|
19
16
  puts f
20
17
  File.open(f + '.plain', 'w') do |out|
@@ -1,3 +1,3 @@
1
1
  module Mailcvt
2
- VERSION = '0.2.19'
2
+ VERSION = '0.2.20'
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.19
4
+ version: 0.2.20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: