Sha256: 9ff3a11d212300863ce24edc029eb19b67726eef41dc428cd77537049ec70e9f
Contents?: true
Size: 1.57 KB
Versions: 2
Compression:
Stored size: 1.57 KB
Contents
require 'rubygems' begin require 'jeweler' rescue LoadError puts "Jeweler not available. Install it with: sudo gem install jeweler" exit 1 end require 'rake/testtask' require 'rake/rdoctask' require 'rcov/rcovtask' Jeweler::Tasks.new do |s| s.name = "bc-to_xls" s.summary = "to_xls from http://github.com/arydjmal/to_xls with i18n support" s.description = s.summary s.email = "info@byclosure.com" s.homepage = "http://github.com/Byclosure/to_xls" s.authors = ["João Jesus", "Vasco Andrade e Silva"] s.add_dependency "activerecord", ['>= 1.1'] s.has_rdoc = true s.extra_rdoc_files = [ "README.rdoc"] s.rdoc_options = ["--main", "README.rdoc", "--inline-source", "--line-numbers"] s.test_files = Dir['test/**/*.{yml,rb}'] end Jeweler::GemcutterTasks.new desc 'Default: run unit tests.' task :default => :test desc 'Test the awesome_nested_set plugin.' Rake::TestTask.new(:test) do |t| t.libs += ['lib', 'test'] t.pattern = 'test/**/*_test.rb' t.verbose = true end desc 'Generate documentation for the awesome_nested_set plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'ToXls' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end namespace :test do desc "just rcov minus html output" Rcov::RcovTask.new(:coverage) do |t| t.libs << 'test' t.test_files = FileList['test/**/*_test.rb'] t.output_dir = 'coverage' t.verbose = true t.rcov_opts = %w(--exclude test,/usr/lib/ruby,/Library/Ruby --sort coverage) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bc-to_xls-0.1.0 | Rakefile |
bc-to_xls-0.0.1 | Rakefile |