Sha256: 6469dfe4f038c12471d34f340d5596f172e57ad0b000998d6c046189ad95b4e4
Contents?: true
Size: 489 Bytes
Versions: 40
Compression:
Stored size: 489 Bytes
Contents
Grit::Repo.init_bare TAWORK_CONFIG["git_repo_path"] $wiki = Gollum::Wiki.new(File.join(Rails.root, TAWORK_CONFIG["git_repo_path"])) module Gollum class Attachment < Page include Pagination def self.format_to_ext(format) format.to_s end def self.cname(name) name end end end module Gollum class Wiki def normalize(data) return data.read if data.respond_to?(:read) result = data.try(:gsub, /\r/, '') result end end end
Version data entries
40 entries across 40 versions & 1 rubygems