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: 561ac7c4d92ba4ccd6d3b4e111e2efb32990f784
4
- data.tar.gz: 228ce29ec844a324bf9b430dd3d35b2a23674952
3
+ metadata.gz: f5baba2054c1d760b300ab11776f9d18e91500a0
4
+ data.tar.gz: 4083db4ad487e4809cc3aadc9b071daaa5aed822
5
5
  SHA512:
6
- metadata.gz: 7d71b8cadc18bca549584c8aab88fb1c7ca34a4dd8b80b80b599d6dcf5d35ad76beaf7438ccc3113262947dcfbebb9d689a620b6b2218571857b525ae0bfe389
7
- data.tar.gz: 0fc781c6800ac6fd7d7c2791893b6ca44655aca8962a15807ef21732b8a7598a01f552f4b20dddcf7b8969a3577833e59ea51978ab2a8294214c139f870484c8
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)?.*/.match(remote[0])
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]}"
@@ -1,3 +1,3 @@
1
1
  module GitHubChangelogGenerator
2
- VERSION = '1.2.3'
2
+ VERSION = '1.2.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github_changelog_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petr Korolev