gist 4.2.0 → 4.2.1
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.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/build/gist +2 -2
- data/build/gist.1 +11 -3
- data/lib/gist.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d0de8d73bffeca7ab589673b0e9be457626f99ce
|
|
4
|
+
data.tar.gz: d0ddacc1956078ecde3e9f1c99d3ef438b44f32d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1bca74dbac5a4d6c20aefe8d6163bcc2d0e4990287704389f68b85d850ef92efb30bf6a522cd16ccba50e596000337a47f9195dd264df68575d7c7ff4f3dca86
|
|
7
|
+
data.tar.gz: af12d3e679224e27f74a0f76ecd9c372e15b96c71af174d5fb2ab1c7e21c2ab596500e5f9d84bdb1995a0a72b86f471e6ae6fdc68723897cfeed629402065729
|
data/README.md
CHANGED
data/build/gist
CHANGED
|
@@ -1318,7 +1318,7 @@ end
|
|
|
1318
1318
|
module Gist
|
|
1319
1319
|
extend self
|
|
1320
1320
|
|
|
1321
|
-
VERSION = '4.2.
|
|
1321
|
+
VERSION = '4.2.1'
|
|
1322
1322
|
|
|
1323
1323
|
# A list of clipboard commands with copy and paste support.
|
|
1324
1324
|
CLIPBOARD_COMMANDS = {
|
|
@@ -1488,7 +1488,7 @@ module Gist
|
|
|
1488
1488
|
request = Net::HTTP::Post.new("#{base_path}/authorizations")
|
|
1489
1489
|
request.body = JSON.dump({
|
|
1490
1490
|
:scopes => [:gist],
|
|
1491
|
-
:note => "The gist gem",
|
|
1491
|
+
:note => "The gist gem (#{Time.now})",
|
|
1492
1492
|
:note_url => "https://github.com/ConradIrwin/gist"
|
|
1493
1493
|
})
|
|
1494
1494
|
request.content_type = 'application/json'
|
data/build/gist.1
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
3
3
|
.
|
|
4
|
-
.TH "GIST" "1" "
|
|
4
|
+
.TH "GIST" "1" "February 2014" "" "Gist manual"
|
|
5
5
|
.
|
|
6
6
|
.SH "NAME"
|
|
7
7
|
\fBgist\fR \- upload code to https://gist\.github\.com
|
|
@@ -11,18 +11,26 @@ The gist gem provides a \fBgist\fR command that you can use from your terminal t
|
|
|
11
11
|
.
|
|
12
12
|
.SH "Installation"
|
|
13
13
|
.
|
|
14
|
-
.
|
|
14
|
+
.IP "\(bu" 4
|
|
15
15
|
If you have ruby installed:
|
|
16
16
|
.
|
|
17
17
|
.IP
|
|
18
18
|
gem install gist
|
|
19
19
|
.
|
|
20
|
-
.
|
|
20
|
+
.IP "\(bu" 4
|
|
21
21
|
If you\'re using Bundler:
|
|
22
22
|
.
|
|
23
23
|
.IP
|
|
24
24
|
source :rubygems gem \'gist\'
|
|
25
25
|
.
|
|
26
|
+
.IP "\(bu" 4
|
|
27
|
+
For OS X, gist lives in Homebrew
|
|
28
|
+
.
|
|
29
|
+
.IP
|
|
30
|
+
brew install gist
|
|
31
|
+
.
|
|
32
|
+
.IP "" 0
|
|
33
|
+
.
|
|
26
34
|
.SH "Command"
|
|
27
35
|
.
|
|
28
36
|
.IP "\(bu" 4
|
data/lib/gist.rb
CHANGED
|
@@ -12,7 +12,7 @@ end
|
|
|
12
12
|
module Gist
|
|
13
13
|
extend self
|
|
14
14
|
|
|
15
|
-
VERSION = '4.2.
|
|
15
|
+
VERSION = '4.2.1'
|
|
16
16
|
|
|
17
17
|
# A list of clipboard commands with copy and paste support.
|
|
18
18
|
CLIPBOARD_COMMANDS = {
|
|
@@ -182,7 +182,7 @@ module Gist
|
|
|
182
182
|
request = Net::HTTP::Post.new("#{base_path}/authorizations")
|
|
183
183
|
request.body = JSON.dump({
|
|
184
184
|
:scopes => [:gist],
|
|
185
|
-
:note => "The gist gem",
|
|
185
|
+
:note => "The gist gem (#{Time.now})",
|
|
186
186
|
:note_url => "https://github.com/ConradIrwin/gist"
|
|
187
187
|
})
|
|
188
188
|
request.content_type = 'application/json'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gist
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.2.
|
|
4
|
+
version: 4.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Conrad Irwin
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2014-02-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|