Release v0.5.2

This commit is contained in:
Javan Makhmali 2010-09-15 22:21:54 -04:00
parent 119f26c08e
commit a3d2da903d
5 changed files with 51 additions and 33 deletions

View File

@ -1,3 +1,14 @@
== 0.5.2 / September 15th, 2010
* Quotes automatically escaped in jobs. [Jay Adkisson]
* Added --cut option to the command line to allow pruning of the crontab. [Peer Allan]
* Switched to aaronh-chronic which is ruby 1.9.2 compatible. [Aaron Hurley, Javan Makhmali]
* Lots of internal reorganizing; tests broken into unit and functional. [Javan Makhmali]
== 0.5.0 / June 28th, 2010
* New job_type API for writing custom jobs. Internals use this to define command, runner, and rake. [Javan Makhmali - inspired by idlefingers (Damien)]

View File

@ -55,9 +55,9 @@ Would run <code>/usr/local/bin/awesome party extreme</code> every two hours. <co
The default job types that ship with Whenever are defined like so:
job_type :command, ':task'
job_type :runner, 'cd :path && script/runner -e :environment ":task"'
job_type :rake, 'cd :path && RAILS_ENV=:environment /usr/bin/env rake :task'
job_type :command, ":task"
job_type :runner, "cd :path && script/runner -e :environment ':task'"
job_type :rake, "cd :path && RAILS_ENV=:environment /usr/bin/env rake :task"
If a <code>:path</code> is not set it will default to the directory in which <code>whenever</code> was executed. <code>:environment</code> will default to 'production'.

View File

@ -1,3 +1,3 @@
job_type :command, %(:task)
job_type :runner, %(cd :path && script/runner -e :environment ':task')
job_type :rake, %(cd :path && RAILS_ENV=:environment /usr/bin/env rake :task)
job_type :command, ":task"
job_type :runner, "cd :path && script/runner -e :environment ':task'"
job_type :rake, "cd :path && RAILS_ENV=:environment /usr/bin/env rake :task"

View File

@ -1,3 +1,3 @@
module Whenever
VERSION = '0.5.0'
VERSION = '0.5.2'
end unless defined?(Whenever::VERSION)

View File

@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = %q{whenever}
s.version = "0.5.0"
s.version = "0.5.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Javan Makhmali"]
s.date = %q{2010-06-28}
s.date = %q{2010-09-15}
s.description = %q{Clean ruby syntax for defining and deploying messy cron jobs.}
s.email = %q{javan@javan.us}
s.executables = ["whenever", "wheneverize"]
@ -26,22 +26,21 @@ Gem::Specification.new do |s|
"lib/whenever.rb",
"lib/whenever/base.rb",
"lib/whenever/command_line.rb",
"lib/whenever/cron.rb",
"lib/whenever/job.rb",
"lib/whenever/job_list.rb",
"lib/whenever/job_types/default.rb",
"lib/whenever/outputs/cron.rb",
"lib/whenever/outputs/cron/output_redirection.rb",
"lib/whenever/output_redirection.rb",
"lib/whenever/version.rb",
"test/command_line_test.rb",
"test/cron_test.rb",
"test/output_at_test.rb",
"test/output_command_test.rb",
"test/output_defined_job_test.rb",
"test/output_env_test.rb",
"test/output_rake_test.rb",
"test/output_redirection_test.rb",
"test/output_runner_test.rb",
"test/functional/command_line_test.rb",
"test/functional/output_at_test.rb",
"test/functional/output_default_defined_jobs_test.rb",
"test/functional/output_defined_job_test.rb",
"test/functional/output_env_test.rb",
"test/functional/output_redirection_test.rb",
"test/test_helper.rb",
"test/unit/cron_test.rb",
"test/unit/job_test.rb",
"whenever.gemspec"
]
s.homepage = %q{http://github.com/javan/whenever}
@ -50,16 +49,15 @@ Gem::Specification.new do |s|
s.rubygems_version = %q{1.3.6}
s.summary = %q{Clean ruby syntax for defining and deploying messy cron jobs.}
s.test_files = [
"test/command_line_test.rb",
"test/cron_test.rb",
"test/output_at_test.rb",
"test/output_command_test.rb",
"test/output_defined_job_test.rb",
"test/output_env_test.rb",
"test/output_rake_test.rb",
"test/output_redirection_test.rb",
"test/output_runner_test.rb",
"test/test_helper.rb"
"test/functional/command_line_test.rb",
"test/functional/output_at_test.rb",
"test/functional/output_default_defined_jobs_test.rb",
"test/functional/output_defined_job_test.rb",
"test/functional/output_env_test.rb",
"test/functional/output_redirection_test.rb",
"test/test_helper.rb",
"test/unit/cron_test.rb",
"test/unit/job_test.rb"
]
if s.respond_to? :specification_version then
@ -67,12 +65,21 @@ Gem::Specification.new do |s|
s.specification_version = 3
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<chronic>, [">= 0.2.3"])
s.add_runtime_dependency(%q<aaronh-chronic>, [">= 0.3.9"])
s.add_runtime_dependency(%q<activesupport>, [">= 2.3.4"])
s.add_development_dependency(%q<shoulda>, [">= 2.1.1"])
s.add_development_dependency(%q<mocha>, [">= 0.9.5"])
else
s.add_dependency(%q<chronic>, [">= 0.2.3"])
s.add_dependency(%q<aaronh-chronic>, [">= 0.3.9"])
s.add_dependency(%q<activesupport>, [">= 2.3.4"])
s.add_dependency(%q<shoulda>, [">= 2.1.1"])
s.add_dependency(%q<mocha>, [">= 0.9.5"])
end
else
s.add_dependency(%q<chronic>, [">= 0.2.3"])
s.add_dependency(%q<aaronh-chronic>, [">= 0.3.9"])
s.add_dependency(%q<activesupport>, [">= 2.3.4"])
s.add_dependency(%q<shoulda>, [">= 2.1.1"])
s.add_dependency(%q<mocha>, [">= 0.9.5"])
end
end