gregfitz23-chrono_trigger 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/chrono_trigger/process.rb +1 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
@@ -7,7 +7,7 @@ module ChronoTrigger
|
|
7
7
|
setup(options)
|
8
8
|
|
9
9
|
shell = ChronoTrigger::Shell.new
|
10
|
-
shell.load_triggers(options[:trigger_files].split(":"))
|
10
|
+
options[:trigger_files] ? shell.load_triggers(options[:trigger_files].split(":")) : shell.load_triggers
|
11
11
|
loop do
|
12
12
|
shell.execute_triggers
|
13
13
|
sleep 1.minute.to_i
|