Permalink
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (39 sloc) 1.44 KB
require 'rake/testtask'
require 'rake/gempackagetask'
require 'rcov/rcovtask'
task :default => :test
Rake::TestTask.new do |t|
t.test_files = FileList['test/*_test.rb']
t.ruby_opts = ['-Itest', '-rubygems']
end
Rcov::RcovTask.new do |t|
t.ruby_opts = ['-Itest', '-rubygems']
t.test_files = FileList['test/*_test.rb']
end
begin
require 'yard'
YARD::Rake::YardocTask.new(:doc) do |t|
t.options = ['--no-private']
t.files = FileList['lib/**/*.rb']
end
rescue LoadError => e
puts "yard not available. Install it with: gem install yard"
end
spec = Gem::Specification.new do |s|
s.name = %q{attribute_mapper}
s.version = "1.3.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Marcel Molina Jr.", "Bruce Williams", "Adam Keys"]
s.date = %q{2009-03-10}
s.description = %q{Provides a transparent interface for mapping symbolic representations to a column in the database of a more primitive type.}
s.email = %q{adamkkeys@gmail.com}
s.files = ["README.md", "VERSION.yml", "lib/attribute_mapper.rb", "test/attribute_mapper_test.rb"]
s.has_rdoc = true
s.homepage = %q{http://github.com/therealadam/attribute_mapper}
s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.1}
s.summary = %q{Map symbolic types to primitive types and stash them in a column.}
end
Rake::GemPackageTask.new(spec) do |pkg|
end