lib/octonore.rb in octonore-1.0.0 vs lib/octonore.rb in octonore-1.0.1

- old
+ new

@@ -1,5 +1,10 @@ require 'httparty' -Dir[File.dirname(__FILE__) + '/octonore/*.rb'].each do |file| - require file +def require_all(path) + glob = File.join(File.dirname(__FILE__), path, '*.rb') + Dir[glob].each do |f| + require f + end end + +require_all 'octonore'