forked from javan/whenever
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
using jeweler, lots of cleanup, updates to readme, etc.
- Loading branch information
Showing
11 changed files
with
95 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,32 @@ | ||
require 'rubygems' | ||
require 'rake' | ||
require 'echoe' | ||
|
||
require File.expand_path(File.dirname(__FILE__) + "/lib/version") | ||
require 'lib/whenever/version.rb' | ||
|
||
Echoe.new('whenever', Whenever::VERSION::STRING) do |p| | ||
p.description = "Provides clean ruby syntax for defining messy cron jobs and running them Whenever." | ||
p.url = "http://github.com/javan/whenever" | ||
p.author = "Javan Makhmali" | ||
p.email = "[email protected]" | ||
p.dependencies = ["chronic >=0.2.3"] | ||
end | ||
begin | ||
require 'jeweler' | ||
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.email = "[email protected]" | ||
gemspec.homepage = "http://github.com/javan/whenever" | ||
gemspec.authors = ["Javan Makhmali"] | ||
gemspec.add_dependency("chronic", '>= 0.2.3') | ||
end | ||
Jeweler::GemcutterTasks.new | ||
rescue LoadError | ||
puts "Jeweler not available. Install it with: sudo gem install jeweler -s http://gemcutter.org" | ||
end | ||
|
||
require 'rake/testtask' | ||
Rake::TestTask.new(:test) do |test| | ||
test.libs << 'lib' << 'test' | ||
test.pattern = 'test/*.rb' | ||
test.verbose = true | ||
end | ||
|
||
task :test => :check_dependencies | ||
|
||
task :default => :test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,5 @@ def self.path | |
::RAILS_ROOT | ||
end | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 = "0.3.7" | ||
s.version = "0.4.0" | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version= | ||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Javan Makhmali"] | ||
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{[email protected]} | ||
s.executables = ["whenever", "wheneverize"] | ||
s.extra_rdoc_files = ["bin/whenever", "bin/wheneverize", "CHANGELOG.rdoc", "lib/base.rb", "lib/command_line.rb", "lib/job_list.rb", "lib/job_types/default.rb", "lib/job_types/rake_task.rb", "lib/job_types/runner.rb", "lib/outputs/cron.rb", "lib/version.rb", "lib/whenever.rb", "README.rdoc"] | ||
s.files = ["bin/whenever", "bin/wheneverize", "CHANGELOG.rdoc", "lib/base.rb", "lib/command_line.rb", "lib/job_list.rb", "lib/job_types/default.rb", "lib/job_types/rake_task.rb", "lib/job_types/runner.rb", "lib/outputs/cron.rb", "lib/version.rb", "lib/whenever.rb", "Manifest", "Rakefile", "README.rdoc", "test/command_line_test.rb", "test/cron_test.rb", "test/output_at_test.rb", "test/output_command_test.rb", "test/output_env_test.rb", "test/output_rake_test.rb", "test/output_runner_test.rb", "test/test_helper.rb", "whenever.gemspec"] | ||
s.extra_rdoc_files = [ | ||
"README.rdoc" | ||
] | ||
s.files = [ | ||
".gitignore", | ||
"CHANGELOG.rdoc", | ||
"README.rdoc", | ||
"Rakefile", | ||
"bin/whenever", | ||
"bin/wheneverize", | ||
"lib/whenever.rb", | ||
"lib/whenever/base.rb", | ||
"lib/whenever/command_line.rb", | ||
"lib/whenever/job_list.rb", | ||
"lib/whenever/job_types/default.rb", | ||
"lib/whenever/job_types/rake_task.rb", | ||
"lib/whenever/job_types/runner.rb", | ||
"lib/whenever/outputs/cron.rb", | ||
"lib/whenever/outputs/cron/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_env_test.rb", | ||
"test/output_rake_test.rb", | ||
"test/output_redirection_test.rb", | ||
"test/output_runner_test.rb", | ||
"test/test_helper.rb", | ||
"whenever.gemspec" | ||
] | ||
s.homepage = %q{http://github.com/javan/whenever} | ||
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Whenever", "--main", "README.rdoc"] | ||
s.rdoc_options = ["--charset=UTF-8"] | ||
s.require_paths = ["lib"] | ||
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 = ["test/command_line_test.rb", "test/cron_test.rb", "test/output_at_test.rb", "test/output_command_test.rb", "test/output_env_test.rb", "test/output_rake_test.rb", "test/output_runner_test.rb", "test/test_helper.rb"] | ||
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_env_test.rb", | ||
"test/output_rake_test.rb", | ||
"test/output_redirection_test.rb", | ||
"test/output_runner_test.rb", | ||
"test/test_helper.rb" | ||
] | ||
|
||
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<chronic>, [">= 0.2.3"]) | ||
end | ||
end | ||
|