lib/smoke.rb in benschwarz-smoke-0.3.7 vs lib/smoke.rb in benschwarz-smoke-0.3.9

- old
+ new

@@ -3,15 +3,10 @@ require 'logger' require 'crack' require 'simple-rss' require 'json' -$:<< File.join(File.dirname(__FILE__)) - -# Core ext -require 'core_ext/hash.rb' - module Smoke class << self @@active_sources = {} @@config = { :enable_logging => true, @@ -94,11 +89,10 @@ # end def join(*names, &block); Smoke::Source::Join.new(names, &block); end end end -require 'smoke/request' -require 'smoke/origin' +%w(core_ext/hash smoke/request smoke/origin).each {|r| require File.join(File.dirname(__FILE__), r)} class Object # :nodoc: include Smoke end \ No newline at end of file