qa_release_tasks 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/git/wiki.rb +11 -2
  2. data/lib/qa_release_tasks.rb +1 -1
  3. metadata +3 -3
@@ -39,8 +39,17 @@ module Git
39
39
  log.each do |log_line|
40
40
  # (commit, pair, pivotal, subject) = log_line.split(/\s+/, 4)
41
41
  #[(.+?)]\s*[(\d+)](.+)
42
- (match, commit, pair, pivotal, subject) = *log_line.match(/(.+?) \[(.*)\]\s*\[\#?(\d+)\](.*)/)
43
- stories[pivotal.to_i][commit] = { :pair => pair, :message => subject.strip } if match
42
+ (match, commit, pair, pivotal, subject) = *log_line.match(/(.+?)\s*\[([a-zA-Z\/]{2,})\]\s*\[\#?([\d\/]+)\](.*)/)
43
+ if match
44
+ if commit.gsub!(/\s*Revert.*/, '')
45
+ subject = subject + ' [REVERT]'
46
+ end
47
+ pivotal.split('/').each do |p|
48
+ stories[p.to_i][commit] = { :pair => pair, :message => subject.gsub("\"", '').strip } if match
49
+ end
50
+ else
51
+ stories[0][log_line] = {:pair => '', :message => log_line}
52
+ end
44
53
  end
45
54
 
46
55
  table_start
@@ -7,7 +7,7 @@ require 'git/wiki'
7
7
  require 'tasks/qa_release'
8
8
 
9
9
  module QaReleaseTasks
10
- VERSION = '1.2.0'
10
+ VERSION = '1.2.1'
11
11
 
12
12
  def self.version
13
13
  VERSION
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 2
8
- - 0
9
- version: 1.2.0
8
+ - 1
9
+ version: 1.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jason Noble
@@ -15,7 +15,7 @@ autorequire: qa_release_tasks
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-24 00:00:00 -04:00
18
+ date: 2010-06-29 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies: []
21
21