Sha256: f557fb11814cc6824a4b8df0cb0f9e6ff3f836f7e5021bb7fa8288e663b59ef5

Contents?: true

Size: 1.53 KB

Versions: 11

Compression:

Stored size: 1.53 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "ohm-contrib"
    gem.summary = %Q{A collection of ohm related modules}
    gem.description = %Q{Highly decoupled drop-in functionality for Ohm models}
    gem.email = "cyx.ucron@gmail.com"
    gem.homepage = "http://labs.sinefunc.com/ohm-contrib"
    gem.authors = ["Cyril David"]
    gem.add_development_dependency "contest", ">= 0"
    gem.add_development_dependency "redis", ">= 0"
    gem.add_development_dependency "ohm", ">= 0"
    gem.add_development_dependency "timecop", ">= 0"
    gem.add_development_dependency "mocha", ">= 0"
  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 = "ohm-contrib #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ohm-contrib-0.0.27 Rakefile
ohm-contrib-0.0.26 Rakefile
ohm-contrib-0.0.25 Rakefile
ohm-contrib-0.0.24 Rakefile
ohm-contrib-0.0.23 Rakefile
ohm-contrib-0.0.22 Rakefile
ohm-contrib-0.0.21 Rakefile
ohm-contrib-0.0.20 Rakefile
ohm-contrib-0.0.19 Rakefile
ohm-contrib-0.0.18 Rakefile
ohm-contrib-0.0.17 Rakefile