Sha256: 8c15d8c4a7bbc28ddf46bb51a43d1ee94ed3588b02c6db098ad93cbcd63cf84e

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "active_document"
    s.summary = %Q{Schemaless models in Berkeley DB}
    s.email = "code@justinbalthrop.com"
    s.homepage = "http://github.com/ninjudd/active_document"
    s.description = "Schemaless models in Berkeley DB."
    s.authors = ["Justin Balthrop"]
    s.add_dependency('bdb', '= 0.1.0')
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Rake::TestTask.new do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'active_document'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |t|
    t.libs << 'test'
    t.test_files = FileList['test/**/*_test.rb']
    t.verbose = true
  end
rescue LoadError
end

task :default => :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_document-0.1.1 Rakefile