flydata 0.0.1.2011102303 → 0.0.1.2011102401
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/VERSION +1 -1
- data/flydata.gemspec +1 -1
- data/lib/flydata/flydata_crontab.sh +2 -7
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.1.
|
1
|
+
0.0.1.2011102401
|
data/flydata.gemspec
CHANGED
@@ -57,11 +57,6 @@ check_crond_process()
|
|
57
57
|
dump_cron_setting()
|
58
58
|
{
|
59
59
|
crontab -l > $CRON_BACKUP_PATH
|
60
|
-
if [ "$?" -ne "0" ]; then
|
61
|
-
echo "Cannot dump cron settings. "
|
62
|
-
echo "Please install "
|
63
|
-
exit -4
|
64
|
-
fi
|
65
60
|
}
|
66
61
|
|
67
62
|
check_cron_setting()
|
@@ -79,7 +74,7 @@ add_cron_setting()
|
|
79
74
|
echo "$CRON_LINE" >> $CRON_TMP_PATH
|
80
75
|
crontab $CRON_TMP_PATH
|
81
76
|
if [ "$?" -ne "0" ]; then
|
82
|
-
echo "Failed to register flydata routine job."
|
77
|
+
echo "Failed to register flydata routine job to crontab."
|
83
78
|
exit -6
|
84
79
|
fi
|
85
80
|
}
|
@@ -89,7 +84,7 @@ remove_cron_setting()
|
|
89
84
|
cat "$CRON_BACKUP_PATH" | grep -v "flydata routine" > $CRON_TMP_PATH
|
90
85
|
crontab $CRON_TMP_PATH
|
91
86
|
if [ "$?" -ne "0" ]; then
|
92
|
-
echo "Failed to remove flydata routine job."
|
87
|
+
echo "Failed to remove flydata routine job from crontab."
|
93
88
|
exit -7
|
94
89
|
fi
|
95
90
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flydata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.2011102401
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -275,7 +275,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
275
275
|
version: '0'
|
276
276
|
segments:
|
277
277
|
- 0
|
278
|
-
hash:
|
278
|
+
hash: -967327673415101597
|
279
279
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
280
|
none: false
|
281
281
|
requirements:
|