Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Releasing v0.6.0 with better Rails 3 and RVM support.
  • Loading branch information
javan committed Oct 20, 2010
1 parent 3e7e7f1 commit 645a4af
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
9 changes: 9 additions & 0 deletions 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]
Expand Down
13 changes: 7 additions & 6 deletions README.rdoc
Expand Up @@ -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

Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion lib/whenever/version.rb
@@ -1,3 +1,3 @@
module Whenever
VERSION = '0.5.3'
VERSION = '0.6.0'
end unless defined?(Whenever::VERSION)

0 comments on commit 645a4af

Please sign in to comment.