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

- old
+ new

@@ -3,11 +3,13 @@ class DotsubOnebox include Engine include OpenGraph matches do - # matcher /^https?:\/\/(?:www\.)?dotsub\.com\/.+$/ - find "dotsub.com" + http + maybe("www.") + domain("dotsub") + has(".com").maybe("/") end private def data