github_changelog_generator 1.2.3 → 1.2.4
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5baba2054c1d760b300ab11776f9d18e91500a0
|
4
|
+
data.tar.gz: 4083db4ad487e4809cc3aadc9b071daaa5aed822
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2581324624bdb0a1311ccd6f71f0580445cde465777044180f901279591c4f25031a94d982891a185b7adcf5e7a0d00b90d299476f754e3ac302475369875388
|
7
|
+
data.tar.gz: cdbad548c27826c616d8186d9c9c4aeae017d009ff504c911e0a5447917a8aa46100847843450a280342790c468088ff5b406df4a91b1f35158caa688701a4c7
|
@@ -72,7 +72,7 @@ module GitHubChangelogGenerator
|
|
72
72
|
|
73
73
|
if !options[:user] && !options[:project]
|
74
74
|
remote = `git remote -vv`.split("\n")
|
75
|
-
match = /.*(?:[:\/])((?:-|\w|\.)*)\/((?:-|\w|\.)*)(?:\.git)
|
75
|
+
match = /.*(?:[:\/])((?:-|\w|\.)*)\/((?:-|\w|\.)*)?(?:\.git).*/.match(remote[0])
|
76
76
|
|
77
77
|
if match && match[1] && match[2]
|
78
78
|
puts "Detected user:#{match[1]}, project:#{match[2]}"
|