dougsko-pastebin 0.1.0 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = pastebin
2
2
 
3
- paster.rb is a CLI to http://pastebin.ca
3
+ pastebin is a CLI to http://pastebin.ca
4
4
  Usage: pastebin [options]
5
5
  Examples: pastebin -f foo.rb -t ruby -e '1 d'
6
6
  cat foo.pl | pastebin -f - -t perl
@@ -9,9 +9,12 @@ Options:
9
9
  -f, --file <file> Use a file for input, use "-" for STDIN
10
10
  -n, --name <name> Assign a name/title to your paste
11
11
  -d, --desc <description> Give your paste a description
12
- -e, --expire <time> These can be abbriviated, as long as they are unambigous. Defaults to '1 hour'
12
+ -c, --config <file> Specify a config file. Default is ~/.paster.yaml
13
+ -r, --raw <link> Return raw text from a paste link
14
+ -t, --tags <tags> Tags for your paste
15
+ -e, --expire <time> These can be abbriviated, as long as they are unambigous. Defaults to '1 month'
13
16
  never, 5 minutes, 10 minutes, 15 minutes, 30 minutes, 45 minutes, 1 hour, 2 hours, 4 hours, 8 hours, 12 hours, 1 day, 2 days, 3 days, 1 week, 2 weeks, 3 weeks, 1 month, 2 months, 3 months, 4 months, 5 months, 6 months, 1 year
14
- -t, --type <syntax> Syntax types can be abbriviated, as long as they are unambigous. Defaults to 'raw'
17
+ -l, --language <syntax> Syntax types can be abbriviated, as long as they are unambigous. Defaults to 'raw'
15
18
  action, ada, apache configuration, assembly (nasm), asterisk configuration, bash, c, c#, c++, css, delphi, html 4.0 strict, java, lisp, lua, microprocessor asm, mirc , objective c, pascal, perl, php, pl/i, python, raw, ruby, scheme, sql statement, visual basic, visual basic .net, xml document
16
19
  -h, --help Show this message
17
20
 
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ begin
11
11
  gem.authors = ["dougsko"]
12
12
  gem.description = 'Command line interface to http://pastebin.ca'
13
13
  gem.add_dependency 'httpclient'
14
- gem.require_paths = ['/bin']
14
+ gem.require_paths = ['/bin', '/lib']
15
15
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
16
  end
17
17
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.3
data/bin/pastebin CHANGED
@@ -14,7 +14,7 @@ require 'pastebin'
14
14
  # set up all the options stuff
15
15
  options = {"type" => "1"}
16
16
  opts = OptionParser.new do |opts|
17
- opts.banner = "paster.rb is a CLI to http://pastebin.ca
17
+ opts.banner = "pastebin is a CLI to http://pastebin.ca
18
18
  Usage: pastebin [options]
19
19
  Examples: pastebin -f foo.rb -t ruby -e '1 d'
20
20
  cat foo.pl | pastebin -f - -t perl"
data/pastebin.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pastebin}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["dougsko"]
@@ -33,7 +33,7 @@ Gem::Specification.new do |s|
33
33
  ]
34
34
  s.homepage = %q{http://github.com/dougsko/pastebin}
35
35
  s.rdoc_options = ["--charset=UTF-8"]
36
- s.require_paths = ["/bin"]
36
+ s.require_paths = ["/bin", "/lib"]
37
37
  s.rubygems_version = %q{1.3.5}
38
38
  s.summary = %q{Command line interface to http://pastebin.ca}
39
39
  s.test_files = [
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.1.0
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - dougsko
@@ -50,6 +50,7 @@ rdoc_options:
50
50
  - --charset=UTF-8
51
51
  require_paths:
52
52
  - /bin
53
+ - /lib
53
54
  required_ruby_version: !ruby/object:Gem::Requirement
54
55
  requirements:
55
56
  - - ">="