bin/imagebin in dougsko-imagebin-0.1.6 vs bin/imagebin in dougsko-imagebin-0.1.7
- old
+ new
@@ -64,9 +64,9 @@
end
opts.parse(ARGV)
clnt = HTTPClient.new("http://imagebin.ca/upload.php")
-File.open(options[:f]) do |file|
- options[:f] = file
+File.open(options["f"]) do |file|
+ options["f"] = file
puts clnt.post('http://imagebin.ca/upload.php', options).content.match(/http.+?\.html/)
end