Sha256: 777c96a828ea722363ed72c32928a4edb613b3999fc7703bba168fc81e328332

Contents?: true

Size: 638 Bytes

Versions: 16

Compression:

Stored size: 638 Bytes

Contents

# Specs
require 'spec/rake/spectask'

desc 'Run specifications'
Spec::Rake::SpecTask.new(:spec => [ :clean, :compile ]) do |t|
  t.spec_opts << '--options' << ROOT + 'spec/spec.opts'
  t.spec_files = Pathname.glob(ENV['FILES'] || 'spec/**/*_spec.rb').map { |f| f.to_s }
  t.libs << 'lib'

  begin
    # RCov is run by default, except on the JRuby platform
    t.rcov = JRUBY ? false : (ENV.has_key?('NO_RCOV') ? ENV['NO_RCOV'] != 'true' : true)
    t.rcov_opts << '--exclude' << 'spec'
    t.rcov_opts << '--text-summary'
    t.rcov_opts << '--sort' << 'coverage' << '--sort-reverse'
  rescue Exception
    # rcov not installed
  end
end

Version data entries

16 entries across 16 versions & 7 rubygems

Version Path
do_sqlite3-0.10.0-x86-mswin32-60 tasks/spec.rake
do_sqlite3-0.10.0-x86-mingw32 tasks/spec.rake
do_sqlite3-0.10.0 tasks/spec.rake
do_sqlite3-0.10.0-java tasks/spec.rake
do_postgres-0.10.0-x86-mswin32-60 tasks/spec.rake
do_postgres-0.10.0-x86-mingw32 tasks/spec.rake
do_postgres-0.10.0 tasks/spec.rake
do_postgres-0.10.0-java tasks/spec.rake
do_mysql-0.10.0-x86-mswin32-60 tasks/spec.rake
do_mysql-0.10.0-x86-mingw32 tasks/spec.rake
do_mysql-0.10.0 tasks/spec.rake
do_mysql-0.10.0-java tasks/spec.rake
do_jdbc-0.10.0-java tasks/spec.rake
do_hsqldb-0.10.0-java tasks/spec.rake
do_h2-0.10.0-java tasks/spec.rake
do_derby-0.10.0-java tasks/spec.rake