From 0d6993a395248898eee7366c3a2fd3d13429de75 Mon Sep 17 00:00:00 2001 From: Justin Aiken <60tonangel@gmail.com> Date: Wed, 7 Oct 2015 11:46:21 -0600 Subject: [PATCH] Version bump, add example to README --- README.markdown | 18 ++++++++++++++++++ lib/active_scheduler/version.rb | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 4cfc873..955f7de 100644 --- a/README.markdown +++ b/README.markdown @@ -37,6 +37,24 @@ wrapped_schedule = ActiveScheduler::ResqueWrapper.wrap yaml_schedule Resque.schedule = wrapped_schedule ``` + +## Example Format + +```yaml +simple_job: + every: "30s" + queue: "simple" + class: "SimpleJob" + args: + - + description: "It's a simple job." + +ThisIsTheClass: + cron: "* * * *" + queue: 'cronny' + description: "Will call the ThisIsTheClass class" +``` + ## Credits - Written by [@JustinAiken](https://www.github.com/JustinAiken) diff --git a/lib/active_scheduler/version.rb b/lib/active_scheduler/version.rb index 48f4aca..7aa9bb3 100644 --- a/lib/active_scheduler/version.rb +++ b/lib/active_scheduler/version.rb @@ -1,3 +1,3 @@ module ActiveScheduler - VERSION = "0.0.2" + VERSION = "0.0.3" end