Sha256: 7c61d6673d7f1d5d71c8b1d4500d5c4a041155160b06c710915b48f8db8479c8
Contents?: true
Size: 1.56 KB
Versions: 3
Compression:
Stored size: 1.56 KB
Contents
# require these first because others depend on them MetricFu.reporting_require { 'report' } MetricFu.metrics_require { 'generator' } MetricFu.metrics_require { 'graph' } MetricFu.reporting_require { 'graphs/grapher' } MetricFu.metrics_require { 'hotspots/analysis/scoring_strategies' } # Now load everything else that's in the directory Dir.glob(File.join(MetricFu.lib_dir, '*.rb')).each do |file| require file end # prevent the task from being run multiple times. unless Rake::Task.task_defined? "metrics:all" # Load the rakefile so users of the gem get the default metric_fu task MetricFu.tasks_load 'metric_fu.rake' end Dir.glob(File.join(MetricFu.data_structures_dir, '**/*.rb')).each do |file| require file end Dir.glob(File.join(MetricFu.logging_dir, '**/*.rb')).each do |file| require file end Dir.glob(File.join(MetricFu.errors_dir, '**/*.rb')).each do |file| require file end Dir.glob(File.join(MetricFu.metrics_dir, '**/*.rb')).each do |file| require file end Dir.glob(File.join(MetricFu.reporting_dir, '**/*.rb')).each do |file| require file end # Dir[File.expand_path File.join(base_dir, '*.rb')].each{|l| require l } # Dir[File.expand_path File.join(generator_dir, '*.rb')].each {|l| require l } # Dir[File.expand_path File.join(template_dir, 'standard/*.rb')].each {|l| require l} # Dir[File.expand_path File.join(template_dir, 'awesome/*.rb')].each {|l| require l} # require graph_dir + "/grapher" # Dir[File.expand_path File.join(graph_dir, '*.rb')].each {|l| require l} # Dir[File.expand_path File.join(graph_dir, 'engines', '*.rb')].each {|l| require l}
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
metric_fu-2.1.3.7.18.1 | lib/load_files.rb |
metric_fu-2.1.3.7.19 | lib/load_files.rb |
metric_fu-2.1.3.6 | lib/load_files.rb |