Sha256: 2a88cdd007a130e03ff9324b1ba70422f678a5353aa579b340d7b856c7201bfd

Contents?: true

Size: 1.24 KB

Versions: 1

Compression:

Stored size: 1.24 KB

Contents

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

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "model_set"
    s.summary = %Q{Easy manipulation of sets of ActiveRecord models}
    s.email = "code@justinbalthrop.com"
    s.homepage = "http://github.com/ninjudd/model_set"
    s.description = "Easy manipulation of sets of ActiveRecord models"
    s.authors = ["Justin Balthrop"]
    s.add_dependency('ordered_set',   '>= 1.0.1')
    s.add_dependency('deep_clonable', '>= 1.1.0')
    s.add_dependency('activerecord', '>= 2.0.0')
  end
  Jeweler::GemcutterTasks.new
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    = 'model_set'
  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
model_set-1.0.0 Rakefile