dougsko-imagebin 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +1 -1
  2. data/VERSION.yml +1 -1
  3. data/bin/imagebin +4 -2
  4. metadata +1 -1
data/README.rdoc CHANGED
@@ -1,7 +1,7 @@
1
1
  = imagebin
2
2
 
3
3
  imagebin.rb is a CLI to http://imagebin.ca
4
- Example: ./imagebin.rb -f <pic.png>
4
+ Example: imagebin -f <pic.png>
5
5
 
6
6
  Options:
7
7
  -f, --file <file> Use a file for input
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 2
4
+ :patch: 3
data/bin/imagebin CHANGED
@@ -32,7 +32,7 @@ options = { "t" => "file",
32
32
 
33
33
  opts = OptionParser.new do |opts|
34
34
  opts.banner = "imagebin.rb is a CLI to http://imagebin.ca
35
- Example: ./imagebin.rb -f <pic.png>"
35
+ Example: imagebin -f <pic.png>"
36
36
 
37
37
  opts.separator ""
38
38
  opts.separator "Options:"
@@ -54,7 +54,9 @@ opts = OptionParser.new do |opts|
54
54
  end
55
55
 
56
56
  opts.on("-p", "--private", "Private") do |priv|
57
- options[:adult] = "priv"
57
+ if priv == true
58
+ options[:adult] = "t"
59
+ end
58
60
  end
59
61
 
60
62
  opts.on_tail("-h", "--help", "Show this message") do
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - dougsko