lib/onebox/engine/vimeo_onebox.rb in onebox-1.0.1 vs lib/onebox/engine/vimeo_onebox.rb in onebox-1.1.0
- old
+ new
@@ -3,11 +3,12 @@
class VimeoOnebox
include Engine
include OpenGraph
matches do
- # /^https?\:\/\/vimeo\.com\/.*$/
- find "vimeo.com"
+ http
+ domain("vimeo")
+ tld("com")
end
private
def data