Sha256: 88e9f17ac18f2d1e8a70e8ebaedb48a38f0b60927538797608dc288e41a395e0
Contents?: true
Size: 578 Bytes
Versions: 9
Compression:
Stored size: 578 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) Rails.logger.info data result = data.try(:gsub, /\r/, '') Rails.logger.info "DATA" Rails.logger.info data result end end end
Version data entries
9 entries across 9 versions & 1 rubygems