Age | Commit message (Collapse) | Author |
|
Ruby is not Perl, much as I sometimes wish it were.
|
|
|
|
Instead prefer ".".
Flagged by rubocop
|
|
|
|
This refereed to ruby1.8 in a versioned way which was wrong.
|
|
Broke down the inside? function into a function for returning the hours
in a period, and for sanitizing hour strings "14" vs. "2pm", etc.
Updated test-cases to match.
|
|
parser test, is matching against a period that covers the full
24 hours.
Correctly terminate this case, and add a new test-case to ensure
that this is always correct.
|
|
|
|
This class is used to determine whether an "hour" is within
a given hour-span. e.g. To cope with:
foo must run ping except between 04-06 otherwise 'alert'.
This updates issue #4551.
|