Sha256: 65bf3b09032912b164d6ed296ed5a8dccdbd3bdb18ad2350a78275ce5a181d33

Contents?: true

Size: 479 Bytes

Versions: 1

Compression:

Stored size: 479 Bytes

Contents

module MetricFu
  TEMPLATE_DIR = File.join(File.dirname(__FILE__), '..', 'templates')
  BASE_DIRECTORY = ENV['CC_BUILD_ARTIFACTS'] || 'tmp/metric_fu'
  RAILS = File.exist?("config/environment.rb")

  if RAILS
    CODE_DIRS = ['app', 'lib']
  else
    CODE_DIRS = ['lib']
  end
end

# Load metric_fu base class
require File.join(File.dirname(__FILE__), 'metric_fu', 'base')
# Load metrics tasks
require "rake"
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].each { |ext| load ext }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
indirect-metric_fu-0.9.0 lib/metric_fu.rb