dougsko-imagebin 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/bin/imagebin +2 -2
- data/imagebin.gemspec +1 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
data/bin/imagebin
CHANGED
@@ -66,7 +66,7 @@ end
|
|
66
66
|
opts.parse(ARGV)
|
67
67
|
|
68
68
|
clnt = HTTPClient.new("http://imagebin.ca/upload.php")
|
69
|
-
File.open(options[
|
70
|
-
options[
|
69
|
+
File.open(options["f"]) do |file|
|
70
|
+
options["f"] = file
|
71
71
|
puts clnt.post('http://imagebin.ca/upload.php', options).content.match(/http.+?\.html/)
|
72
72
|
end
|
data/imagebin.gemspec
CHANGED