lib/onebox.rb in onebox-1.2.6 vs lib/onebox.rb in onebox-1.2.7
- old
+ new
@@ -10,9 +10,10 @@
require "cgi"
module Onebox
DEFAULTS = {
cache: Moneta.new(:Memory, expires: true, serializer: :json),
+ connect_timeout: 5,
timeout: 10,
load_paths: [File.join(Gem::Specification.find_by_name("onebox").gem_dir, "templates")]
}
@@options = DEFAULTS