lib/factor.rb in factor-0.0.3 vs lib/factor.rb in factor-0.0.4

- old
+ new

@@ -1,9 +1,7 @@ -$LOAD_PATH.unshift File.dirname(__FILE__) require 'rubygems' -require 'SecureRandom' -require "amqp" -require 'json' -require 'activity.rb' -require 'worker.rb' -require 'engine.rb' -require 'message.rb' \ No newline at end of file + +# load all the libraries +lib_files = "../**/*.rb" +Dir[File.expand_path(lib_files,__FILE__)].each do |file| + require file +end