lib/onebox/engine/viddler_onebox.rb in onebox-1.0.1 vs lib/onebox/engine/viddler_onebox.rb in onebox-1.1.0

- old
+ new

@@ -1,13 +1,15 @@ -module Onebox + module Onebox module Engine class ViddlerOnebox include Engine include OpenGraph matches do - # /^https?:\/\/(?:www\.)?viddler\.com\/.+$/ - find "viddler.com" + http + maybe("www.") + domain("viddler") + tld("com") end private def data