Sha256: df67e3c79591d2a6f2bcd2244da72755aecaeef62486c95fc1e3090c19479551

Contents?: true

Size: 1.48 KB

Versions: 4

Compression:

Stored size: 1.48 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "fast_timestamp"
    gem.summary = %Q{Rapidly and arbitrarily timestamp ActiveRecord records}
    gem.description = %Q{Rapidly and arbitrarily timestamp ActiveRecord records}
    gem.email = "seamus@abshere.net"
    gem.homepage = "http://github.com/seamusabshere/fast_timestamp"
    gem.authors = ["Seamus Abshere"]
    # not important enough yet
    # gem.rubyforge_project = "fasttimestamp"
    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
  # Jeweler::RubyforgeTasks.new do |rubyforge|
  #   rubyforge.doc_task = "rdoc"
  # end
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo 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 = "fast_timestamp #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fast_timestamp-0.0.4 Rakefile
fast_timestamp-0.0.3 Rakefile
fast_timestamp-0.0.2 Rakefile
fast_timestamp-0.0.1 Rakefile