Sha256: 81eb02111f491bde2a89527634a908b30efdd25e437bc8565d404cc94eab03c9

Contents?: true

Size: 539 Bytes

Versions: 4

Compression:

Stored size: 539 Bytes

Contents

begin
  require 'pathname'
  require 'yardstick'
  require 'yardstick/rake/measurement'
  require 'yardstick/rake/verify'

  # yardstick_measure task
  Yardstick::Rake::Measurement.new('yardstick')

  # verify_measurements task
  Yardstick::Rake::Verify.new('yardstick:verify') do |verify|
    verify.threshold = 100
  end
rescue LoadError
  %w(yardstick yardstick:verify).each do |name|
    task name do
      abort "Yardstick is not available. In order to run #{name}, you " \
            "must: gem install yardstick"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dm-mongo-adapter-0.6.0 tasks/yardstick.rake
dm-mongo-adapter-0.2.0.pre3 tasks/yardstick.rake
dm-mongo-adapter-0.2.0.pre2 tasks/yardstick.rake
dm-mongo-adapter-0.2.0.pre1 tasks/yardstick.rake