gist 1.2.1 → 2.0.0
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.
- data/README.markdown +8 -4
- data/lib/gist.rb +49 -28
- data/lib/gist/cacert.pem +3509 -0
- data/lib/gist/manpage.rb +1 -1
- data/lib/gist/standalone.rb +2 -0
- data/lib/gist/version.rb +1 -1
- data/man/gist.1 +30 -42
- data/man/gist.1.html +63 -129
- data/man/gist.1.ron +6 -2
- metadata +13 -6
data/man/gist.1.ron
CHANGED
@@ -3,7 +3,7 @@ gist(1) -- gist on the command line
|
|
3
3
|
|
4
4
|
## SYNOPSIS
|
5
5
|
|
6
|
-
`gist` [`-p`] [`-t extension`] <FILE
|
6
|
+
`gist` [`-p`] [`-t extension`] <FILE|->
|
7
7
|
|
8
8
|
## DESCRIPTION
|
9
9
|
|
@@ -12,7 +12,8 @@ line. There are two primary methods of creating gists.
|
|
12
12
|
|
13
13
|
If standard input is supplied, it will be used as the content of the
|
14
14
|
new gist. If <FILE> is provided, the content of that file will be used
|
15
|
-
to create the gist.
|
15
|
+
to create the gist. If <FILE> is '-' then gist will wait for content
|
16
|
+
from standard input.
|
16
17
|
|
17
18
|
Once your gist is successfully created, the URL will be copied to your
|
18
19
|
clipboard. If you are on OS X, `gist` will open the gist in your
|
@@ -93,6 +94,9 @@ The following environment variables affect the execution of `gist`:
|
|
93
94
|
$ echo secret | gist --private
|
94
95
|
$ echo "puts :hi" | gist -t rb
|
95
96
|
$ gist script.py
|
97
|
+
$ gist -
|
98
|
+
the quick brown fox jumps over the lazy dog
|
99
|
+
^D
|
96
100
|
|
97
101
|
## BUGS
|
98
102
|
|
metadata
CHANGED
@@ -1,25 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 15
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
|
-
- 1
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 2.0.0
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Chris Wanstrath
|
14
|
+
- "Andr\xC3\xA9 Arko"
|
13
15
|
autorequire:
|
14
16
|
bindir: bin
|
15
17
|
cert_chain: []
|
16
18
|
|
17
|
-
date: 2010-06
|
19
|
+
date: 2010-11-06 00:00:00 -07:00
|
18
20
|
default_executable:
|
19
21
|
dependencies: []
|
20
22
|
|
21
23
|
description: " Creates Gists (pastes) on gist.github.com from standard input or\n arbitrary files. Can link to your GitHub account, create private gists,\n and enable syntax highlighting.\n"
|
22
|
-
email:
|
24
|
+
email: andre@arko.net
|
23
25
|
executables:
|
24
26
|
- gist
|
25
27
|
extensions: []
|
@@ -30,6 +32,7 @@ files:
|
|
30
32
|
- README.markdown
|
31
33
|
- Rakefile
|
32
34
|
- LICENSE
|
35
|
+
- lib/gist/cacert.pem
|
33
36
|
- lib/gist/manpage.rb
|
34
37
|
- lib/gist/standalone.rb
|
35
38
|
- lib/gist/version.rb
|
@@ -48,23 +51,27 @@ rdoc_options: []
|
|
48
51
|
require_paths:
|
49
52
|
- lib
|
50
53
|
required_ruby_version: !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
51
55
|
requirements:
|
52
56
|
- - ">="
|
53
57
|
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
54
59
|
segments:
|
55
60
|
- 0
|
56
61
|
version: "0"
|
57
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
58
64
|
requirements:
|
59
65
|
- - ">="
|
60
66
|
- !ruby/object:Gem::Version
|
67
|
+
hash: 3
|
61
68
|
segments:
|
62
69
|
- 0
|
63
70
|
version: "0"
|
64
71
|
requirements: []
|
65
72
|
|
66
73
|
rubyforge_project:
|
67
|
-
rubygems_version: 1.3.
|
74
|
+
rubygems_version: 1.3.7
|
68
75
|
signing_key:
|
69
76
|
specification_version: 3
|
70
77
|
summary: Creates Gists from STDIN or files.
|