Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-09 | Removed trailing whitespace from the code | Steve Kemp | |
2015-03-09 | Whitespace fixups. | Steve Kemp | |
These were all identified and suggested by rubocop. | |||
2015-03-09 | Removed spaces inside parenthesis. | Steve Kemp | |
2015-03-09 | Prefer single-quotes when you don't need interpolation. | Steve Kemp | |
So "foo" is less good than 'foo'. | |||
2015-03-09 | Do not terminate expressions with ";". | Steve Kemp | |
Ruby is not Perl, much as I sometimes wish it were. | |||
2015-03-09 | Don't use parenthesis aroudn conditions in an if. | Steve Kemp | |
2015-03-09 | Don't use "::" for method-calls. | Steve Kemp | |
Instead prefer ".". Flagged by rubocop | |||
2015-01-30 | Removed executable permissions, this is a library. | Steve Kemp | |
2015-01-29 | Removed shebang. | Steve Kemp | |
This refereed to ruby1.8 in a versioned way which was wrong. | |||
2013-06-24 | Updated the code to be more module. | Steve Kemp | |
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. | |||
2013-06-24 | The worst-case for testing a time-period, and one used in the | Steve Kemp | |
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. | |||
2013-06-24 | Removed obsolete debug-code. | Steve Kemp | |
2013-06-24 | Added Custodian::Util::TimeSpan | Steve Kemp | |
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. |