diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-11-27 17:35:49 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-11-27 17:35:49 +0200 |
commit | a031813887a203b80006e7fdc3204355fd8d02b7 (patch) | |
tree | 880220df6e58e81503bd5c299164cb5b3582dd7f /lib/commit_ext.rb | |
parent | 1b2fba08fe83c7075d58cb34ba6ce79dfd527b41 (diff) | |
download | gitlab-ce-a031813887a203b80006e7fdc3204355fd8d02b7.tar.gz |
Commit, network graph refactoring
Diffstat (limited to 'lib/commit_ext.rb')
-rw-r--r-- | lib/commit_ext.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/commit_ext.rb b/lib/commit_ext.rb deleted file mode 100644 index 0e045911843..00000000000 --- a/lib/commit_ext.rb +++ /dev/null @@ -1,20 +0,0 @@ -module CommitExt - attr_accessor :head - attr_accessor :refs - - def safe_message - message.force_encoding(Encoding::UTF_8) - end - - 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 |