diff options
Diffstat (limited to 'lib/commit_ext.rb')
-rw-r--r-- | lib/commit_ext.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/commit_ext.rb b/lib/commit_ext.rb index 32706acb617..db6503557ae 100644 --- a/lib/commit_ext.rb +++ b/lib/commit_ext.rb @@ -12,4 +12,12 @@ module CommitExt def created_at committed_date end + + def author_email + author.email.force_encoding(Encoding::UTF_8) + end + + def author_name + author.name.force_encoding(Encoding::UTF_8) + end end |