lib/smoke.rb in benschwarz-smoke-0.4.2 vs lib/smoke.rb in benschwarz-smoke-0.5.0

- old
+ new

@@ -1,5 +1,11 @@ +begin + require "vendor/dependencies/lib/dependencies" +rescue LoadError + require "dependencies" +end + require 'restclient' require 'logger' require 'crack' require 'simple-rss' require 'json' @@ -69,11 +75,10 @@ # c[:user_agent] = "Some other site" # end # def configure(&block) yield @@config - Smoke::Cache.configure! end # Access configuration options # # Smoke.config[:option_name] @@ -94,10 +99,10 @@ # end def join(*names, &block); Smoke::Source::Join.new(names, &block); end end end -%w(core_ext/hash smoke/cache smoke/request smoke/origin).each {|r| require File.join(File.dirname(__FILE__), r)} +%w(core_ext/hash core_ext/string smoke/cache 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