Sha256: 58c18ff42eaf46eee868bac087e74118978b77787412fdff105ff8bdaae2be3c

Contents?: true

Size: 888 Bytes

Versions: 6

Compression:

Stored size: 888 Bytes

Contents

# Load a few things to make our lives easier elsewhere.
module MetricFu
  LIB_ROOT = File.dirname(__FILE__)
end
base_dir = File.join(MetricFu::LIB_ROOT, 'base')
generator_dir = File.join(MetricFu::LIB_ROOT, 'generators')
template_dir  = File.join(MetricFu::LIB_ROOT, 'templates')

# We need to require these two things first because our other classes
# depend on them.
require File.join(base_dir, 'report') 
require File.join(base_dir, 'generator')

# Load the rakefile so users of the gem get the default metric_fu task
load File.join(MetricFu::LIB_ROOT, '..', 'tasks', 'metric_fu.rake')

# Now load everything else that's in the directory
Dir[File.join(base_dir, '*.rb')].each{|l| require l }
Dir[File.join(generator_dir, '*.rb')].each {|l| require l }
Dir[File.join(template_dir, 'standard/*.rb')].each {|l| require l}
Dir[File.join(template_dir, 'awesome/*.rb')].each {|l| require l}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
edouard-metric_fu-1.0.3.3 lib/metric_fu.rb
edouard-metric_fu-1.0.3.4 lib/metric_fu.rb
edouard-metric_fu-1.0.3.5 lib/metric_fu.rb
edouard-metric_fu-1.0.3.6 lib/metric_fu.rb
edouard-metric_fu-1.0.3.7 lib/metric_fu.rb
edouard-metric_fu-1.0.3.8 lib/metric_fu.rb