Commit 6e2a6d92 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

cleanup after prev commit

parent 80ddd2c0
require 'benchmark'
require "base64"
class CommitsController < ApplicationController
......
......@@ -40,13 +40,6 @@ Grit::GitRuby::Internal::RawObject.class_eval do
content.force_encoding("UTF-8")
end
end
def z_binary?(string)
string.each_byte do |x|
x.nonzero? or return true
end
false
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment