gitlabhq/config/initializers/grit_ext.rb

13 lines
186 B
Ruby
Raw Normal View History

2011-10-20 22:00:00 +03:00
require 'grit'
2011-10-21 15:35:42 +03:00
require 'pygments'
2011-10-20 22:00:00 +03:00
require "utils"
Grit::Blob.class_eval do
include Utils::FileHelper
include Utils::Colorize
end
2011-10-24 22:38:03 +03:00
Grit::Commit.class_eval do
2011-10-24 22:38:03 +03:00
include CommitExt
end