Sha256: 45c3964ddf979066b018d51662bdc5cd72280f0ae1723a1a11f401fab4a0046e
Contents?: true
Size: 1.21 KB
Versions: 2
Compression:
Stored size: 1.21 KB
Contents
# encoding: utf-8 require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Default: run unit tests.' task :default => :test desc 'Test the validation_reflection plugin.' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.pattern = 'test/**/*_test.rb' t.verbose = true end desc 'Generate documentation for the validation_reflection plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'ValidationReflection' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('lib/**/*.rb') end begin begin require 'jeweler' rescue LoadError gem 'technicalpickles-jeweler', '>= 1.0.0' require 'jeweler' end Jeweler::Tasks.new do |gemspec| gemspec.name = "validation_reflection" gemspec.summary = "Adds reflective access to validations" gemspec.description = "Adds reflective access to validations" gemspec.email = "redinger@gmail.com" gemspec.homepage = "http://github.com/redinger/validation_reflection" gemspec.authors = ["Christopher Redinger"] end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
validation_reflection-0.3.5 | Rakefile |
validation_reflection-0.3.4 | Rakefile |