simple_changelog 0.0.13 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module SimpleChangelog
2
- Commit = Struct.new(:message, :date, :id)
2
+ Commit = Struct.new(:message, :date, :id, :author)
3
3
  end
@@ -54,7 +54,7 @@ module SimpleChangelog
54
54
  end
55
55
 
56
56
  def convert_commits(commits)
57
- commits.map { |c| Commit.new(c.short_message, c.date, c.id) }
57
+ commits.map { |c| Commit.new(c.short_message, c.date, c.id, c.author.name) }
58
58
  end
59
59
 
60
60
  def convert_tags(tags)
@@ -1,3 +1,4 @@
1
1
  <div class="commit">
2
2
  <%= highlight_commit_tags(commit.message) %>
3
+ <b>&nbsp;by&nbsp;<%= commit.author %></b>
3
4
  </div>
@@ -1,3 +1,3 @@
1
1
  module SimpleChangelog
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_changelog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-28 00:00:00.000000000 Z
12
+ date: 2013-03-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails