From 645a4af994f887b23d98d48ab8d839133bf3ca69 Mon Sep 17 00:00:00 2001 From: Javan Makhmali Date: Wed, 20 Oct 2010 17:34:36 -0400 Subject: [PATCH] Releasing v0.6.0 with better Rails 3 and RVM support. --- CHANGELOG.rdoc | 9 +++++++++ README.rdoc | 13 +++++++------ Rakefile | 4 ++-- lib/whenever/version.rb | 2 +- 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index 2197120..11f5740 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -1,3 +1,12 @@ +== 0.6.0 / October 20th, 2010 + +* Detect script/rails file and change runner to Rails 3 style if found. [Javan Makhmali] + +* Created a new :job_template system that can be applied to all commands. Wraps all in bash -l -c 'command..' by default now for better RVM support. Stopped automatically setting the PATH too. [Javan Makhmali] + +* Added a built-in Capistrano recipe. [Javan Makhmali] + + == 0.5.3 / September 24th, 2010 * Better regexes for replacing Whenever blocks in the crontab. #45 [Javan Makhmali] diff --git a/README.rdoc b/README.rdoc index 7a0c0ce..65e1f8c 100644 --- a/README.rdoc +++ b/README.rdoc @@ -75,12 +75,7 @@ Or set the job_template to nil to have your jobs execute normally. set :job_template, nil -== Cron output - - $ cd /my/rails/app - $ whenever - -And you'll see your schedule.rb converted to cron sytax. Note: running `whenever' with no options does not display your current crontab file, it simply shows you the output of converting your schedule.rb file. +And you'll see your schedule.rb converted to cron sytax. Note: running `whenever` with no options does not display your current crontab file, it simply shows you the output of converting your schedule.rb file. == Capistrano integration @@ -96,6 +91,12 @@ For example, if you're using bundler do this: set :whenever_command, "bundle exec whenever" require "whenever/capistrano" +== The `whenever` command + + $ cd /my/rails/app + $ whenever + +This will simply show you your schedule.rb file converted to cron syntax. It does not read or write your crontab file. Run `whenever --help` for a complete list of options. == Credit diff --git a/Rakefile b/Rakefile index 059df8d..1a1b010 100644 --- a/Rakefile +++ b/Rakefile @@ -8,8 +8,8 @@ begin Jeweler::Tasks.new do |gemspec| gemspec.name = "whenever" gemspec.version = Whenever::VERSION - gemspec.summary = "Clean ruby syntax for defining and deploying messy cron jobs." - gemspec.description = "Clean ruby syntax for defining and deploying messy cron jobs." + gemspec.summary = "Clean ruby syntax for writing and deploying cron jobs." + gemspec.description = "http://www.allyrics.net/Kid-Cudi/lyrics/Whenever/" gemspec.email = "javan@javan.us" gemspec.homepage = "http://github.com/javan/whenever" gemspec.authors = ["Javan Makhmali"] diff --git a/lib/whenever/version.rb b/lib/whenever/version.rb index d557b9d..29b41de 100644 --- a/lib/whenever/version.rb +++ b/lib/whenever/version.rb @@ -1,3 +1,3 @@ module Whenever - VERSION = '0.5.3' + VERSION = '0.6.0' end unless defined?(Whenever::VERSION) \ No newline at end of file