mailcvt 0.1.24 → 0.1.25

Sign up to get free protection for your applications and to get access to all the features.
data/lib/mail_cleaner.rb CHANGED
@@ -27,8 +27,8 @@ class MailCleaner
27
27
  File.foreach(fok) do |fn|
28
28
  begin
29
29
  File.delete fn
30
- rescue Exception
31
- puts "Can't remove file #{fn}"
30
+ rescue Exception => e
31
+ puts "Can't remove file #{fn}. \n#{e.message}\n#{e.backtrace.inspect}"
32
32
  end
33
33
  end
34
34
  end
@@ -48,7 +48,7 @@ class MailCleaner
48
48
  filename = File.basename(fn)
49
49
  File.rename fn, File.join(d, filename)
50
50
  rescue Exception
51
- puts "Can't move file #{fn} to #{d}"
51
+ puts "Can't move file #{fn} to #{d}. \n#{e.messge}\n#{e.backtrace.inspect}"
52
52
  end
53
53
  end
54
54
  end
@@ -1,3 +1,3 @@
1
1
  module Mailcvt
2
- VERSION = '0.1.24'
2
+ VERSION = '0.1.25'
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.1.24
4
+ version: 0.1.25
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: 712247965765688974
123
+ hash: 2539150276851404024
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: 712247965765688974
132
+ hash: 2539150276851404024
133
133
  requirements: []
134
134
  rubyforge_project:
135
135
  rubygems_version: 1.8.25