mailcvt 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/bin/lock-runmailcvt CHANGED
@@ -3,7 +3,7 @@
3
3
  log=hourly-runmailcvt.log
4
4
  lock="runmailcvt.lock"
5
5
  if mkdir $lock &> /dev/null; then
6
- if [ $3 == "-D" ]; then
6
+ if [ ! -z $3 ] && [ $3 == "-D" ]; then
7
7
  ./bin/runmailcvt $1 $2 $3 >> $log 2>&1
8
8
  else
9
9
  runmailcvt $1 $2 >> $log 2>&1
data/bin/runmailcvt CHANGED
@@ -30,7 +30,7 @@ grep -E -A9 "^Date: |^Message-ID: |^Subject: |^From: |^To: |^Cc: |^Content-Dispo
30
30
  echo "[$(now)] grep finished."
31
31
 
32
32
 
33
- if [ $3 == "-D" ]; then
33
+ if [ ! -z $3 ] && [ $3 == "-D" ]; then
34
34
  bundle exec bin/mailcvt read $1 $2
35
35
  else
36
36
  mailcvt read $1 $2
@@ -1,3 +1,3 @@
1
1
  module Mailcvt
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
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.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -119,7 +119,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  segments:
121
121
  - 0
122
- hash: 2973861151489649846
122
+ hash: -3927845667012602180
123
123
  required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  none: false
125
125
  requirements:
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  version: '0'
129
129
  segments:
130
130
  - 0
131
- hash: 2973861151489649846
131
+ hash: -3927845667012602180
132
132
  requirements: []
133
133
  rubyforge_project:
134
134
  rubygems_version: 1.8.25