mirror of
https://github.com/plashchynski/crono.git
synced 2026-01-13 13:53:27 +01:00
[PR #34] [MERGED] Added :within option to Period to run only within given time interval. #85
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plashchynski/crono/pull/34
Author: @lhz
Created: 10/3/2015
Status: ✅ Merged
Merged: 1/16/2016
Merged by: @plashchynski
Base:
master← Head:intervals📝 Commits (2)
a93b937Added :within option to Period to run only within given time interval.4b7b03fConvert TimeOfDay values to UTC.📊 Changes
5 files changed (+106 additions, -3 deletions)
View changed files
📝
lib/crono.rb(+2 -0)➕
lib/crono/interval.rb(+43 -0)📝
lib/crono/period.rb(+14 -3)➕
lib/crono/time_of_day.rb(+36 -0)📝
spec/period_spec.rb(+11 -0)📄 Description
Added feature to run a job within a given time interval only.
Examples:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.