Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
68 lines (59 sloc) 2.27 KB
# -*- ruby -*-
require 'rubygems'
require 'hoe'
#require_gem 'rspec'
#require 'rspec/lib/spec/rake/spectask'
require './lib/recurring'
require 'spec/rake/spectask'
require 'rake/gempackagetask'
require 'rake/rdoctask'
Spec::Rake::SpecTask.new :spec do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.spec_opts << "-f s"
end
task :default => :spec
Hoe.new('recurring', Recurring::VERSION) do |p|
p.url = 'http://jchris.mfdz.com'
p.author = "Chris Anderson"
p.email = 'jchris@mfdz.com'
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
p.summary = 'A scheduling library for recurring events'
p.description =<<-DESC
Recurring allows you to define Schedules, which can tell you whether or not a given Time falls in the Schedule, as well as being able to return a list of times which match the Schedule within a given range.
DESC
end
# specification = Gem::Specification.new do |s|
# s.name = %q{recurring}
# s.version = Recurring::VERSION
# s.platform = Gem::Platform::RUBY
# s.date = %q{2006-12-11}
# s.summary = %q{A scheduling library for recurring events}
# s.email = %q{jchris@mfdz.com}
# s.homepage = %q{http://jchris.mfdz.com}
# s.rubyforge_project = %q{recurring}
# s.autorequire = 'recurring'
# s.description = %q{Recurring allows you to define Schedules, which can tell you whether or not a given Time falls in the Schedule, as well as being able to return a list of times which match the Schedule within a given range.}
# s.authors = ["Chris Anderson"]
# s.files = ["History.txt", "Manifest.txt", "README.txt", "Rakefile", "lib/recurring.rb", "spec/recurring_spec.rb"]
# #s.add_dependency(%q<hoe>, [">= 1.1.6"])
# s.add_dependency(%q<rspec>, [">= 0.7.4"])
# s.has_rdoc = true
# end
#
# Rake::GemPackageTask.new specification do |pkg|
# pkg.need_zip = true
# pkg.need_tar = true
# end
#
# Rake::RDocTask.new(:docs) do |rd|
# rd.main = "README.txt"
# rd.options << '-d' if RUBY_PLATFORM !~ /win32/ and `which dot` =~ /\/dot/
# rd.rdoc_dir = 'doc'
# files = ["History.txt", "README.txt", "Rakefile", "lib/recurring.rb", "spec/recurring_spec.rb"]
# rd.rdoc_files.push(*files)
#
# title = "Recurring Documentation"
# #title = "#{rubyforge_name}'s " + title if rubyforge_name != title
#
# rd.options << "-t #{title}"
# end
Jump to Line
Something went wrong with that request. Please try again.