lib/metric_fu.rb in metric_fu-2.0.0 vs lib/metric_fu.rb in metric_fu-2.0.1
- old
+ new
@@ -1,11 +1,11 @@
require 'rake'
require 'yaml'
begin
require 'active_support/core_ext/object/to_json'
require 'active_support/core_ext/object/blank'
-rescue LoadError
+rescue LoadError
require 'activesupport'
end
# Load a few things to make our lives easier elsewhere.
module MetricFu
@@ -16,10 +16,10 @@
template_dir = File.join(MetricFu::LIB_ROOT, 'templates')
graph_dir = File.join(MetricFu::LIB_ROOT, 'graphs')
# 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, 'report')
require File.join(base_dir, 'generator')
require File.join(base_dir, 'graph')
require File.join(base_dir, 'scoring_strategies')
# prevent the task from being run multiple times.