Sha256: 8089ca5ff486c90678dfcf15239a8c1acef74598a36ece3a5b76a913f9afb523

Contents?: true

Size: 1.09 KB

Versions: 17

Compression:

Stored size: 1.09 KB

Contents

# stdlib
require 'digest/md5'
require 'ostruct'

# external
require 'grit'
require 'github/markup'
require 'sanitize'

# internal
require File.expand_path('../gollum/git_access', __FILE__)
require File.expand_path('../gollum/committer', __FILE__)
require File.expand_path('../gollum/pagination', __FILE__)
require File.expand_path('../gollum/blob_entry', __FILE__)
require File.expand_path('../gollum/wiki', __FILE__)
require File.expand_path('../gollum/page', __FILE__)
require File.expand_path('../gollum/file', __FILE__)
require File.expand_path('../gollum/markup', __FILE__)
require File.expand_path('../gollum/sanitization', __FILE__)

module Gollum
  VERSION = '1.3.1'

  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

17 entries across 17 versions & 2 rubygems

Version Path
rtfmd-0.10301.20 lib/gollum.rb
rtfmd-0.10301.19 lib/gollum.rb
rtfmd-0.10301.18 lib/gollum.rb
rtfmd-0.10301.17 lib/gollum.rb
RTFMd-0.10301.17 lib/gollum.rb
RTFMd-0.10301.16 lib/gollum.rb
RTFMd-0.10301.15 lib/gollum.rb
RTFMd-0.10301.14 lib/gollum.rb
RTFMd-0.10301.13 lib/gollum.rb
RTFMd-0.10301.12 lib/gollum.rb
RTFMd-0.10301.11 lib/gollum.rb
RTFMd-0.10301.10 lib/gollum.rb
RTFMd-0.10301.9 lib/gollum.rb
RTFMd-0.10301.8 lib/gollum.rb
RTFMd-0.10301.7 lib/gollum.rb
RTFMd-0.10301.6 lib/gollum.rb
RTFMd-0.10301.5 lib/gollum.rb