lib/hexx-suit.rb in hexx-suit-0.1.0 vs lib/hexx-suit.rb in hexx-suit-0.2.0
- old
+ new
@@ -1,16 +1,16 @@
# Loads the parts of the suit to be available.
%w(i18n pry rake rspec thor yaml).each { |gem| require gem }
+# Pippi depends on MRI ruby 2.0+ only
+USE_PIPPI_METRIC = (RUBY_ENGINE == "ruby") && (RUBY_VERSION >= "2.0")
+
# Loads the code (the order is significant)
Dir.chdir File.expand_path("../..", __FILE__) do
Dir[
"./config/initializers/*.rb",
"./lib/hexx/suit/utils/*.rb",
- "./lib/hexx/suit/metrics/base.rb",
- "./lib/hexx/suit/metrics/metric_fu/base.rb",
- "./lib/hexx/suit/metrics/metric_fu/*.rb",
- "./lib/hexx/suit/metrics/*.rb",
+ "./lib/hexx/suit/metrics.rb",
"./lib/hexx/suit/*.rb",
"./lib/hexx/suit.rb"
].each { |file| require file }
end