Sha256: 27c1ad243708c2e65ebb678157b2f09d2df68d75fb59d4059831c01d22da4737
Contents?: true
Size: 1.57 KB
Versions: 6
Compression:
Stored size: 1.57 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "preformatter" gem.summary = %Q{Does basic preformatting of information before creating a record} gem.description = %Q{The gem helps you by deleting spaces, special characters or replacing accents in the fields you need.} gem.email = "adrian@innku.com" gem.homepage = "http://github.com/adriancuadros/preformatter" gem.authors = ["Adrian Cuadros", "Eduardo Moreno", "Andres Paglayan"] gem.add_development_dependency "thoughtbot-shoulda", ">= 0" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: 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| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "preformatter #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
preformatter-0.7.1 | Rakefile |
preformatter-0.7.0 | Rakefile |
preformatter-0.5.1 | Rakefile |
preformatter-0.5.0 | Rakefile |
preformatter-0.3.0 | Rakefile |
preformatter-0.2.0 | Rakefile |