giblish 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/giblish/core.rb +3 -1
- data/lib/giblish/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d22277529776b77fc59d2b5e2fa84a3ac2cf646d
|
4
|
+
data.tar.gz: 697749c2bd133e9e4bced6020b5e82f0831a36f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e488ad9e0695e1d5cde54b00961dd196d27f7d10ce505706e25586f13b564fcee763601a7201be5fc970debf45e520ff73bde4a06b57e49d2f7069d5467b2a96
|
7
|
+
data.tar.gz: e998f8bf04db0ca37a684a369f683ca0173f3d40faa7bab095527841ec418b3f19ee81fbf2731dcbd3ab3b3cecd56f2a26486cdd6fd875a48f75e9e157301cc5
|
data/lib/giblish/core.rb
CHANGED
@@ -312,8 +312,10 @@ class GitRepoParser
|
|
312
312
|
if options[:gitBranchRegexp]
|
313
313
|
regexp = Regexp.new options[:gitBranchRegexp]
|
314
314
|
@user_branches = @git_repo.branches.remote.select do |b|
|
315
|
-
|
315
|
+
# match branches but remove eventual HEAD -> ... entry
|
316
|
+
regexp.match b.name unless b.name =~ /^HEAD/
|
316
317
|
end
|
318
|
+
Giblog.logger.debug { "selected git branches: #{@user_branches}" }
|
317
319
|
|
318
320
|
# Render the docs from each branch and add info to the
|
319
321
|
# summary page
|
data/lib/giblish/version.rb
CHANGED