Sha256: 915f5e718e8c8b1f77770ce40dbd87679dc86c767907708c550038072363b8dc

Contents?: true

Size: 1.3 KB

Versions: 9

Compression:

Stored size: 1.3 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "kronos"
    gem.summary = %Q{Simple and flexible date parsing.}
    gem.description = %Q{Kronos provides flexible date parsing. Currently just a thin layer on top of ParseDate.}
    gem.email = "djames@sunlightfoundation.com"
    gem.homepage = "http://github.com/djsun/kronos"
    gem.authors = ["David James"]
    gem.add_development_dependency "rspec", ">= 1.2.9"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "kronos #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kronos-0.1.8 Rakefile
kronos-0.1.7 Rakefile
kronos-0.1.6 Rakefile
kronos-0.1.5 Rakefile
kronos-0.1.4 Rakefile
kronos-0.1.3 Rakefile
kronos-0.1.2 Rakefile
kronos-0.1.1 Rakefile
kronos-0.1.0 Rakefile