gollum-lib 4.1.0-java → 4.2.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/HISTORY.md +9 -0
- data/gemspec.rb +5 -3
- data/gollum-lib_java.gemspec +1 -1
- data/lib/gollum-lib/committer.rb +1 -1
- data/lib/gollum-lib/filter/code.rb +22 -24
- data/lib/gollum-lib/filter/tags.rb +1 -1
- data/lib/gollum-lib/filter/toc.rb +48 -23
- data/lib/gollum-lib/macro/global_toc.rb +1 -1
- data/lib/gollum-lib/macro/navigation.rb +20 -0
- data/lib/gollum-lib/page.rb +8 -0
- data/lib/gollum-lib/version.rb +1 -1
- data/lib/gollum-lib/wiki.rb +2 -1
- metadata +116 -103
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
YjY4ZTA4ZmI3YTQxYTBkNDk3Mzg2OGRjYTI2ODU1OTZhNmRlNjgzMQ==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ba4f85ee983f86c785ae1cc45000e7f1371788fb
|
4
|
+
data.tar.gz: cca82fcd5d80ada67af74521851cb2b9b7a8c6de
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
OGNhNjI0M2RjYmQwMjhmNWRiZTRkM2M5MTE2YTI4ZDJmNzE1NDcxZDc4OGU2
|
11
|
-
YjYyYTRhYjhjZmE2MTg4NWYzMzZhN2FiYmNjZWEwZDdkOTQzNGY=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NTU0MDMzMjEzYWJiMzA3ZmExZTgzYmUxY2E5M2M5ZmFlYzdjZDhlNTJmNDQ1
|
14
|
-
ODM4YjY5Mzk5NzVmM2IzMDE5ZmEwYTdmMGFjZDc3OTYyZTVmMmI3ODEzZTcx
|
15
|
-
ZGRiNDYzMDMwOGM3Y2U3OTEwOThhZDIwNWI1MmE0MGM5NWZjYjQ=
|
6
|
+
metadata.gz: ffccdf6ba923e06a43d9d5287c7495cd6c3fefd57aa3751798c03bf6c047ca29aabb73f2c286b33bcf96b229f292f01d397ee7ca739f23e5d02d8e25736f0838
|
7
|
+
data.tar.gz: 6e3f127736115eefffbb1228a2a177741de303dc0060abb79ba2584a086cf3994537629c701507d4c933ad4c126a51ea8c4df32d550c22f55b1892f32cf1da69
|
data/HISTORY.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# v4.2.0
|
2
|
+
|
3
|
+
* Changes since v4.1.0:
|
4
|
+
** Various performance improvements
|
5
|
+
** Dependency updates
|
6
|
+
** Bugfixes
|
7
|
+
** New Macro for listing contents of (sub)directories: `Navigation()`
|
8
|
+
** Table of Contents now supports setting max heading level
|
9
|
+
|
1
10
|
# v4.0.2 /2015-0119
|
2
11
|
|
3
12
|
* Bugfixes
|
data/gemspec.rb
CHANGED
@@ -8,7 +8,7 @@ def specification(version, default_adapter, platform = nil)
|
|
8
8
|
s.name = 'gollum-lib'
|
9
9
|
s.version = version
|
10
10
|
s.platform = platform if platform
|
11
|
-
s.date = '
|
11
|
+
s.date = '2016-02-21'
|
12
12
|
s.rubyforge_project = 'gollum-lib'
|
13
13
|
s.license = 'MIT'
|
14
14
|
|
@@ -25,11 +25,11 @@ def specification(version, default_adapter, platform = nil)
|
|
25
25
|
s.extra_rdoc_files = %w(README.md LICENSE)
|
26
26
|
|
27
27
|
s.add_dependency *default_adapter
|
28
|
-
s.add_dependency 'rouge', '~> 1.
|
28
|
+
s.add_dependency 'rouge', '~> 1.10'
|
29
29
|
s.add_dependency 'nokogiri', '~> 1.6.4'
|
30
30
|
s.add_dependency 'stringex', '~> 2.5.1'
|
31
31
|
s.add_dependency 'sanitize', '~> 2.1.0'
|
32
|
-
s.add_dependency 'github-markup', '~> 1.
|
32
|
+
s.add_dependency 'github-markup', '~> 1.4.0'
|
33
33
|
|
34
34
|
s.add_development_dependency 'org-ruby', '~> 0.9.9'
|
35
35
|
s.add_development_dependency 'kramdown', '~> 1.6.0'
|
@@ -42,6 +42,7 @@ def specification(version, default_adapter, platform = nil)
|
|
42
42
|
# required by pry
|
43
43
|
s.add_development_dependency 'rb-readline', '~> 0.5.1'
|
44
44
|
# updating minitest-reporters requires a new minitest which fails with gollum's tests.
|
45
|
+
s.add_development_dependency 'test-unit', '~> 3.1.5'
|
45
46
|
s.add_development_dependency 'minitest-reporters', '~> 0.14.16'
|
46
47
|
s.add_development_dependency 'nokogiri-diff', '~> 0.2.0'
|
47
48
|
# required by guard
|
@@ -86,6 +87,7 @@ def specification(version, default_adapter, platform = nil)
|
|
86
87
|
lib/gollum-lib/macro.rb
|
87
88
|
lib/gollum-lib/macro/all_pages.rb
|
88
89
|
lib/gollum-lib/macro/global_toc.rb
|
90
|
+
lib/gollum-lib/macro/navigation.rb
|
89
91
|
lib/gollum-lib/macro/series.rb
|
90
92
|
lib/gollum-lib/markup.rb
|
91
93
|
lib/gollum-lib/markups.rb
|
data/gollum-lib_java.gemspec
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
require File.join(File.dirname(__FILE__), 'gemspec.rb')
|
2
2
|
require File.join(File.dirname(__FILE__), 'lib', 'gollum-lib', 'version.rb')
|
3
|
-
default_adapter = ['gollum-rjgit_adapter', '~> 0.
|
3
|
+
default_adapter = ['gollum-rjgit_adapter', '~> 0.3']
|
4
4
|
Gem::Specification.new &specification(Gollum::Lib::VERSION, default_adapter, "java")
|
data/lib/gollum-lib/committer.rb
CHANGED
@@ -94,7 +94,7 @@ module Gollum
|
|
94
94
|
|
95
95
|
dir = '/' if dir.strip.empty?
|
96
96
|
|
97
|
-
fullpath = ::File.join(*[
|
97
|
+
fullpath = ::File.join(*[dir, path])
|
98
98
|
fullpath = fullpath[1..-1] if fullpath =~ /^\//
|
99
99
|
|
100
100
|
if index.current_tree && (tree = index.current_tree / (@wiki.page_file_dir || '/'))
|
@@ -21,22 +21,24 @@ class Gollum::Filter::Code < Gollum::Filter
|
|
21
21
|
data.gsub!(/^#{org_headers}#{org_name}#{org_begin}(.+?)#{org_end}$/mi) do
|
22
22
|
cache_codeblock(Regexp.last_match[3], Regexp.last_match[4])
|
23
23
|
end
|
24
|
+
when :markdown
|
25
|
+
data.gsub!(/^([ \t]*)(~~~+) ?([^\r\n]+)?\r?\n(.+?)\r?\n\1(~~~+)[ \t\r]*$/m) do
|
26
|
+
m_indent = Regexp.last_match[1]
|
27
|
+
m_start = Regexp.last_match[2] # ~~~
|
28
|
+
m_lang = Regexp.last_match[3]
|
29
|
+
m_code = Regexp.last_match[4]
|
30
|
+
m_end = Regexp.last_match[5] # ~~~
|
31
|
+
# start and finish tilde fence must be the same length
|
32
|
+
next '' if m_start.length != m_end.length
|
33
|
+
lang = m_lang ? m_lang.strip : nil
|
34
|
+
if lang
|
35
|
+
lang = lang.match(/\.([^}\s]+)/)
|
36
|
+
lang = lang[1] unless lang.nil?
|
37
|
+
end
|
38
|
+
"#{m_indent}#{cache_codeblock(lang, m_code, m_indent)}"
|
39
|
+
end
|
24
40
|
end
|
25
|
-
|
26
|
-
m_indent = Regexp.last_match[1]
|
27
|
-
m_start = Regexp.last_match[2] # ~~~
|
28
|
-
m_lang = Regexp.last_match[3]
|
29
|
-
m_code = Regexp.last_match[4]
|
30
|
-
m_end = Regexp.last_match[5] # ~~~
|
31
|
-
# start and finish tilde fence must be the same length
|
32
|
-
next '' if m_start.length != m_end.length
|
33
|
-
lang = m_lang ? m_lang.strip : nil
|
34
|
-
if lang
|
35
|
-
lang = lang.match(/\.([^}\s]+)/)
|
36
|
-
lang = lang[1] unless lang.nil?
|
37
|
-
end
|
38
|
-
"#{m_indent}#{cache_codeblock(lang, m_code, m_indent)}"
|
39
|
-
end
|
41
|
+
|
40
42
|
|
41
43
|
data.gsub!(/^([ \t]*)``` ?([^\r\n]+)?\r?\n(.+?)\r?\n\1```[ \t]*\r?$/m) do
|
42
44
|
"#{Regexp.last_match[1]}#{cache_codeblock(Regexp.last_match[2].to_s.strip, Regexp.last_match[3], Regexp.last_match[1])}" # print the SHA1 ID with the proper indentation
|
@@ -72,16 +74,12 @@ class Gollum::Filter::Code < Gollum::Filter
|
|
72
74
|
encoding = @markup.encoding || 'utf-8'
|
73
75
|
|
74
76
|
if defined? Pygments
|
75
|
-
#
|
76
|
-
|
77
|
-
|
78
|
-
else
|
79
|
-
# Set the default lexer to 'text' to prevent #153
|
80
|
-
lexer = Pygments::Lexer[(lang)] || Pygments::Lexer['text']
|
77
|
+
# Set the default lexer to 'text' to prevent #153 and #154
|
78
|
+
lang = lang || 'text'
|
79
|
+
lexer = Pygments::Lexer[(lang)] || Pygments::Lexer['text']
|
81
80
|
|
82
|
-
|
83
|
-
|
84
|
-
end
|
81
|
+
# must set startinline to true for php to be highlighted without <?
|
82
|
+
hl_code = lexer.highlight(code, :options => { :encoding => encoding.to_s, :startinline => true })
|
85
83
|
else # Rouge
|
86
84
|
begin
|
87
85
|
# if `lang` was not defined then assume plaintext
|
@@ -7,12 +7,13 @@ class Gollum::Filter::TOC < Gollum::Filter
|
|
7
7
|
def process(data)
|
8
8
|
|
9
9
|
@doc = Nokogiri::HTML::DocumentFragment.parse(data)
|
10
|
-
@
|
10
|
+
@toc_doc = nil
|
11
11
|
@anchor_names = {}
|
12
12
|
@current_ancestors = []
|
13
13
|
|
14
|
+
toc_str = ''
|
14
15
|
if @markup.sub_page && @markup.parent_page
|
15
|
-
|
16
|
+
toc_str = @markup.parent_page.toc_data
|
16
17
|
else
|
17
18
|
@doc.css('h1,h2,h3,h4,h5,h6').each_with_index do |header, i|
|
18
19
|
next if header.content.empty?
|
@@ -24,16 +25,37 @@ class Gollum::Filter::TOC < Gollum::Filter
|
|
24
25
|
add_anchor_to_header header, anchor_name
|
25
26
|
add_entry_to_toc header, anchor_name
|
26
27
|
end
|
28
|
+
if not @toc_doc.nil?
|
29
|
+
toc_str = @toc_doc.to_xml(@markup.to_xml_opts)
|
30
|
+
end
|
27
31
|
|
28
|
-
@toc = @toc.to_xml(@markup.to_xml_opts) if @toc != nil
|
29
32
|
data = @doc.to_xml(@markup.to_xml_opts)
|
30
|
-
|
31
33
|
end
|
32
|
-
|
33
|
-
@markup.toc =
|
34
|
-
|
35
|
-
|
34
|
+
|
35
|
+
@markup.toc = toc_str
|
36
|
+
|
37
|
+
data.gsub!(/\[\[_TOC_(.*?)\]\]/) do
|
38
|
+
levels = nil
|
39
|
+
levels_match = Regexp.last_match[1].match /\|\s*levels\s*=\s*(\d+)/
|
40
|
+
if levels_match
|
41
|
+
levels = levels_match[1].to_i
|
42
|
+
end
|
43
|
+
|
44
|
+
if levels.nil? || toc_str.empty?
|
45
|
+
toc_str
|
46
|
+
else
|
47
|
+
@toc_doc ||= Nokogiri::HTML::DocumentFragment.parse(toc_str)
|
48
|
+
toc_clone = @toc_doc.clone
|
49
|
+
toc_clone.traverse do |e|
|
50
|
+
if e.name == 'ul' and e.ancestors('ul').length > levels - 1
|
51
|
+
e.remove
|
52
|
+
end
|
53
|
+
end
|
54
|
+
toc_clone.to_xml(@markup.to_xml_opts)
|
55
|
+
end
|
36
56
|
end
|
57
|
+
|
58
|
+
data
|
37
59
|
end
|
38
60
|
|
39
61
|
private
|
@@ -78,26 +100,29 @@ class Gollum::Filter::TOC < Gollum::Filter
|
|
78
100
|
# Adds an entry to the TOC for the given header. The generated entry
|
79
101
|
# is a link to the given anchor name
|
80
102
|
def add_entry_to_toc(header, name)
|
81
|
-
@
|
82
|
-
tail ||= @
|
83
|
-
tail_level ||= 0
|
103
|
+
@toc_doc ||= Nokogiri::XML::DocumentFragment.parse('<div class="toc"><div class="toc-title">Table of Contents</div></div>')
|
104
|
+
@tail ||= @toc_doc.child
|
105
|
+
@tail_level ||= 0
|
84
106
|
|
85
107
|
level = header.name.gsub(/[hH]/, '').to_i
|
86
108
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
tail_level
|
109
|
+
if @tail_level < level
|
110
|
+
while @tail_level < level
|
111
|
+
list = Nokogiri::XML::Node.new('ul', @doc)
|
112
|
+
@tail.add_child(list)
|
113
|
+
@tail = list.add_child(Nokogiri::XML::Node.new('li', @doc))
|
114
|
+
@tail_level += 1
|
115
|
+
end
|
116
|
+
else
|
117
|
+
while @tail_level > level
|
118
|
+
@tail = @tail.parent.parent
|
119
|
+
@tail_level -= 1
|
120
|
+
end
|
121
|
+
@tail = @tail.parent.add_child(Nokogiri::XML::Node.new('li', @doc))
|
96
122
|
end
|
97
|
-
|
123
|
+
|
98
124
|
# % -> %25 so anchors work on Firefox. See issue #475
|
99
|
-
|
100
|
-
tail.add_child(node)
|
125
|
+
@tail.add_child(%Q{<a href="##{name}">#{header.content}</a>})
|
101
126
|
end
|
102
127
|
|
103
128
|
# Increments the number of anchors with the given name
|
@@ -3,7 +3,7 @@ module Gollum
|
|
3
3
|
class GlobalTOC < Gollum::Macro
|
4
4
|
def render(title = "Global Table of Contents")
|
5
5
|
if @wiki.pages.size > 0
|
6
|
-
result = '<ul>' + @wiki.pages.map { |p| "<li><a href=\"
|
6
|
+
result = '<ul>' + @wiki.pages.map { |p| "<li><a href=\"/#{p.url_path}\">#{p.url_path_display}</a></li>" }.join + '</ul>'
|
7
7
|
end
|
8
8
|
"<div class=\"toc\"><div class=\"toc-title\">#{title}</div>#{result}</div>"
|
9
9
|
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Gollum
|
2
|
+
class Macro
|
3
|
+
class Navigation < Gollum::Macro
|
4
|
+
|
5
|
+
def render(title = "Navigate in the TOC", toc_root_path = ::File.dirname(@page.path), full_path = false)
|
6
|
+
if @wiki.pages.size > 0
|
7
|
+
list_items = @wiki.pages.map do |page|
|
8
|
+
if page.url_path.start_with?(toc_root_path)
|
9
|
+
path_display = full_path ? page.url_path_display : page.url_path_display.sub(toc_root_path,"").sub(/^\//,'')
|
10
|
+
"<li><a href=\"/#{page.url_path}\">#{path_display}</a></li>"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
result = "<ul>#{list_items.join}</ul>"
|
14
|
+
end
|
15
|
+
"<div class=\"toc\"><div class=\"toc-title\">#{title}</div>#{result}</div>"
|
16
|
+
end
|
17
|
+
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/lib/gollum-lib/page.rb
CHANGED
@@ -281,6 +281,14 @@ module Gollum
|
|
281
281
|
@wiki.repo.git.versions_for_path(@path, @wiki.ref, log_pagination_options(options))
|
282
282
|
end
|
283
283
|
|
284
|
+
# Public: The last version that has touched the Page. Can be nil.
|
285
|
+
#
|
286
|
+
# Returns Gollum::Git::Commit, or nil.
|
287
|
+
def last_version
|
288
|
+
return @last_version if defined? @last_version
|
289
|
+
@last_version = @wiki.repo.git.versions_for_path(@path, @wiki.ref, {:max_count => 1}).first
|
290
|
+
end
|
291
|
+
|
284
292
|
# Public: The first 7 characters of the current version.
|
285
293
|
#
|
286
294
|
# Returns the first 7 characters of the current version.
|
data/lib/gollum-lib/version.rb
CHANGED
data/lib/gollum-lib/wiki.rb
CHANGED
@@ -310,7 +310,7 @@ module Gollum
|
|
310
310
|
name = @page_class.cname(name) + '.' + ext
|
311
311
|
blob = OpenStruct.new(:name => name, :data => data, :is_symlink => false)
|
312
312
|
page.populate(blob)
|
313
|
-
page.version = @access.commit(
|
313
|
+
page.version = @access.commit(@ref)
|
314
314
|
page
|
315
315
|
end
|
316
316
|
|
@@ -337,6 +337,7 @@ module Gollum
|
|
337
337
|
# spaces must be dashes
|
338
338
|
sanitized_name = name.gsub(' ', '-')
|
339
339
|
sanitized_dir = dir.gsub(' ', '-')
|
340
|
+
sanitized_dir = ::File.join([@page_file_dir, sanitized_dir].compact)
|
340
341
|
|
341
342
|
multi_commit = !!commit[:committer]
|
342
343
|
committer = multi_commit ? commit[:committer] : Committer.new(self, commit)
|
metadata
CHANGED
@@ -1,340 +1,352 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gollum-lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.2.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
8
8
|
- Rick Olson
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-02-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gollum-rjgit_adapter
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ~>
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0.3'
|
16
21
|
requirement: !ruby/object:Gem::Requirement
|
17
22
|
requirements:
|
18
23
|
- - ~>
|
19
24
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
21
|
-
MC4x
|
22
|
-
type: :runtime
|
25
|
+
version: '0.3'
|
23
26
|
prerelease: false
|
27
|
+
type: :runtime
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rouge
|
24
30
|
version_requirements: !ruby/object:Gem::Requirement
|
25
31
|
requirements:
|
26
32
|
- - ~>
|
27
33
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
29
|
-
MC4x
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: rouge
|
34
|
+
version: '1.10'
|
32
35
|
requirement: !ruby/object:Gem::Requirement
|
33
36
|
requirements:
|
34
37
|
- - ~>
|
35
38
|
- !ruby/object:Gem::Version
|
36
|
-
version: '1.
|
37
|
-
type: :runtime
|
39
|
+
version: '1.10'
|
38
40
|
prerelease: false
|
41
|
+
type: :runtime
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: nokogiri
|
39
44
|
version_requirements: !ruby/object:Gem::Requirement
|
40
45
|
requirements:
|
41
46
|
- - ~>
|
42
47
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
44
|
-
- !ruby/object:Gem::Dependency
|
45
|
-
name: nokogiri
|
48
|
+
version: 1.6.4
|
46
49
|
requirement: !ruby/object:Gem::Requirement
|
47
50
|
requirements:
|
48
51
|
- - ~>
|
49
52
|
- !ruby/object:Gem::Version
|
50
53
|
version: 1.6.4
|
51
|
-
type: :runtime
|
52
54
|
prerelease: false
|
55
|
+
type: :runtime
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: stringex
|
53
58
|
version_requirements: !ruby/object:Gem::Requirement
|
54
59
|
requirements:
|
55
60
|
- - ~>
|
56
61
|
- !ruby/object:Gem::Version
|
57
|
-
version:
|
58
|
-
- !ruby/object:Gem::Dependency
|
59
|
-
name: stringex
|
62
|
+
version: 2.5.1
|
60
63
|
requirement: !ruby/object:Gem::Requirement
|
61
64
|
requirements:
|
62
65
|
- - ~>
|
63
66
|
- !ruby/object:Gem::Version
|
64
67
|
version: 2.5.1
|
65
|
-
type: :runtime
|
66
68
|
prerelease: false
|
69
|
+
type: :runtime
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: sanitize
|
67
72
|
version_requirements: !ruby/object:Gem::Requirement
|
68
73
|
requirements:
|
69
74
|
- - ~>
|
70
75
|
- !ruby/object:Gem::Version
|
71
|
-
version: 2.
|
72
|
-
- !ruby/object:Gem::Dependency
|
73
|
-
name: sanitize
|
76
|
+
version: 2.1.0
|
74
77
|
requirement: !ruby/object:Gem::Requirement
|
75
78
|
requirements:
|
76
79
|
- - ~>
|
77
80
|
- !ruby/object:Gem::Version
|
78
81
|
version: 2.1.0
|
79
|
-
type: :runtime
|
80
82
|
prerelease: false
|
83
|
+
type: :runtime
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: github-markup
|
81
86
|
version_requirements: !ruby/object:Gem::Requirement
|
82
87
|
requirements:
|
83
88
|
- - ~>
|
84
89
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
86
|
-
- !ruby/object:Gem::Dependency
|
87
|
-
name: github-markup
|
90
|
+
version: 1.4.0
|
88
91
|
requirement: !ruby/object:Gem::Requirement
|
89
92
|
requirements:
|
90
93
|
- - ~>
|
91
94
|
- !ruby/object:Gem::Version
|
92
|
-
version: 1.
|
93
|
-
type: :runtime
|
95
|
+
version: 1.4.0
|
94
96
|
prerelease: false
|
97
|
+
type: :runtime
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: org-ruby
|
95
100
|
version_requirements: !ruby/object:Gem::Requirement
|
96
101
|
requirements:
|
97
102
|
- - ~>
|
98
103
|
- !ruby/object:Gem::Version
|
99
|
-
version:
|
100
|
-
- !ruby/object:Gem::Dependency
|
101
|
-
name: org-ruby
|
104
|
+
version: 0.9.9
|
102
105
|
requirement: !ruby/object:Gem::Requirement
|
103
106
|
requirements:
|
104
107
|
- - ~>
|
105
108
|
- !ruby/object:Gem::Version
|
106
109
|
version: 0.9.9
|
107
|
-
type: :development
|
108
110
|
prerelease: false
|
111
|
+
type: :development
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: kramdown
|
109
114
|
version_requirements: !ruby/object:Gem::Requirement
|
110
115
|
requirements:
|
111
116
|
- - ~>
|
112
117
|
- !ruby/object:Gem::Version
|
113
|
-
version:
|
114
|
-
- !ruby/object:Gem::Dependency
|
115
|
-
name: kramdown
|
118
|
+
version: 1.6.0
|
116
119
|
requirement: !ruby/object:Gem::Requirement
|
117
120
|
requirements:
|
118
121
|
- - ~>
|
119
122
|
- !ruby/object:Gem::Version
|
120
123
|
version: 1.6.0
|
121
|
-
type: :development
|
122
124
|
prerelease: false
|
125
|
+
type: :development
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: RedCloth
|
123
128
|
version_requirements: !ruby/object:Gem::Requirement
|
124
129
|
requirements:
|
125
130
|
- - ~>
|
126
131
|
- !ruby/object:Gem::Version
|
127
|
-
version:
|
128
|
-
- !ruby/object:Gem::Dependency
|
129
|
-
name: RedCloth
|
132
|
+
version: 4.2.9
|
130
133
|
requirement: !ruby/object:Gem::Requirement
|
131
134
|
requirements:
|
132
135
|
- - ~>
|
133
136
|
- !ruby/object:Gem::Version
|
134
137
|
version: 4.2.9
|
135
|
-
type: :development
|
136
138
|
prerelease: false
|
139
|
+
type: :development
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: mocha
|
137
142
|
version_requirements: !ruby/object:Gem::Requirement
|
138
143
|
requirements:
|
139
144
|
- - ~>
|
140
145
|
- !ruby/object:Gem::Version
|
141
|
-
version:
|
142
|
-
- !ruby/object:Gem::Dependency
|
143
|
-
name: mocha
|
146
|
+
version: 1.1.0
|
144
147
|
requirement: !ruby/object:Gem::Requirement
|
145
148
|
requirements:
|
146
149
|
- - ~>
|
147
150
|
- !ruby/object:Gem::Version
|
148
151
|
version: 1.1.0
|
149
|
-
type: :development
|
150
152
|
prerelease: false
|
153
|
+
type: :development
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: shoulda
|
151
156
|
version_requirements: !ruby/object:Gem::Requirement
|
152
157
|
requirements:
|
153
158
|
- - ~>
|
154
159
|
- !ruby/object:Gem::Version
|
155
|
-
version:
|
156
|
-
- !ruby/object:Gem::Dependency
|
157
|
-
name: shoulda
|
160
|
+
version: 3.5.0
|
158
161
|
requirement: !ruby/object:Gem::Requirement
|
159
162
|
requirements:
|
160
163
|
- - ~>
|
161
164
|
- !ruby/object:Gem::Version
|
162
165
|
version: 3.5.0
|
163
|
-
type: :development
|
164
166
|
prerelease: false
|
167
|
+
type: :development
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: wikicloth
|
165
170
|
version_requirements: !ruby/object:Gem::Requirement
|
166
171
|
requirements:
|
167
172
|
- - ~>
|
168
173
|
- !ruby/object:Gem::Version
|
169
|
-
version:
|
170
|
-
- !ruby/object:Gem::Dependency
|
171
|
-
name: wikicloth
|
174
|
+
version: 0.8.3
|
172
175
|
requirement: !ruby/object:Gem::Requirement
|
173
176
|
requirements:
|
174
177
|
- - ~>
|
175
178
|
- !ruby/object:Gem::Version
|
176
179
|
version: 0.8.3
|
177
|
-
type: :development
|
178
180
|
prerelease: false
|
181
|
+
type: :development
|
182
|
+
- !ruby/object:Gem::Dependency
|
183
|
+
name: rake
|
179
184
|
version_requirements: !ruby/object:Gem::Requirement
|
180
185
|
requirements:
|
181
186
|
- - ~>
|
182
187
|
- !ruby/object:Gem::Version
|
183
|
-
version:
|
184
|
-
- !ruby/object:Gem::Dependency
|
185
|
-
name: rake
|
188
|
+
version: 10.4.0
|
186
189
|
requirement: !ruby/object:Gem::Requirement
|
187
190
|
requirements:
|
188
191
|
- - ~>
|
189
192
|
- !ruby/object:Gem::Version
|
190
193
|
version: 10.4.0
|
191
|
-
type: :development
|
192
194
|
prerelease: false
|
195
|
+
type: :development
|
196
|
+
- !ruby/object:Gem::Dependency
|
197
|
+
name: pry
|
193
198
|
version_requirements: !ruby/object:Gem::Requirement
|
194
199
|
requirements:
|
195
200
|
- - ~>
|
196
201
|
- !ruby/object:Gem::Version
|
197
|
-
version: 10.
|
198
|
-
- !ruby/object:Gem::Dependency
|
199
|
-
name: pry
|
202
|
+
version: 0.10.1
|
200
203
|
requirement: !ruby/object:Gem::Requirement
|
201
204
|
requirements:
|
202
205
|
- - ~>
|
203
206
|
- !ruby/object:Gem::Version
|
204
207
|
version: 0.10.1
|
205
|
-
type: :development
|
206
208
|
prerelease: false
|
209
|
+
type: :development
|
210
|
+
- !ruby/object:Gem::Dependency
|
211
|
+
name: rb-readline
|
207
212
|
version_requirements: !ruby/object:Gem::Requirement
|
208
213
|
requirements:
|
209
214
|
- - ~>
|
210
215
|
- !ruby/object:Gem::Version
|
211
|
-
version: 0.
|
212
|
-
- !ruby/object:Gem::Dependency
|
213
|
-
name: rb-readline
|
216
|
+
version: 0.5.1
|
214
217
|
requirement: !ruby/object:Gem::Requirement
|
215
218
|
requirements:
|
216
219
|
- - ~>
|
217
220
|
- !ruby/object:Gem::Version
|
218
221
|
version: 0.5.1
|
219
|
-
type: :development
|
220
222
|
prerelease: false
|
223
|
+
type: :development
|
224
|
+
- !ruby/object:Gem::Dependency
|
225
|
+
name: test-unit
|
221
226
|
version_requirements: !ruby/object:Gem::Requirement
|
222
227
|
requirements:
|
223
228
|
- - ~>
|
224
229
|
- !ruby/object:Gem::Version
|
225
|
-
version:
|
226
|
-
- !ruby/object:Gem::Dependency
|
227
|
-
name: minitest-reporters
|
230
|
+
version: 3.1.5
|
228
231
|
requirement: !ruby/object:Gem::Requirement
|
229
232
|
requirements:
|
230
233
|
- - ~>
|
231
234
|
- !ruby/object:Gem::Version
|
232
|
-
version:
|
233
|
-
type: :development
|
235
|
+
version: 3.1.5
|
234
236
|
prerelease: false
|
237
|
+
type: :development
|
238
|
+
- !ruby/object:Gem::Dependency
|
239
|
+
name: minitest-reporters
|
235
240
|
version_requirements: !ruby/object:Gem::Requirement
|
236
241
|
requirements:
|
237
242
|
- - ~>
|
238
243
|
- !ruby/object:Gem::Version
|
239
244
|
version: 0.14.16
|
240
|
-
- !ruby/object:Gem::Dependency
|
241
|
-
name: nokogiri-diff
|
242
245
|
requirement: !ruby/object:Gem::Requirement
|
243
246
|
requirements:
|
244
247
|
- - ~>
|
245
248
|
- !ruby/object:Gem::Version
|
246
|
-
version: 0.
|
247
|
-
type: :development
|
249
|
+
version: 0.14.16
|
248
250
|
prerelease: false
|
251
|
+
type: :development
|
252
|
+
- !ruby/object:Gem::Dependency
|
253
|
+
name: nokogiri-diff
|
249
254
|
version_requirements: !ruby/object:Gem::Requirement
|
250
255
|
requirements:
|
251
256
|
- - ~>
|
252
257
|
- !ruby/object:Gem::Version
|
253
258
|
version: 0.2.0
|
254
|
-
- !ruby/object:Gem::Dependency
|
255
|
-
name: guard
|
256
259
|
requirement: !ruby/object:Gem::Requirement
|
257
260
|
requirements:
|
258
261
|
- - ~>
|
259
262
|
- !ruby/object:Gem::Version
|
260
|
-
version: 2.
|
261
|
-
type: :development
|
263
|
+
version: 0.2.0
|
262
264
|
prerelease: false
|
265
|
+
type: :development
|
266
|
+
- !ruby/object:Gem::Dependency
|
267
|
+
name: guard
|
263
268
|
version_requirements: !ruby/object:Gem::Requirement
|
264
269
|
requirements:
|
265
270
|
- - ~>
|
266
271
|
- !ruby/object:Gem::Version
|
267
272
|
version: 2.8.2
|
268
|
-
- !ruby/object:Gem::Dependency
|
269
|
-
name: guard-minitest
|
270
273
|
requirement: !ruby/object:Gem::Requirement
|
271
274
|
requirements:
|
272
275
|
- - ~>
|
273
276
|
- !ruby/object:Gem::Version
|
274
|
-
version: 2.
|
275
|
-
type: :development
|
277
|
+
version: 2.8.2
|
276
278
|
prerelease: false
|
279
|
+
type: :development
|
280
|
+
- !ruby/object:Gem::Dependency
|
281
|
+
name: guard-minitest
|
277
282
|
version_requirements: !ruby/object:Gem::Requirement
|
278
283
|
requirements:
|
279
284
|
- - ~>
|
280
285
|
- !ruby/object:Gem::Version
|
281
286
|
version: 2.3.2
|
282
|
-
- !ruby/object:Gem::Dependency
|
283
|
-
name: rb-inotify
|
284
287
|
requirement: !ruby/object:Gem::Requirement
|
285
288
|
requirements:
|
286
289
|
- - ~>
|
287
290
|
- !ruby/object:Gem::Version
|
288
|
-
version:
|
289
|
-
type: :development
|
291
|
+
version: 2.3.2
|
290
292
|
prerelease: false
|
293
|
+
type: :development
|
294
|
+
- !ruby/object:Gem::Dependency
|
295
|
+
name: rb-inotify
|
291
296
|
version_requirements: !ruby/object:Gem::Requirement
|
292
297
|
requirements:
|
293
298
|
- - ~>
|
294
299
|
- !ruby/object:Gem::Version
|
295
300
|
version: 0.9.3
|
296
|
-
- !ruby/object:Gem::Dependency
|
297
|
-
name: rb-fsevent
|
298
301
|
requirement: !ruby/object:Gem::Requirement
|
299
302
|
requirements:
|
300
303
|
- - ~>
|
301
304
|
- !ruby/object:Gem::Version
|
302
|
-
version: 0.9.
|
303
|
-
type: :development
|
305
|
+
version: 0.9.3
|
304
306
|
prerelease: false
|
307
|
+
type: :development
|
308
|
+
- !ruby/object:Gem::Dependency
|
309
|
+
name: rb-fsevent
|
305
310
|
version_requirements: !ruby/object:Gem::Requirement
|
306
311
|
requirements:
|
307
312
|
- - ~>
|
308
313
|
- !ruby/object:Gem::Version
|
309
314
|
version: 0.9.4
|
310
|
-
- !ruby/object:Gem::Dependency
|
311
|
-
name: rb-fchange
|
312
315
|
requirement: !ruby/object:Gem::Requirement
|
313
316
|
requirements:
|
314
317
|
- - ~>
|
315
318
|
- !ruby/object:Gem::Version
|
316
|
-
version: 0.
|
317
|
-
type: :development
|
319
|
+
version: 0.9.4
|
318
320
|
prerelease: false
|
321
|
+
type: :development
|
322
|
+
- !ruby/object:Gem::Dependency
|
323
|
+
name: rb-fchange
|
319
324
|
version_requirements: !ruby/object:Gem::Requirement
|
320
325
|
requirements:
|
321
326
|
- - ~>
|
322
327
|
- !ruby/object:Gem::Version
|
323
328
|
version: 0.0.6
|
324
|
-
- !ruby/object:Gem::Dependency
|
325
|
-
name: twitter_cldr
|
326
329
|
requirement: !ruby/object:Gem::Requirement
|
327
330
|
requirements:
|
328
331
|
- - ~>
|
329
332
|
- !ruby/object:Gem::Version
|
330
|
-
version:
|
331
|
-
type: :development
|
333
|
+
version: 0.0.6
|
332
334
|
prerelease: false
|
335
|
+
type: :development
|
336
|
+
- !ruby/object:Gem::Dependency
|
337
|
+
name: twitter_cldr
|
333
338
|
version_requirements: !ruby/object:Gem::Requirement
|
334
339
|
requirements:
|
335
340
|
- - ~>
|
336
341
|
- !ruby/object:Gem::Version
|
337
342
|
version: 3.1.0
|
343
|
+
requirement: !ruby/object:Gem::Requirement
|
344
|
+
requirements:
|
345
|
+
- - ~>
|
346
|
+
- !ruby/object:Gem::Version
|
347
|
+
version: 3.1.0
|
348
|
+
prerelease: false
|
349
|
+
type: :development
|
338
350
|
description: A simple, Git-powered wiki with a sweet API and local frontend.
|
339
351
|
email: tom@github.com
|
340
352
|
executables: []
|
@@ -376,6 +388,7 @@ files:
|
|
376
388
|
- lib/gollum-lib/macro.rb
|
377
389
|
- lib/gollum-lib/macro/all_pages.rb
|
378
390
|
- lib/gollum-lib/macro/global_toc.rb
|
391
|
+
- lib/gollum-lib/macro/navigation.rb
|
379
392
|
- lib/gollum-lib/macro/series.rb
|
380
393
|
- lib/gollum-lib/markup.rb
|
381
394
|
- lib/gollum-lib/markups.rb
|
@@ -389,25 +402,25 @@ homepage: http://github.com/gollum/gollum-lib
|
|
389
402
|
licenses:
|
390
403
|
- MIT
|
391
404
|
metadata: {}
|
392
|
-
post_install_message:
|
405
|
+
post_install_message:
|
393
406
|
rdoc_options:
|
394
407
|
- --charset=UTF-8
|
395
408
|
require_paths:
|
396
409
|
- lib
|
397
410
|
required_ruby_version: !ruby/object:Gem::Requirement
|
398
411
|
requirements:
|
399
|
-
- -
|
412
|
+
- - '>='
|
400
413
|
- !ruby/object:Gem::Version
|
401
414
|
version: '1.9'
|
402
415
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
403
416
|
requirements:
|
404
|
-
- -
|
417
|
+
- - '>='
|
405
418
|
- !ruby/object:Gem::Version
|
406
419
|
version: '0'
|
407
420
|
requirements: []
|
408
421
|
rubyforge_project: gollum-lib
|
409
|
-
rubygems_version: 2.4.
|
410
|
-
signing_key:
|
422
|
+
rubygems_version: 2.4.5
|
423
|
+
signing_key:
|
411
424
|
specification_version: 2
|
412
425
|
summary: A simple, Git-powered wiki.
|
413
426
|
test_files: []
|