vclog 1.9.0 → 1.9.1

Sign up to get free protection for your applications and to get access to all the features.
data/.ruby CHANGED
@@ -40,7 +40,10 @@ requirements:
40
40
  development: true
41
41
  dependencies: []
42
42
  conflicts: []
43
- repositories: []
43
+ repositories:
44
+ - uri: git://github.com/rubyworks/vclog.git
45
+ scm: git
46
+ name: upstream
44
47
  resources:
45
48
  home: http://rubyworks.github.com/vclog
46
49
  code: http://github.com/rubyworks/vclog
@@ -51,8 +54,8 @@ revision: 0
51
54
  created: '2006-05-09'
52
55
  summary: Cross-VCS/SCM ChangeLog Generator
53
56
  title: VCLog
54
- version: 1.9.0
57
+ version: 1.9.1
55
58
  name: vclog
56
59
  description: VCLog is a cross-VCS/SCM ChangeLog generator.
57
60
  organization: Rubyworks
58
- date: '2011-12-12'
61
+ date: '2011-12-13'
data/HISTORY.rdoc CHANGED
@@ -1,5 +1,15 @@
1
1
  = RELEASE HISTORY
2
2
 
3
+ == 1.9.1 / 2011-12-13
4
+
5
+ Fixes a couple of issues found with the last release.
6
+
7
+ Changes:
8
+
9
+ * Fix revision id in rss and atom formats.
10
+ * Fix tag id in git tag parser.
11
+
12
+
3
13
  == 1.9.0 / 2011-12-12
4
14
 
5
15
  This is a BIG release and much has changed, so be sure to read the following
@@ -73,7 +73,7 @@ module VCLog
73
73
  tags = `git tag -l`
74
74
  tags.split(/\s+/).each do |tag|
75
75
  next unless version_tag?(tag) # only version tags
76
- who, date, rev, msg = nil, nil, nil, nil
76
+ id, who, date, rev, msg = nil, nil, nil, nil, nil
77
77
  info = `git show #{tag}`
78
78
  info, *_ = info.split(/^(commit|diff|----)/)
79
79
  if /\Atag/ =~ info
@@ -81,9 +81,11 @@ module VCLog
81
81
  info.lines.to_a[1..-1].each do |line|
82
82
  case line
83
83
  when /^Tagger:/
84
- who = $'.strip
84
+ who = $'.strip
85
85
  when /^Date:/
86
86
  date = $'.strip
87
+ when /^\s*[a-f0-9]+/
88
+ id = $0.strip
87
89
  else
88
90
  msg << line
89
91
  end
@@ -93,11 +95,11 @@ module VCLog
93
95
  #info = `git show #{tag}^ --pretty=format:"%ci|~|%H|~|"`
94
96
  #cdate, id, *_ = *info.split('|~|')
95
97
 
96
- info = git_show("#{tag}^")
98
+ info = git_show("#{tag}")
97
99
 
98
100
  change = Change.new(info)
99
101
 
100
- list << Tag.new(:name=>tag, :date=>date, :who=>who, :msg=>msg, :commit=>change)
102
+ list << Tag.new(:id=>change.id, :name=>tag, :date=>date, :who=>who, :msg=>msg, :commit=>change)
101
103
  else
102
104
  #info = `git show #{tag} --pretty=format:"%cn|~|%ce|~|%ci|~|%H|~|%s|~|"`
103
105
  info = git_show(tag)
@@ -30,7 +30,7 @@
30
30
 
31
31
  <title><%= h tag.name %></title>
32
32
 
33
- <id><%= url %>#<%= tag.revision %></id>
33
+ <id><%= url %>#<%= tag.id %></id>
34
34
 
35
35
  <author><name><%= h tag.author %><name></author>
36
36
 
@@ -36,11 +36,11 @@
36
36
 
37
37
  <author><%= tag.author %></author>
38
38
 
39
- <link><%= url %>#<%= tag.revision %></link>
39
+ <link><%= url %>#<%= tag.id %></link>
40
40
 
41
41
  <pubDate><%= tag.date.rfc822 %></pubDate>
42
42
 
43
- <guid isPermaLink="false"><%= url %>#<%= tag.revision %></guid>
43
+ <guid isPermaLink="false"><%= url %>#<%= tag.id %></guid>
44
44
 
45
45
  <description><![CDATA[
46
46
 
@@ -16,7 +16,7 @@
16
16
  <commit-group type="<%= changes[0].type %>" label="<%= changes[0].label %>">
17
17
  <% changes.sort{|a,b| b.date <=> a.date}.each do |entry| %>
18
18
  <commit>
19
- <id><%= h entry.revision %></id>
19
+ <id><%= h entry.id %></id>
20
20
  <date><%= entry.date %></date>
21
21
  <author><%= h entry.author %></author>
22
22
  <type><%= h entry.type %></type>
data/lib/vclog.yml CHANGED
@@ -40,7 +40,10 @@ requirements:
40
40
  development: true
41
41
  dependencies: []
42
42
  conflicts: []
43
- repositories: []
43
+ repositories:
44
+ - uri: git://github.com/rubyworks/vclog.git
45
+ scm: git
46
+ name: upstream
44
47
  resources:
45
48
  home: http://rubyworks.github.com/vclog
46
49
  code: http://github.com/rubyworks/vclog
@@ -51,8 +54,8 @@ revision: 0
51
54
  created: '2006-05-09'
52
55
  summary: Cross-VCS/SCM ChangeLog Generator
53
56
  title: VCLog
54
- version: 1.9.0
57
+ version: 1.9.1
55
58
  name: vclog
56
59
  description: VCLog is a cross-VCS/SCM ChangeLog generator.
57
60
  organization: Rubyworks
58
- date: '2011-12-12'
61
+ date: '2011-12-13'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vclog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-12 00:00:00.000000000 Z
12
+ date: 2011-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: facets
16
- requirement: &24378380 !ruby/object:Gem::Requirement
16
+ requirement: &32227220 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '2.4'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *24378380
24
+ version_requirements: *32227220
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: ansi
27
- requirement: &24377800 !ruby/object:Gem::Requirement
27
+ requirement: &32226640 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '1.2'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *24377800
35
+ version_requirements: *32226640
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: confection
38
- requirement: &24377340 !ruby/object:Gem::Requirement
38
+ requirement: &32226180 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *24377340
46
+ version_requirements: *32226180
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rdoc
49
- requirement: &24376800 !ruby/object:Gem::Requirement
49
+ requirement: &32225640 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *24376800
57
+ version_requirements: *32225640
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: xml-simple
60
- requirement: &24376300 !ruby/object:Gem::Requirement
60
+ requirement: &32241520 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *24376300
68
+ version_requirements: *32241520
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: detroit
71
- requirement: &24375800 !ruby/object:Gem::Requirement
71
+ requirement: &32241020 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *24375800
79
+ version_requirements: *32241020
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: citron
82
- requirement: &24375300 !ruby/object:Gem::Requirement
82
+ requirement: &32240520 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *24375300
90
+ version_requirements: *32240520
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: ae
93
- requirement: &24374800 !ruby/object:Gem::Requirement
93
+ requirement: &32240020 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *24374800
101
+ version_requirements: *32240020
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: cucumber
104
- requirement: &24374300 !ruby/object:Gem::Requirement
104
+ requirement: &32239520 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *24374300
112
+ version_requirements: *32239520
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: aruba
115
- requirement: &24373800 !ruby/object:Gem::Requirement
115
+ requirement: &32239020 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,7 +120,7 @@ dependencies:
120
120
  version: '0'
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *24373800
123
+ version_requirements: *32239020
124
124
  description: VCLog is a cross-VCS/SCM ChangeLog generator.
125
125
  email:
126
126
  - transfire@gmail.com