lib/stove/plugins/github.rb in stove-2.0.0.beta.1 vs lib/stove/plugins/github.rb in stove-2.0.0.beta.2
- old
+ new
@@ -97,11 +97,10 @@
log.debug("Match: #{$1.inspect}")
@repo_url = $1.to_s
.strip
.gsub(/\.git$/, '')
- .gsub(':', '/')
- .gsub('@', '://')
+ .gsub(/^\S+@(\S+):/, 'https://\1/')
.gsub('git://', 'https://')
@repo_url
end
end
end