Sha256: e7b3b3c596c6198ac806a39551781c10c8cb79cf3fd84584d0d73d1952cbd235

Contents?: true

Size: 1.46 KB

Versions: 4

Compression:

Stored size: 1.46 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "leap"
    gem.summary = %Q{A heuristics engine for your Ruby objects}
    gem.description = %Q{Leap to conclusions}
    gem.email = "andy@rossmeissl.net"
    gem.homepage = "http://github.com/rossmeissl/leap"
    gem.authors = ["Andy Rossmeissl", "Seamus Abshere"]
    gem.add_development_dependency "shoulda", ">= 0"
    gem.add_dependency "characterizable", ">=0.0.10"
    gem.add_dependency 'blockenspiel'
    gem.add_dependency 'activesupport', '= 3.0.0.beta4'
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/test_*.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :test => :check_dependencies

task :default => :test

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

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "decider #{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
leap-0.4.1 Rakefile
leap-0.4.0 Rakefile
leap-0.3.3 Rakefile
leap-0.3.2 Rakefile