Sha256: 30612b40398f431ef9c9076700d3a93c100f74b72e1d51a31413ac450ed9e14a
Contents?: true
Size: 908 Bytes
Versions: 1
Compression:
Stored size: 908 Bytes
Contents
# stdlib require 'digest/md5' require 'ostruct' # external require 'grit' require 'github/markup' require 'sanitize' # ruby 1.8 compatibility require 'gollum/ruby1.8' # internal require 'gollum/git_access' require 'gollum/committer' require 'gollum/pagination' require 'gollum/blob_entry' require 'gollum/wiki' require 'gollum/page' require 'gollum/file' require 'gollum/markup' require 'gollum/albino' require 'gollum/sanitization' module Gollum VERSION = '1.2.0' class Error < StandardError; end class DuplicatePageError < Error attr_accessor :dir attr_accessor :existing_path attr_accessor :attempted_path def initialize(dir, existing, attempted, message = nil) @dir = dir @existing_path = existing @attempted_path = attempted super(message || "Cannot write #{@dir}/#{@attempted_path}, found #{@dir}/#{@existing_path}.") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gollum-1.2.0 | lib/gollum.rb |