Sha256: ba740d5206857de28e99bc28b3c357f2656f84f69603e41571a5901477baa957

Contents?: true

Size: 578 Bytes

Versions: 9

Compression:

Stored size: 578 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"

task :default => :test
Rake::TestTask.new(:test) do |t|
  # helper(simplecov) must be required before loading power_assert
  t.ruby_opts = ["-w", "-r./test/test_helper"]
  t.test_files = FileList["test/**/*_test.rb"].exclude do |i|
    begin
      return false unless defined?(RubyVM)
      RubyVM::InstructionSequence.compile(open(i).read)
      false
    rescue SyntaxError
      true
    end
  end
end

desc "Run the benchmark suite"
task('benchmark') do
  Dir.glob('benchmarks/bm_*.rb').each do |f|
    load(f)
  end
end

Version data entries

9 entries across 7 versions & 3 rubygems

Version Path
tdiary-5.0.5 vendor/bundle/gems/power_assert-1.0.2/Rakefile
tdiary-5.0.5 vendor/bundle/gems/power_assert-1.0.1/Rakefile
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/power_assert-1.0.1/Rakefile
fluent-plugin-detect-memb-exceptions-0.0.2 vendor/bundle/ruby/2.0.0/gems/power_assert-1.0.2/Rakefile
fluent-plugin-detect-memb-exceptions-0.0.1 vendor/bundle/ruby/2.0.0/gems/power_assert-1.0.2/Rakefile
power_assert-1.0.2 Rakefile
tdiary-5.0.4 vendor/bundle/gems/power_assert-1.0.1/Rakefile
power_assert-1.0.1 Rakefile
power_assert-1.0.0 Rakefile