Sha256: 5febbb6158a6f32f0fc68828977b5a78c0261d863ca4b5ca48491a3e3e125b25

Contents?: true

Size: 325 Bytes

Versions: 38

Compression:

Stored size: 325 Bytes

Contents

class WikiFactory
  def self.create p
    path = testpath "examples/test.git"
    Grit::Repo.init_bare(@path)
    Gollum::Wiki.default_options = {:universal_toc => false}
    cleanup = Proc.new { FileUtils.rm_r File.join(File.dirname(__FILE__), *%w[examples test.git]) }
    Gollum::Wiki.new(@path), @path, cleanup
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
gollum-2.5.0 templates/helper_wiki.rb
gollum-2.4.15 templates/helper_wiki.rb
gollum-2.4.14 templates/helper_wiki.rb
gollum-2.4.13 templates/helper_wiki.rb
gollum-2.4.12 templates/helper_wiki.rb
gollum-2.4.11 templates/helper_wiki.rb
gollum-2.4.10 templates/helper_wiki.rb
gollum-2.4.9 templates/helper_wiki.rb
gollum-2.4.8 templates/helper_wiki.rb
gollum-2.4.7 templates/helper_wiki.rb
gollum-2.4.6 templates/helper_wiki.rb
gollum-2.4.5 templates/helper_wiki.rb
gollum-2.4.4 templates/helper_wiki.rb
gollum-2.4.3 templates/helper_wiki.rb
gollum-2.4.2 templates/helper_wiki.rb
gollum-2.4.1 templates/helper_wiki.rb
gollum-2.4.0 templates/helper_wiki.rb
gollum-2.3.12 templates/helper_wiki.rb
gollum-2.3.11 templates/helper_wiki.rb
gollum-2.3.10 templates/helper_wiki.rb