rake_roll 1.0.3 → 2.0.0

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/VERSION +1 -1
  4. data/lib/rake_roll/roller.rb +7 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d3955abcd8e9257abdfacf568c3c96cd3cff736
4
- data.tar.gz: 534f230f63128f500cbb417f5c9097b192db31e4
3
+ metadata.gz: 6dac52af7b024695d735ef0eb7c092eed8fdae0c
4
+ data.tar.gz: 1a3633bc707f6ded2f78e629e3b9b5985934ad55
5
5
  SHA512:
6
- metadata.gz: f25a021543acc3fef8e7f11facff34cb91f05e60c0032187fa5cbb4f28970527331409c9827724d2c49621c97b12a7d4d61b3f76d6dcb3010533c823c165eab9
7
- data.tar.gz: 9c338738c1dc0d9459389baf31cb7ceaaad3b7b6ccbc9a1e7883b452225798031ce62ef6b98910cb07f780225740d397d10c5f9c64ad8c7326a9b9953e79f9d8
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.0.3
1
+ 2.0.0
@@ -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[0] == "*"}
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: 1.0.3
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: 2017-11-22 00:00:00.000000000 Z
12
+ date: 2018-02-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler