gist 4.1.1 → 4.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -1
- data/build/gist +1 -1
- data/lib/gist.rb +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92a0831f126fc8c3f043ecf8319945bb71805a16
|
4
|
+
data.tar.gz: 40ea64c91f55cde55a7aa333db79fe5a4997774f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 340dc1bbd2368e8d5ed35a8ace4cec235d620c37c478cfaf398596437eeef61c55be3039a7f6df701da433bb7ae57f04be09bfdc8e68ffb3e558c7175568a411
|
7
|
+
data.tar.gz: 12cd261396de883da2eabdcdfd0410bc790f95cb9ea459548981e3f90030e5eb489a64c24a7776a79791a1266a10a51595602746f6548b689237ed7f3a5dbfbf
|
data/README.md
CHANGED
@@ -72,11 +72,23 @@ an OAuth2 token (with the "gist" permission).
|
|
72
72
|
Obtaining OAuth2 access_token from github.
|
73
73
|
GitHub username: ConradIrwin
|
74
74
|
GitHub password:
|
75
|
+
2-factor auth code:
|
75
76
|
Success! https://github.com/settings/applications
|
76
77
|
|
78
|
+
You can read the 2-factor auth code from an sms or the authentification app,
|
79
|
+
depending on how you [set your account up](https://github.com/settings/admin).
|
80
|
+
|
81
|
+
Note: 2-factor authentication
|
82
|
+
[just appeared recently](https://github.com/blog/1614-two-factor-authentication),
|
83
|
+
so if you run into errors, update the gist gem.
|
84
|
+
|
85
|
+
gem update gist
|
86
|
+
|
77
87
|
This token is stored in `~/.gist` and used for all future gisting. If you need to
|
78
88
|
you can revoke it from https://github.com/settings/applications, or just delete the
|
79
|
-
file.
|
89
|
+
file. If you need to store tokens for both github.com and a Github Enterprise instance
|
90
|
+
you can save your Github Enterprise token in `~/.gist.github.example.com` where
|
91
|
+
"github.example.com" is the URL for your Github Enterprise instance.
|
80
92
|
|
81
93
|
After you've done this, you can still upload gists anonymously with `-a`.
|
82
94
|
|
data/build/gist
CHANGED
@@ -1318,7 +1318,7 @@ module Gist
|
|
1318
1318
|
# A list of clipboard commands with copy and paste support.
|
1319
1319
|
CLIPBOARD_COMMANDS = {
|
1320
1320
|
'xclip' => 'xclip -o',
|
1321
|
-
'xsel' => 'xsel -o',
|
1321
|
+
'xsel -i' => 'xsel -o',
|
1322
1322
|
'pbcopy' => 'pbpaste',
|
1323
1323
|
'putclip' => 'getclip'
|
1324
1324
|
}
|
data/lib/gist.rb
CHANGED
@@ -7,12 +7,12 @@ require 'uri'
|
|
7
7
|
module Gist
|
8
8
|
extend self
|
9
9
|
|
10
|
-
VERSION = '4.1.
|
10
|
+
VERSION = '4.1.2'
|
11
11
|
|
12
12
|
# A list of clipboard commands with copy and paste support.
|
13
13
|
CLIPBOARD_COMMANDS = {
|
14
14
|
'xclip' => 'xclip -o',
|
15
|
-
'xsel' => 'xsel -o',
|
15
|
+
'xsel -i' => 'xsel -o',
|
16
16
|
'pbcopy' => 'pbpaste',
|
17
17
|
'putclip' => 'getclip'
|
18
18
|
}
|
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.1.
|
4
|
+
version: 4.1.2
|
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: 2013-
|
12
|
+
date: 2013-11-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -133,3 +133,4 @@ signing_key:
|
|
133
133
|
specification_version: 4
|
134
134
|
summary: Just allows you to upload gists
|
135
135
|
test_files: []
|
136
|
+
has_rdoc:
|