Sha256: 9388e6f1968633fe6bf73ba9744c3f41ccb0dc5d17e8ead8f02cc627f74ae050

Contents?: true

Size: 1.88 KB

Versions: 7

Compression:

Stored size: 1.88 KB

Contents

require 'spec/rake/spectask'
require 'rake/rdoctask'
require 'rake/gempackagetask'

task :default => :spec

desc "Run all specs in spec directory"
Spec::Rake::SpecTask.new(:spec) do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
end

Rake::RDocTask.new do |rd|
  rd.main = "README"
  rd.rdoc_dir = 'doc'
  rd.rdoc_files.include("README", "**/*.rb")
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = %q{timetrap}
    s.version = "0.1.2"

    s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
    s.authors = ["Sam Goldstein"]
    s.date = %q{2009-04-14}
    s.description = %q{Command line time tracker}
    s.email = %q{sgrock@gmail.com}
    s.has_rdoc = true
    s.homepage = "http://github.com/samg/timetrap/tree/master"
    s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
    s.require_paths = ["lib"]
    s.bindir = "bin"
    s.executables = ['t']
    s.summary = %q{Command line time tracker}
    s.add_dependency("sequel", ">= 2.12.0")
    s.add_dependency("chronic", ">= 0.2.3")
    s.add_dependency("getopt-declare", ">= 1.28")
    s.add_dependency("icalendar", ">= 1.1.0")

    if s.respond_to? :specification_version then
      current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
      s.specification_version = 2

      if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
        s.add_runtime_dependency(%q<mime-types>, [">= 1.15"])
        s.add_runtime_dependency(%q<diff-lcs>, [">= 1.1.2"])
      else
        s.add_dependency(%q<mime-types>, [">= 1.15"])
        s.add_dependency(%q<diff-lcs>, [">= 1.1.2"])
      end
    else
      s.add_dependency(%q<mime-types>, [">= 1.15"])
      s.add_dependency(%q<diff-lcs>, [">= 1.1.2"])
    end
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
samg-timetrap-0.1.2 Rakefile
samg-timetrap-1.0.0 Rakefile
samg-timetrap-1.0.1 Rakefile
samg-timetrap-1.0.3 Rakefile
samg-timetrap-1.1.0 Rakefile
samg-timetrap-1.1.1 Rakefile
timetrap-1.1.1 Rakefile