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.
Files changed (4) hide show
  1. data/VERSION.yml +1 -1
  2. data/bin/imagebin +2 -2
  3. data/imagebin.gemspec +1 -1
  4. metadata +1 -1
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 6
2
+ :patch: 7
3
3
  :major: 0
4
4
  :minor: 1
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[:f]) do |file|
70
- options[:f] = file
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{imagebin}
5
- s.version = "0.1.6"
5
+ s.version = "0.1.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["dougsko"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dougsko-imagebin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - dougsko