Sha256: da3f4a810c18edcd2d5ff220d70bed03b37328341625665254ecc0005de5c952
Contents?: true
Size: 1.09 KB
Versions: 2
Compression:
Stored size: 1.09 KB
Contents
require 'rubygems' require 'rake' require 'rake/testtask' require 'rake/rdoctask' begin require 'jeweler' Jeweler::Tasks.new do |g| g.name = 'nullify' g.summary = %(Nuke blank values in ActiveRecord models) g.description = %(Nuke blank values in ActiveRecord models) g.email = 'steve@laserlemon.com' g.homepage = 'http://github.com/laserlemon/nullify' g.authors = %w(laserlemon) g.rubyforge_project = 'laser-lemon' end Jeweler::RubyforgeTasks.new do |r| r.doc_task = 'rdoc' 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 = %w(test) t.pattern = 'test/**/*_test.rb' end task :default => :test Rake::RDocTask.new do |r| version = File.exist?('VERSION') ? File.read('VERSION') : nil r.rdoc_dir = 'rdoc' r.title = ['nullify', version].compact.join(' ') r.rdoc_files.include('README*') r.rdoc_files.include('lib/**/*.rb') end Dir[File.join(File.dirname(__FILE__), 'tasks', '*.rake')].sort.each{|t| load t }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nullify-0.3.0 | Rakefile |
nullify-0.2.1 | Rakefile |