Commit Graph

64 Commits

Author SHA1 Message Date
Paul van Tilburg e62df9bc36 Small reordering 2014-11-15 22:24:27 +01:00
Paul van Tilburg 1f0bf617f0 Reload event/scenes/rules before executing any rules 2014-11-15 22:24:11 +01:00
Paul van Tilburg 24c95f417a Implement events/scenes/rules reloading
* Store change time when loading
* On reload, check if a file exists and whether it is newer
* Fail if the rules file cannot be loaded
* Reload the rules file if the events/scenes file has been reloaded
  (This is needed because rules might depend on new or updated
  events/scenes)
2014-11-15 22:23:44 +01:00
Paul van Tilburg ee95693976 Improve log messages 2014-11-15 22:21:49 +01:00
Paul van Tilburg 963fdc84ef Handle INT and TERM signals gracefully; use new dummy shutdown method 2014-11-15 21:13:36 +01:00
Paul van Tilburg de6277601b Add file header; tweak comments 2014-11-15 21:13:09 +01:00
Paul van Tilburg a44fb819e6 Add decent option parsing and version 2014-11-15 21:12:51 +01:00
Paul van Tilburg bb71dee7b9 Rename hued.rb to hued 2014-11-15 20:48:21 +01:00
Paul van Tilburg 14a75409d2 Ignore .yml files in repository root (for now) 2014-11-15 20:46:51 +01:00
Paul van Tilburg efa4786114 Add REAMDE.md file 2014-11-15 20:44:45 +01:00
Paul van Tilburg 8f86d79c42 Add GPL v2 license file 2014-11-15 19:55:06 +01:00
Paul van Tilburg 78097af40f Add the pry-based command-line utility huec 2014-11-15 19:42:39 +01:00
Paul van Tilburg 0f4796ebbc Add a draft implementation of the hued daemon 2014-11-15 19:41:47 +01:00
Paul van Tilburg 132d7ede47 Add very basic, initial version 2014-01-11 22:33:15 +01:00