gitlabhq/config/initializers/grit_ext.rb

13 lines
186 B
Ruby
Raw Normal View History

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