From 3437fbf2788b13c946ffeaf52dbafb64bc48fb76 Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Tue, 16 Dec 2014 17:41:20 +0200 Subject: [PATCH 1/2] fx --- lib/github_changelog_generator/parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/github_changelog_generator/parser.rb b/lib/github_changelog_generator/parser.rb index e66ba45..e193b9b 100644 --- a/lib/github_changelog_generator/parser.rb +++ b/lib/github_changelog_generator/parser.rb @@ -72,7 +72,7 @@ module GitHubChangelogGenerator if !options[:user] && !options[:project] remote = `git remote -vv`.split("\n") - match = /.*(?:[:\/])((?:-|\w|\.)*)\/((?:-|\w|\.)*)(?:\.git)?.*/.match(remote[0]) + match = /.*(?:[:\/])((?:-|\w|\.)*)\/((?:-|\w|\.)*)?(?:\.git).*/.match(remote[0]) if match && match[1] && match[2] puts "Detected user:#{match[1]}, project:#{match[2]}" From 5b07fc9614079df6eae17ddcd8cc5e5fc68e9f0b Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Tue, 16 Dec 2014 17:52:47 +0200 Subject: [PATCH 2/2] Update gemspec to version 1.2.4 --- lib/github_changelog_generator/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/github_changelog_generator/version.rb b/lib/github_changelog_generator/version.rb index ab7dcb4..4d93f74 100644 --- a/lib/github_changelog_generator/version.rb +++ b/lib/github_changelog_generator/version.rb @@ -1,3 +1,3 @@ module GitHubChangelogGenerator - VERSION = '1.2.3' + VERSION = '1.2.4' end