dougsko-pastebin 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/bin/pastebin +5 -1
  3. data/pastebin.gemspec +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
data/bin/pastebin CHANGED
@@ -40,6 +40,10 @@ opts = OptionParser.new do |opts|
40
40
  options["description"] = d
41
41
  end
42
42
 
43
+ opts.on("-t", "--tags", String, "Tags for your paste") do |t|
44
+ options["tags"] = t
45
+ end
46
+
43
47
  expire_array = [ "never",
44
48
  "5 minutes",
45
49
  "10 minutes",
@@ -102,7 +106,7 @@ opts = OptionParser.new do |opts|
102
106
  "mirc " => "13"
103
107
  }
104
108
  code_list = syntax_hash.keys.sort.join(", ")
105
- opts.on("-t", "--type <syntax>", syntax_hash, "Syntax types can be abbriviated, as long as they are unambigous. Defaults to 'raw'", " #{code_list}") do |encoding|
109
+ opts.on("-l", "--language <syntax>", syntax_hash, "Syntax types can be abbriviated, as long as they are unambigous. Defaults to 'raw'", " #{code_list}") do |encoding|
106
110
  options["type"] = encoding
107
111
  end
108
112
 
data/pastebin.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{pastebin}
5
- s.version = "0.0.3"
5
+ s.version = "0.0.4"
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-pastebin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - dougsko