From e6e681b765a2333236677b0dc86354eb1ab7c2c9 Mon Sep 17 00:00:00 2001 From: Javan Makhmali Date: Thu, 30 Apr 2009 17:03:16 -0700 Subject: [PATCH] bumped to version 0.2.0 and updated changelog, readme, etc --- CHANGELOG.rdoc | 10 ++++++++++ README.rdoc | 4 ++-- lib/version.rb | 4 ++-- whenever.gemspec | 4 ++-- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index 5448192..838d5d7 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -1,7 +1,17 @@ +== 0.2.0 / April 30th, 2009 + +* Days of week jobs can now accept an :at directive (ex: every :monday, :at => '5pm'). [David Eisinger] + +* Fixed command line test so it runs without a config/schedule.rb present. [Javan Makhmali] + +* Raising an exception if someone tries to specify an :at with a cron shortcut (:day, :reboot, etc) so there are no false hopes. [Javan Makhmali] + + == 0.1.7 / March 5th, 2009 * Added ability to update the crontab file non-destuctively instead of only overwriting it. [Javan Makhmali -- Inspired by code submitted individually from: Tien Dung (tiendung), Tom Lea (cwninja), Kyle Maxwell (fizx), and Andrew Timberlake (andrewtimberlake) on github] + == 0.1.5 / February 19th, 2009 * Fixed load path so Whenever's files don't conflict with anything in Rails. Thanks Ryan Koopmans. [Javan Makhmali] diff --git a/README.rdoc b/README.rdoc index 57cd2d3..18fe78e 100644 --- a/README.rdoc +++ b/README.rdoc @@ -14,7 +14,7 @@ In a Rails (2.1 or greater) application: in your "config/environment.rb" file: Rails::Initializer.run do |config| - config.gem 'javan-whenever', :lib => false, :version => '>= 0.1.7', :source => 'http://gems.github.com' + config.gem 'javan-whenever', :lib => false, :source => 'http://gems.github.com' end To install this gem (and all other missing gem dependencies), run rake gems:install (use sudo if necessary). @@ -57,7 +57,7 @@ This will create an initial "config/schedule.rb" file you. runner "SomeModel.ladeeda" end - every :sunday do # Use any day of the week or :weekend, :weekday + every :sunday, :at => '12pm' do # Use any day of the week or :weekend, :weekday runner "Task.do_something_great" end diff --git a/lib/version.rb b/lib/version.rb index cc162f2..ee70b8e 100644 --- a/lib/version.rb +++ b/lib/version.rb @@ -1,8 +1,8 @@ module Whenever module VERSION #:nodoc: MAJOR = 0 - MINOR = 1 - TINY = 7 + MINOR = 2 + TINY = 0 STRING = [MAJOR, MINOR, TINY].join('.') end diff --git a/whenever.gemspec b/whenever.gemspec index 92ca671..cf4342a 100644 --- a/whenever.gemspec +++ b/whenever.gemspec @@ -2,11 +2,11 @@ Gem::Specification.new do |s| s.name = %q{whenever} - s.version = "0.1.7" + s.version = "0.2.0" s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version= s.authors = ["Javan Makhmali"] - s.date = %q{2009-03-05} + s.date = %q{2009-04-30} s.description = %q{Provides clean ruby syntax for defining messy cron jobs and running them Whenever.} s.email = %q{javan@javan.us} s.executables = ["whenever", "wheneverize"]