<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,10 @@
+== 0.4.0 / October 20th, 2009
+
+* New output option replaces the old cron_log option for output redirection and is much more flexible. #31 [Peer Allan]
+
+* Reorganized the lib files (http://weblog.rubyonrails.org/2009/9/1/gem-packaging-best-practices) and switched to Jeweler from Echoe.
+
+
 == 0.3.7 / September 4th, 2009
 
 * No longer tries (and fails) to combine @shortcut jobs. #20 [Javan Makhmali]</diff>
      <filename>CHANGELOG.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -8,35 +8,17 @@ Discussion: http://groups.google.com/group/whenever-gem
 
 == Installation
 
-Regular (non-Rails) install:
+If you haven't already, get set up with http://gemcutter.org
   
-  $ gem sources -a http://gems.github.com  #you only need to run this once
-  $ sudo gem install javan-whenever
+  $ sudo gem install whenever
 
 In a Rails (2.1 or greater) application:
   
 in your &quot;config/environment.rb&quot; file:
 
   Rails::Initializer.run do |config|
-    config.gem 'javan-whenever', :lib =&gt; false, :source =&gt; 'http://gems.github.com'
+    config.gem 'whenever', :lib =&gt; false, :source =&gt; 'http://gemcutter.org/'
   end
-  
-To install this gem (and all other missing gem dependencies), run rake gems:install (use sudo if necessary).
-
-In older versions of Rails:
-
-  $ gem sources -a http://gems.github.com  #you only need to run this once
-  $ gem install javan-whenever
-
-in your &quot;config/environment.rb&quot; file:
-
-  Rails::Initializer.run do |config|
-    ...
-  end
-
-  require 'whenever'
-  
-NOTE: Requiring the whenever gem inside your Rails application is technically optional. However, if you plan to use something like Capistrano to automatically deploy and write your crontab file, you'll need to have the gem installed on your servers, and requiring it in your app is one way to ensure this.
 
 == Getting started
 
@@ -67,51 +49,12 @@ This will create an initial &quot;config/schedule.rb&quot; file you.
 
 More examples on the wiki: http://wiki.github.com/javan/whenever/instructions-and-examples
 
-== Output redirection
-
-In your schedule.rb file you can specify the redirection options for your commands at a global or command level by setting the 'output' variable.
-
-  # adds &quot;&gt;&gt; /path/to/file.log 2&gt;&amp;1&quot; to all commands
-  set :output =&gt; '/path/to/file.log'
-
-Or you can STDOUT and STDERR separately,
-
-  # adds &quot;&gt;&gt; cron.log 2&gt; error.log&quot; to all commands
-  set :output =&gt; {:error =&gt; 'error.log', :standard =&gt; 'cron.log'}
-  
-  # adds &quot;&gt;&gt; cron.log&quot; to all commands
-  set :output =&gt; {:standard =&gt; 'cron.log'}
-  
-  # adds &quot;2&gt; error.log&quot; to all commands
-  set :output =&gt; {:error =&gt; 'error.log'}
-
-Additionally you can set these values at the command level,
-
-  every 3.hours do
-    runner &quot;MyModel.some_process&quot;, :output =&gt; 'cron.log'     
-    rake &quot;my:rake:task&quot;, :output =&gt; {:error =&gt; 'error.log', :standard =&gt; 'cron.log'}
-    command &quot;/usr/bin/cmd&quot;
-  end  
-
-In all cases you can if you explicitly set the value of any output to 'nil' it will add a redirect to /dev/null
-
-  # adds &quot;&gt;&gt; /dev/null 2&gt;&amp;1&quot; to all commands
-  set :output =&gt; nil
-  set :output =&gt; {:error =&gt; nil, :standard =&gt; nil}
-
-  # adds &quot;&gt;&gt; /dev/null&quot; to all commands
-  set :output =&gt; {:standard =&gt; nil}
-
-  # adds &quot;2&gt; /dev/null&quot; to all commands
-  set :output =&gt; {:error =&gt; nil}
-
-
 == Cron output
 
   $ cd /my/rails/app
   $ whenever
 
-And you'll see your schedule.rb converted to cron sytax
+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
 </diff>
      <filename>README.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -1,13 +1,32 @@
 require 'rubygems'
 require 'rake'
-require 'echoe'
 
-require File.expand_path(File.dirname(__FILE__) + &quot;/lib/version&quot;)
+require 'lib/whenever/version.rb'
 
-Echoe.new('whenever', Whenever::VERSION::STRING) do |p|
-  p.description    = &quot;Provides clean ruby syntax for defining messy cron jobs and running them Whenever.&quot;
-  p.url            = &quot;http://github.com/javan/whenever&quot;
-  p.author         = &quot;Javan Makhmali&quot;
-  p.email          = &quot;javan@javan.us&quot;
-  p.dependencies   = [&quot;chronic &gt;=0.2.3&quot;]
-end
\ No newline at end of file
+begin
+  require 'jeweler'
+  Jeweler::Tasks.new do |gemspec|
+    gemspec.name        = &quot;whenever&quot;
+    gemspec.version     = Whenever::VERSION
+    gemspec.summary     = &quot;Clean ruby syntax for defining and deploying messy cron jobs.&quot;
+    gemspec.description = &quot;Clean ruby syntax for defining and deploying messy cron jobs.&quot;
+    gemspec.email       = &quot;javan@javan.us&quot;
+    gemspec.homepage    = &quot;http://github.com/javan/whenever&quot;
+    gemspec.authors     = [&quot;Javan Makhmali&quot;]
+    gemspec.add_dependency(&quot;chronic&quot;, '&gt;= 0.2.3')
+  end
+  Jeweler::GemcutterTasks.new
+rescue LoadError
+  puts &quot;Jeweler not available. Install it with: sudo gem install jeweler -s http://gemcutter.org&quot;
+end
+
+require 'rake/testtask'
+Rake::TestTask.new(:test) do |test|
+  test.libs &lt;&lt; 'lib' &lt;&lt; 'test'
+  test.pattern = 'test/*.rb'
+  test.verbose = true
+end
+
+task :test =&gt; :check_dependencies
+
+task :default =&gt; :test
\ No newline at end of file</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -6,13 +6,11 @@ require 'fileutils'
 require 'tempfile'
 require 'whenever'
 
-require File.expand_path(File.dirname(__FILE__) + &quot;/../lib/version&quot;)
-
 options = Hash.new
 
 OptionParser.new do |opts|
   opts.banner = &quot;Usage: whenever [options]&quot;
-  opts.on('-v', '--version') { puts &quot;Whenever v#{Whenever::VERSION::STRING}&quot;; exit }
+  opts.on('-v', '--version') { puts &quot;Whenever v#{Whenever::VERSION}&quot;; exit }
   opts.on('-w', '--write-crontab') { options[:write] = true }
   opts.on('-i', '--update-crontab [identifier]', 'Default: full path to schedule.rb file') do |identifier|
     options[:update] = true</diff>
      <filename>bin/whenever</filename>
    </modified>
    <modified>
      <diff>@@ -37,8 +37,6 @@ content = &lt;&lt;-FILE
 # Example:
 #
 # set :output, &quot;/path/to/my/cron_log.log&quot;
-# set :output, {:error =&gt; '/path/to/error.log', :standard =&gt; '/path/to/cron.log'}
-# set :output, {:error =&gt; '/path/to/error.log', :standard =&gt; nil}
 #
 # every 2.hours do
 #   command &quot;/usr/bin/some_great_command&quot;</diff>
      <filename>bin/wheneverize</filename>
    </modified>
    <modified>
      <diff>@@ -21,7 +21,6 @@ end
 
 # Whenever files
 require 'whenever/base'
-require 'whenever/version'
 require 'whenever/job_list'
 require 'whenever/job_types/default'
 require 'whenever/job_types/rake_task'
@@ -29,3 +28,4 @@ require 'whenever/job_types/runner'
 require 'whenever/outputs/cron'
 require 'whenever/outputs/cron/output_redirection'
 require 'whenever/command_line'
+require 'whenever/version'
\ No newline at end of file</diff>
      <filename>lib/whenever.rb</filename>
    </modified>
    <modified>
      <diff>@@ -11,5 +11,5 @@ module Whenever
       ::RAILS_ROOT
     end
   end
-  
+
 end
\ No newline at end of file</diff>
      <filename>lib/whenever/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,3 @@
 module Whenever
-  module VERSION #:nodoc:
-    MAJOR = 0
-    MINOR = 3
-    TINY  = 7
-
-    STRING = [MAJOR, MINOR, TINY].join('.')
-  end
+  VERSION = '0.4.0' 
 end unless defined?(Whenever::VERSION)
\ No newline at end of file</diff>
      <filename>lib/whenever/version.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,24 +1,65 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
 # -*- encoding: utf-8 -*-
 
 Gem::Specification.new do |s|
   s.name = %q{whenever}
-  s.version = &quot;0.3.7&quot;
+  s.version = &quot;0.4.0&quot;
 
-  s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 1.2&quot;) if s.respond_to? :required_rubygems_version=
+  s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 0&quot;) if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;Javan Makhmali&quot;]
-  s.date = %q{2009-09-04}
-  s.description = %q{Provides clean ruby syntax for defining messy cron jobs and running them Whenever.}
+  s.date = %q{2009-10-20}
+  s.description = %q{Clean ruby syntax for defining and deploying messy cron jobs.}
   s.email = %q{javan@javan.us}
   s.executables = [&quot;whenever&quot;, &quot;wheneverize&quot;]
-  s.extra_rdoc_files = [&quot;bin/whenever&quot;, &quot;bin/wheneverize&quot;, &quot;CHANGELOG.rdoc&quot;, &quot;lib/base.rb&quot;, &quot;lib/command_line.rb&quot;, &quot;lib/job_list.rb&quot;, &quot;lib/job_types/default.rb&quot;, &quot;lib/job_types/rake_task.rb&quot;, &quot;lib/job_types/runner.rb&quot;, &quot;lib/outputs/cron.rb&quot;, &quot;lib/version.rb&quot;, &quot;lib/whenever.rb&quot;, &quot;README.rdoc&quot;]
-  s.files = [&quot;bin/whenever&quot;, &quot;bin/wheneverize&quot;, &quot;CHANGELOG.rdoc&quot;, &quot;lib/base.rb&quot;, &quot;lib/command_line.rb&quot;, &quot;lib/job_list.rb&quot;, &quot;lib/job_types/default.rb&quot;, &quot;lib/job_types/rake_task.rb&quot;, &quot;lib/job_types/runner.rb&quot;, &quot;lib/outputs/cron.rb&quot;, &quot;lib/version.rb&quot;, &quot;lib/whenever.rb&quot;, &quot;Manifest&quot;, &quot;Rakefile&quot;, &quot;README.rdoc&quot;, &quot;test/command_line_test.rb&quot;, &quot;test/cron_test.rb&quot;, &quot;test/output_at_test.rb&quot;, &quot;test/output_command_test.rb&quot;, &quot;test/output_env_test.rb&quot;, &quot;test/output_rake_test.rb&quot;, &quot;test/output_runner_test.rb&quot;, &quot;test/test_helper.rb&quot;, &quot;whenever.gemspec&quot;]
+  s.extra_rdoc_files = [
+    &quot;README.rdoc&quot;
+  ]
+  s.files = [
+    &quot;.gitignore&quot;,
+     &quot;CHANGELOG.rdoc&quot;,
+     &quot;README.rdoc&quot;,
+     &quot;Rakefile&quot;,
+     &quot;bin/whenever&quot;,
+     &quot;bin/wheneverize&quot;,
+     &quot;lib/whenever.rb&quot;,
+     &quot;lib/whenever/base.rb&quot;,
+     &quot;lib/whenever/command_line.rb&quot;,
+     &quot;lib/whenever/job_list.rb&quot;,
+     &quot;lib/whenever/job_types/default.rb&quot;,
+     &quot;lib/whenever/job_types/rake_task.rb&quot;,
+     &quot;lib/whenever/job_types/runner.rb&quot;,
+     &quot;lib/whenever/outputs/cron.rb&quot;,
+     &quot;lib/whenever/outputs/cron/output_redirection.rb&quot;,
+     &quot;lib/whenever/version.rb&quot;,
+     &quot;test/command_line_test.rb&quot;,
+     &quot;test/cron_test.rb&quot;,
+     &quot;test/output_at_test.rb&quot;,
+     &quot;test/output_command_test.rb&quot;,
+     &quot;test/output_env_test.rb&quot;,
+     &quot;test/output_rake_test.rb&quot;,
+     &quot;test/output_redirection_test.rb&quot;,
+     &quot;test/output_runner_test.rb&quot;,
+     &quot;test/test_helper.rb&quot;,
+     &quot;whenever.gemspec&quot;
+  ]
   s.homepage = %q{http://github.com/javan/whenever}
-  s.rdoc_options = [&quot;--line-numbers&quot;, &quot;--inline-source&quot;, &quot;--title&quot;, &quot;Whenever&quot;, &quot;--main&quot;, &quot;README.rdoc&quot;]
+  s.rdoc_options = [&quot;--charset=UTF-8&quot;]
   s.require_paths = [&quot;lib&quot;]
-  s.rubyforge_project = %q{whenever}
   s.rubygems_version = %q{1.3.5}
-  s.summary = %q{Provides clean ruby syntax for defining messy cron jobs and running them Whenever.}
-  s.test_files = [&quot;test/command_line_test.rb&quot;, &quot;test/cron_test.rb&quot;, &quot;test/output_at_test.rb&quot;, &quot;test/output_command_test.rb&quot;, &quot;test/output_env_test.rb&quot;, &quot;test/output_rake_test.rb&quot;, &quot;test/output_runner_test.rb&quot;, &quot;test/test_helper.rb&quot;]
+  s.summary = %q{Clean ruby syntax for defining and deploying messy cron jobs.}
+  s.test_files = [
+    &quot;test/command_line_test.rb&quot;,
+     &quot;test/cron_test.rb&quot;,
+     &quot;test/output_at_test.rb&quot;,
+     &quot;test/output_command_test.rb&quot;,
+     &quot;test/output_env_test.rb&quot;,
+     &quot;test/output_rake_test.rb&quot;,
+     &quot;test/output_redirection_test.rb&quot;,
+     &quot;test/output_runner_test.rb&quot;,
+     &quot;test/test_helper.rb&quot;
+  ]
 
   if s.respond_to? :specification_version then
     current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
@@ -33,3 +74,4 @@ Gem::Specification.new do |s|
     s.add_dependency(%q&lt;chronic&gt;, [&quot;&gt;= 0.2.3&quot;])
   end
 end
+</diff>
      <filename>whenever.gemspec</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>Manifest</filename>
    </removed>
    <removed>
      <filename>VERSION</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>8386e6a4170aed6e88aea2eab85af9cc44c8d46f</id>
    </parent>
  </parents>
  <author>
    <name>Javan Makhmali</name>
    <email>javan@javan.us</email>
  </author>
  <url>http://github.com/javan/whenever/commit/9968a75e51239a8cd015206c11e301e87d4c81ca</url>
  <id>9968a75e51239a8cd015206c11e301e87d4c81ca</id>
  <committed-date>2009-10-20T12:54:09-07:00</committed-date>
  <authored-date>2009-10-20T12:54:09-07:00</authored-date>
  <message>using jeweler, lots of cleanup, updates to readme, etc.</message>
  <tree>4747990a66ecfe24c54e4984610a6c382c28a073</tree>
  <committer>
    <name>Javan Makhmali</name>
    <email>javan@javan.us</email>
  </committer>
</commit>
