Sha256: 72a5da5a55d467329bc0fd46017bc42b371895fb460c61d95ad57f669c64e437

Contents?: true

Size: 483 Bytes

Versions: 9

Compression:

Stored size: 483 Bytes

Contents

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

  # yardstick_measure task
  Yardstick::Rake::Measurement.new

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

Version data entries

9 entries across 9 versions & 4 rubygems

Version Path
sbf-dm-migrations-1.4.0.beta.1 tasks/yardstick.rake
sbf-dm-timestamps-1.3.0 tasks/yardstick.rake
sbf-dm-migrations-1.3.0 tasks/yardstick.rake
sbf-dm-aggregates-1.3.0 tasks/yardstick.rake
sbf-data_objects-0.11.0 tasks/yardstick.rake
sbf-dm-timestamps-1.3.0.beta tasks/yardstick.rake
sbf-dm-migrations-1.3.0.beta tasks/yardstick.rake
sbf-dm-aggregates-1.3.0.beta tasks/yardstick.rake
sbf-data_objects-0.10.17 tasks/yardstick.rake