rake_roll 1.0.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/rake_roll/roller.rb +7 -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: 6dac52af7b024695d735ef0eb7c092eed8fdae0c
|
4
|
+
data.tar.gz: 1a3633bc707f6ded2f78e629e3b9b5985934ad55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ec7810d5bbad5f44edd109b0552a28560ee10d89413c5ecde826ef52cd1aab16b0ff7e5d990fb7adcb90a69f4f398c6811ee236d23f53470aab696533e45167
|
7
|
+
data.tar.gz: 342bfc4851c5a570d146af9cacf7f839eb17cbe528cbb090b812befd719f031159f12c6d74525bce0734d9e00c54e379ed76e387616e33e994933431787e667c
|
data/README.md
CHANGED
@@ -39,7 +39,7 @@ Or install it yourself as:
|
|
39
39
|
|
40
40
|
CHANGELOG
|
41
41
|
|
42
|
-
Only commits starting with * will be added to the changelog, example:
|
42
|
+
Only commits starting with * or match /^[0-9a-zA-Z\-_]{3,27} :: #[0-9]{4,6} :: .{5,}/ will be added to the changelog, example:
|
43
43
|
|
44
44
|
* BugFix: #1234 IE6 Positioning fix
|
45
45
|
* Feature: #1111 Adding rake_roll to the Gemfile
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2.0.0
|
data/lib/rake_roll/roller.rb
CHANGED
@@ -57,7 +57,7 @@ module RakeRoll
|
|
57
57
|
def parsed_git_log(tag=nil)
|
58
58
|
tag ||= current_branch
|
59
59
|
log_type = "#{current_version}..#{tag} --pretty=format:'%s'"
|
60
|
-
git_log(log_type).split("\n").select{|line| line
|
60
|
+
git_log(log_type).split("\n").select{|line| include_line?(line)}
|
61
61
|
end
|
62
62
|
|
63
63
|
def push
|
@@ -131,5 +131,11 @@ module RakeRoll
|
|
131
131
|
end
|
132
132
|
system("mv changelog.tmp CHANGELOG")
|
133
133
|
end
|
134
|
+
|
135
|
+
private
|
136
|
+
|
137
|
+
def include_line?(line)
|
138
|
+
line.start_with?('*') || /^[0-9a-zA-Z\-_]{3,27} :: #[0-9]{4,6} :: .{5,}/.match(line)
|
139
|
+
end
|
134
140
|
end
|
135
141
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake_roll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stuart Hanscombe
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-02-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|