mailcvt 0.1.6 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mailcvt/version.rb +1 -1
- data/lib/mailcvt_setup.rb +2 -1
- metadata +3 -3
data/lib/mailcvt/version.rb
CHANGED
data/lib/mailcvt_setup.rb
CHANGED
@@ -12,8 +12,9 @@ class MailcvtSetup
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def create_cron_job
|
15
|
-
setupdir = Dir.mkdir(File.join(@output, 'setup'))
|
16
15
|
jobfile = File.join(setupdir, 'cronjobs')
|
16
|
+
File.delete jobfile if File.exist?(jobfile)
|
17
|
+
|
17
18
|
newmaildir = File.join(Dir.home, 'Maildir/new')
|
18
19
|
File.open(jobfile, 'w') { |f| f.puts "* * * * * #{get_run_path} #{newmaildir} #{@output}" }
|
19
20
|
`crontab #{jobfile}`
|
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.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -118,7 +118,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
118
118
|
version: '0'
|
119
119
|
segments:
|
120
120
|
- 0
|
121
|
-
hash:
|
121
|
+
hash: -2322511788750894950
|
122
122
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
123
|
none: false
|
124
124
|
requirements:
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
version: '0'
|
128
128
|
segments:
|
129
129
|
- 0
|
130
|
-
hash:
|
130
|
+
hash: -2322511788750894950
|
131
131
|
requirements: []
|
132
132
|
rubyforge_project:
|
133
133
|
rubygems_version: 1.8.25
|