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