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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ab3d13fb8baa05e875b2bc7139802bff606cab488e33bc59ece66f58cdaad6f
4
- data.tar.gz: 88447dad2a38f602c07d4c0e61633669cfbffbc4fb85c14d7f2ecf5e0a5974bd
3
+ metadata.gz: b74648157657cdbd4e53997ba60c545b6a3715e998f7beb5f7d9db57182292e9
4
+ data.tar.gz: 16c0f108729f3f8a823982b0149523c48e6caef43e31513d57f60b8cdf44fc49
5
5
  SHA512:
6
- metadata.gz: 6d0eab7a6c0ae9d59c8f4618b4c855012db420561a7a21eb9b145a1b4e12e643b957bd54584f7939d755419ffc1a3caecad3e5345223e1a52ecde0499c27bc97
7
- data.tar.gz: 7f887eac42a5f845203753b9e3cd7d1990250fac70adb98c478dffa85456a1eb1ba369c1bdbc9c7055ae09ad235e141c683def563f970383445d0bd31e0a60bd
6
+ metadata.gz: bb72475d8c5274af680473f9e706e7111d03f9d72fcb8cd07cc6afdd80f24f7b72a81d731c56a207d2e43b33e6c85c201ca62e4fc1b2071cc0604da33a7fde2d
7
+ data.tar.gz: feecef38c25ce27a7c140a9a983002fdb0046490bb48193d33b7b30881e2f3738fbde6500a8cc76914e0fae2d724a8e7aa4daa877816afcb4bf856a898305776
@@ -5,7 +5,7 @@ require 'psych'
5
5
  module Git
6
6
  module Multi
7
7
  NAME = 'git-multi'
8
- VERSION = '1.0.0'
8
+ VERSION = '1.0.1'
9
9
 
10
10
  LONG_VERSION = "%s v%s (%s v%s, %s v%s, %s v%s)" % [
11
11
  NAME,
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
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-multi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Vandenberk