Sha256: 07f709124c72ae17d81bea1d20a45c91397c3b8a6d407df29db483654c186e15

Contents?: true

Size: 1.65 KB

Versions: 2

Compression:

Stored size: 1.65 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "g_already_grid"
    gem.summary = %Q{A Guilded Rails component that generates a rich grid control from an ActiveRecord.}
    gem.description = %Q{A Guilded Rails component that generates a rich grid control from an ActiveRecord.}
    gem.email = "jason@lookforwardenterprises.com"
    gem.homepage = "http://github.com/midas/g_already_grid"
    gem.authors = ["C. Jason Harrelson (midas)"]
    gem.add_dependency "rails", ">= 2.3"
    gem.add_dependency "guilded", ">= 1.0"
    gem.add_dependency "will_paginate"
    gem.add_development_dependency "shoulda", ">= 2.10.2"
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo 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|
  if File.exist?('VERSION')
    version = File.read('VERSION')
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "test #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
g_already_grid-1.0.7 Rakefile
g_already_grid-1.0.6 Rakefile