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