tokuhirom/Minilla — pull request #145 by lestrrat (2014-10-18 22:50:39+00:00)
Title: Work with ssh:// scheme

For watever reason, when I clone my repositories I get a repository url
qualified with the ssh:// scheme, which Minilla doesn't seem to expect:

url = ssh://git@github.com/lestrrat/Data-Localize.git

This creats all sorts of havoc in the META.json resources section:

"resources" : {
"bugtracker" : {
"web" : "https://ssh///git@github.com/lestrrat/Data-Localize/issues"
},
"homepage" : "https://ssh///git@github.com/lestrrat/Data-Localize",
"repository" : {
"type" : "git",
"url" : "git://ssh///git@github.com/lestrrat/Data-Localize.git",
"web" : "https://ssh///git@github.com/lestrrat/Data-Localize"
}
},

This change fixes this by checking for the ssh:// scheme when stripping
git@ username from github repository URLs