lib/base/configuration.rb in metric_fu-2.0.1 vs lib/base/configuration.rb in metric_fu-2.1.0
- old
+ new
@@ -6,13 +6,13 @@
# course, in order to use these metrics, their respective gems must
# be installed on the system.
AVAILABLE_METRICS = [:churn, :flog, :flay, :reek,
:roodi, :rcov,
:hotspots]
-
+
AVAILABLE_METRICS << :saikuro unless RUBY_VERSION == '1.9.2'
-
+
AVAILABLE_GRAPHS = [:flog, :flay, :reek, :roodi, :rcov, :rails_best_practices]
AVAILABLE_GRAPH_ENGINES = [:gchart, :bluff]
# The @@configuration class variable holds a global type configuration
# object for any parts of the system to use.
@@ -143,10 +143,14 @@
}
@rails_best_practices = {}
@hotspots = {}
@file_globs_to_ignore = []
+ @verbose = false
+
@graph_engine = :bluff # can be :bluff or :gchart
+
+ @darwin_txmt_protocol_no_thanks = false
end
# Perform a simple check to try and guess if we're running
# against a rails app.
#