Sha256: 66354b2b6b96365c10e25a97801fbe136a38a7298e241c61e770d5cf40a0a225
Contents?: true
Size: 813 Bytes
Versions: 3
Compression:
Stored size: 813 Bytes
Contents
require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Test the attr_encrypted gem.' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.pattern = 'test/**/*_test.rb' t.verbose = true end desc 'Generate documentation for the attr_encrypted gem.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'attr_encrypted' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end if RUBY_VERSION < '1.9.3' require 'rcov/rcovtask' task :rcov do sh "rcov -o coverage/rcov --exclude '^(?!lib)' " + FileList[ 'test/**/*_test.rb' ].join(' ') end desc 'Default: run unit tests under rcov.' task :default => :rcov else desc 'Default: run unit tests.' task :default => :test end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
attr_encrypted-1.3.3 | Rakefile |
attr_encrypted-1.3.2 | Rakefile |
attr_encrypted-1.3.1 | Rakefile |