git-multi 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/git/multi/version.rb +1 -1
- data/lib/git/multi.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b74648157657cdbd4e53997ba60c545b6a3715e998f7beb5f7d9db57182292e9
|
4
|
+
data.tar.gz: 16c0f108729f3f8a823982b0149523c48e6caef43e31513d57f60b8cdf44fc49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb72475d8c5274af680473f9e706e7111d03f9d72fcb8cd07cc6afdd80f24f7b72a81d731c56a207d2e43b33e6c85c201ca62e4fc1b2071cc0604da33a7fde2d
|
7
|
+
data.tar.gz: feecef38c25ce27a7c140a9a983002fdb0046490bb48193d33b7b30881e2f3738fbde6500a8cc76914e0fae2d724a8e7aa4daa877816afcb4bf856a898305776
|
data/lib/git/multi/version.rb
CHANGED
data/lib/git/multi.rb
CHANGED
@@ -119,6 +119,8 @@ module Git
|
|
119
119
|
project.fractional_index = "#{index + 1}/#{projects.count}"
|
120
120
|
# fix 'project' => https://github.com/octokit/octokit.rb/issues/727
|
121
121
|
project.compliant_ssh_url = 'ssh://%s/%s' % project.ssh_url.split(':', 2)
|
122
|
+
# remove optional '.git' suffix from 'git@github.com:pvdb/git-multi.git'
|
123
|
+
project.abbreviated_ssh_url = project.ssh_url.chomp('.git')
|
122
124
|
# extend 'project' with 'just do it' capabilities
|
123
125
|
project.extend Nike
|
124
126
|
end
|
@@ -169,6 +171,7 @@ module Git
|
|
169
171
|
project.clone_url,
|
170
172
|
project.ssh_url,
|
171
173
|
project.compliant_ssh_url,
|
174
|
+
project.abbreviated_ssh_url,
|
172
175
|
project.git_url,
|
173
176
|
].include? origin_url
|
174
177
|
}
|