omnibot 0.0.2 → 0.0.3
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/lib/omnibot/periodiccommand.rb +4 -9
- data/lib/omnibot/version.rb +1 -1
- metadata +3 -3
|
@@ -28,15 +28,10 @@ module OmniBot
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
def start
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
now = Time.now
|
|
36
|
-
next_report_time = Time.local(now.year, now.month, now.day+1, 1, 0, 0)
|
|
37
|
-
next_report_time = next_report_time + @pause
|
|
38
|
-
@timer_provider.add_timer(next_report_time - now) { on_first_timer }
|
|
39
|
-
end
|
|
31
|
+
now = Time.now
|
|
32
|
+
next_report_time = Time.local(now.year, now.month, now.day+1, 1, 0, 0)
|
|
33
|
+
next_report_time = next_report_time + @pause
|
|
34
|
+
@timer_provider.add_timer(next_report_time - now) { on_first_timer }
|
|
40
35
|
end
|
|
41
36
|
|
|
42
37
|
def set_jabber_messenger &block
|
data/lib/omnibot/version.rb
CHANGED
metadata
CHANGED