lib/onebox.rb in onebox-1.7.5 vs lib/onebox.rb in onebox-1.7.6
- old
+ new
@@ -13,9 +13,10 @@
module Onebox
DEFAULTS = {
cache: Moneta.new(:Memory, expires: true, serializer: :json),
connect_timeout: 5,
timeout: 10,
+ max_download_kb: (10 * 1024), # 10MB
load_paths: [File.join(Gem::Specification.find_by_name("onebox").gem_dir, "templates")]
}
@@options = DEFAULTS