lib/visdiff/image.rb in visdiff-0.0.6 vs lib/visdiff/image.rb in visdiff-0.0.7
- old
+ new
@@ -13,10 +13,10 @@
end
def signature
@signature ||= IO.popen(["identify", "-format", "%#", '--', fullpath]) do |f|
f.read
- end
+ end.strip
end
def submit!
@client.submit_image self
end