lib/onebox.rb in onebox-1.8.6 vs lib/onebox.rb in onebox-1.8.7

- old
+ new

@@ -20,9 +20,10 @@ max_download_kb: (10 * 1024), # 10MB load_paths: [File.join(Gem::Specification.find_by_name("onebox").gem_dir, "templates")], allowed_ports: [80, 443], allowed_schemes: ["http", "https"], sanitize_config: Sanitize::Config::ONEBOX, + redirect_limit: 5 } @@options = DEFAULTS def self.preview(url, options = Onebox.options)