gantree 0.6.11 → 0.6.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gantree/release_notes.rb +7 -2
- data/lib/gantree/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f116287b6b0d78ea181d2dd0d5b8dde83ac1694
|
4
|
+
data.tar.gz: b8a77ab6d88277bc91f05610a759c53786e2381d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf13c9a5167c09350fce19ca3e97b87fcdf556e93d4854d67b43bdebef8d96171a60fb4e01cf2c27469bf758a46387cfedcb58f4be2aa9c7d04d24ad2f88161c
|
7
|
+
data.tar.gz: 70ffef4035acf3590e3a0466b728e2773270827bee841417216980e3e94bd40c21a3bcfea82961b18613411100d7305ea110ad8cdf8dc2f2d27d423503bf7ce8
|
@@ -31,7 +31,12 @@ module Gantree
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def previous_sha
|
34
|
-
previous_tag
|
34
|
+
if previous_tag
|
35
|
+
previous_tag.split("-")[2]
|
36
|
+
else
|
37
|
+
# for edge case where release notes have never been generated before, just use 1 commit before the current one
|
38
|
+
"#{current_sha}~1"
|
39
|
+
end
|
35
40
|
end
|
36
41
|
|
37
42
|
def app_name
|
@@ -90,4 +95,4 @@ EOL
|
|
90
95
|
Gantree::Wiki.new(notes, filename, @wiki).update
|
91
96
|
end
|
92
97
|
end
|
93
|
-
end
|
98
|
+
end
|
data/lib/gantree/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gantree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|