thegarage-gitx 1.0.0.alpha → 1.0.0.beta
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/lib/thegarage/gitx/git.rb +2 -2
- data/lib/thegarage/gitx/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f5182d0d029d748dfcf5e1de84bc5cb76d79f3ef
|
|
4
|
+
data.tar.gz: 7284448f20abf4a611905c6ca741b2e208e74685
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e4c22afb1ae54ed93bacb11884c529e1d39c107f21b77fd7ee01276b20553f98ae37305dd0ce82295fffd0ac66cdf2a636f4288b6a952e1c05aace26711a7738
|
|
7
|
+
data.tar.gz: 2060ae54a07df835df72d41b01a8fbc3a2f3c9cc411e5f531046448a9c40ea7a8672db052d9ee6b976e5ad78e6ce44aac848ee1613e992729810f79ad156e918
|
data/lib/thegarage/gitx/git.rb
CHANGED
|
@@ -33,12 +33,12 @@ module Thegarage
|
|
|
33
33
|
|
|
34
34
|
# @returns [String] auth token stored in git (current repo, user config or installed global settings)
|
|
35
35
|
def github_auth_token
|
|
36
|
-
`git config -z --get thegarage.gitx.
|
|
36
|
+
`git config -z --get thegarage.gitx.githubauthtoken`.strip
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
# store new auth token in the local project git config
|
|
40
40
|
def github_auth_token=(new_token)
|
|
41
|
-
`git config thegarage.gitx.
|
|
41
|
+
`git config thegarage.gitx.githubauthtoken "#{new_token}"`
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
# retrieve a list of branches
|