lib/hexx-suit.rb in hexx-suit-0.2.2 vs lib/hexx-suit.rb in hexx-suit-1.0.0

- old
+ new

@@ -1,16 +1,12 @@ -# Loads the parts of the suit to be available. -%w(i18n pry rake rspec thor yaml).each { |gem| require gem } +# encoding: utf-8 -# Pippi depends on MRI ruby 2.0+ only -USE_PIPPI_METRIC = (RUBY_ENGINE == "ruby") && (RUBY_VERSION >= "2.0") +require "hexx-rspec" +require "pry" -# 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.rb", - "./lib/hexx/suit/*.rb", - "./lib/hexx/suit.rb" - ].each { |file| require file } -end +# Shared namespace for the Hexx-based gems +module Hexx + + require_relative "hexx/suit/version" + require_relative "hexx/suit" + +end # module Hexx