gollum 5.1 → 5.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +4 -2
- data/Gemfile +1 -2
- data/HISTORY.md +15 -0
- data/README.md +1 -0
- data/bin/gollum +1 -1
- data/contrib/automation/gollum-post +66 -0
- data/gollum.gemspec +20 -18
- data/lib/gollum.rb +13 -13
- data/lib/gollum/app.rb +13 -11
- data/lib/gollum/public/assets/.sprockets-manifest-de7bb79aec424e55af1acdcc4237b301.json +1 -0
- data/lib/gollum/public/assets/app-0fd228e26bfbe6fe31a2da268eb0e98e780c1191c1a918adf383377946e9c838.js +5 -0
- data/lib/gollum/public/assets/app-0fd228e26bfbe6fe31a2da268eb0e98e780c1191c1a918adf383377946e9c838.js.gz +0 -0
- data/lib/gollum/public/assets/app-ad43ca64b295d8444b10f22ee868f18429268af498f1bc515434878b690e37a2.css +21 -0
- data/lib/gollum/public/assets/app-ad43ca64b295d8444b10f22ee868f18429268af498f1bc515434878b690e37a2.css.gz +0 -0
- data/lib/gollum/public/assets/criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css.gz +0 -0
- data/lib/gollum/public/assets/editor-db10c8351306e92f1926ba225d0cd9c8e886482b3b9820a85825ec3abab5f1cf.js +24 -0
- data/lib/gollum/public/assets/editor-db10c8351306e92f1926ba225d0cd9c8e886482b3b9820a85825ec3abab5f1cf.js.gz +0 -0
- data/lib/gollum/public/assets/print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css.gz +0 -0
- data/lib/gollum/public/gollum/javascript/app.js +1 -0
- data/lib/gollum/public/gollum/javascript/gollum.js.erb +14 -10
- data/lib/gollum/public/gollum/javascript/polyfills.js +6 -0
- data/lib/gollum/public/gollum/stylesheets/dialog.scss +0 -4
- data/lib/gollum/public/gollum/stylesheets/primer.css +23 -0
- data/lib/gollum/public/gollum/stylesheets/template.scss.erb +132 -57
- data/lib/gollum/templates/create.mustache +9 -7
- data/lib/gollum/templates/edit.mustache +4 -2
- data/lib/gollum/templates/editor.mustache +3 -3
- data/lib/gollum/templates/latest_changes.mustache +1 -1
- data/lib/gollum/templates/layout.mustache +0 -1
- data/lib/gollum/templates/mobilenav.mustache +72 -0
- data/lib/gollum/templates/navbar.mustache +103 -43
- data/lib/gollum/templates/overview.mustache +1 -1
- data/lib/gollum/templates/wiki_content.mustache +17 -16
- data/lib/gollum/views/commit.rb +11 -4
- data/lib/gollum/views/compare.rb +18 -7
- data/lib/gollum/views/helpers.rb +4 -1
- data/lib/gollum/views/layout.rb +1 -1
- data/lib/gollum/views/overview.rb +5 -4
- data/lib/gollum/views/page.rb +11 -8
- metadata +46 -50
- data/lib/gollum/public/assets/.sprockets-manifest-459226ba5fc211b78ba9a3aa6ebde96c.json +0 -1
- data/lib/gollum/public/assets/app-6e925e38a12a40c4fa9e0400cc874e0f4f97b66fdeb90a144dea527dbb544fbd.js +0 -5
- data/lib/gollum/public/assets/app-6e925e38a12a40c4fa9e0400cc874e0f4f97b66fdeb90a144dea527dbb544fbd.js.gz +0 -0
- data/lib/gollum/public/assets/app-b205e593a30f1cc0054e2e9ed9fc8af3658d8ef4a62b9708c20f204560deefb7.css +0 -21
- data/lib/gollum/public/assets/app-b205e593a30f1cc0054e2e9ed9fc8af3658d8ef4a62b9708c20f204560deefb7.css.gz +0 -0
- data/lib/gollum/public/assets/editor-b2c10f22ef6ca1e120956a2d11ff4ca19ac44d7e7240f5cc43ec949184d8b708.js +0 -24
- data/lib/gollum/public/assets/editor-b2c10f22ef6ca1e120956a2d11ff4ca19ac44d7e7240f5cc43ec949184d8b708.js.gz +0 -0
- data/lib/gollum/public/gollum/stylesheets/_layout.scss +0 -83
- data/lib/gollum/public/gollum/stylesheets/primer.scss +0 -23
@@ -1,43 +1,103 @@
|
|
1
|
-
<nav class="actions pt-4">
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
1
|
+
<nav class="TableObject actions pt-4 px-2 px-lg-0 overflow-x-scroll">
|
2
|
+
<div class="TableObject-item hide-lg hide-xl">
|
3
|
+
{{>mobilenav}}
|
4
|
+
</div>
|
5
|
+
|
6
|
+
<div class="TableObject-item hide-sm hide-md">
|
7
|
+
<a class="btn btn-sm" id="minibutton-home" href="{{page_route}}">
|
8
|
+
Home
|
9
|
+
</a>
|
10
|
+
</div>
|
11
|
+
|
12
|
+
<div
|
13
|
+
class="TableObject-item TableObject-item--primary px-2"
|
14
|
+
{{^search}}style="visibility:hidden"{{/search}}
|
15
|
+
>
|
16
|
+
{{>searchbar}}
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<div class="TableObject-item hide-sm hide-md">
|
20
|
+
<div class="BtnGroup d-flex">
|
21
|
+
{{#overview}}
|
22
|
+
<a
|
23
|
+
class="btn BtnGroup-item btn-sm"
|
24
|
+
href="{{overview_path}}"
|
25
|
+
id="minibutton-overview"
|
26
|
+
>
|
27
|
+
Overview
|
28
|
+
</a>
|
29
|
+
{{/overview}}
|
30
|
+
|
31
|
+
{{#latest_changes}}
|
32
|
+
<a
|
33
|
+
class="btn BtnGroup-item btn-sm"
|
34
|
+
href="{{latest_changes_path}}"
|
35
|
+
id="minibutton-latest-changes"
|
36
|
+
>
|
37
|
+
Latest Changes
|
38
|
+
</a>
|
39
|
+
{{/latest_changes}}
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div class="TableObject-item px-2">
|
44
|
+
<div class="BtnGroup d-flex">
|
45
|
+
{{#history}}
|
46
|
+
<a
|
47
|
+
class="btn BtnGroup-item btn-sm hide-sm hide-md"
|
48
|
+
href="{{history_path}}/{{escaped_url_path}}"
|
49
|
+
id="minibutton-history"
|
50
|
+
>
|
51
|
+
History
|
52
|
+
</a>
|
53
|
+
{{/history}}
|
54
|
+
|
55
|
+
{{#allow_editing}}
|
56
|
+
{{#allow_uploads}}
|
57
|
+
<button
|
58
|
+
class="btn BtnGroup-item btn-sm hide-sm hide-md
|
59
|
+
minibutton-upload-page"
|
60
|
+
>
|
61
|
+
Upload
|
62
|
+
</button>
|
63
|
+
{{/allow_uploads}}
|
64
|
+
|
65
|
+
{{#editable}}
|
66
|
+
<button
|
67
|
+
class="btn BtnGroup-item btn-sm hide-sm hide-md
|
68
|
+
minibutton-rename-page"
|
69
|
+
>
|
70
|
+
Rename
|
71
|
+
</button>
|
72
|
+
<a
|
73
|
+
class="btn BtnGroup-item btn-sm hide-sm hide-md"
|
74
|
+
href="{{edit_path}}/{{escaped_url_path}}"
|
75
|
+
id="minibutton-edit-page"
|
76
|
+
>
|
77
|
+
Edit
|
78
|
+
</a>
|
79
|
+
{{/editable}}
|
80
|
+
{{/allow_editing}}
|
81
|
+
</div>
|
82
|
+
</div>
|
83
|
+
|
84
|
+
{{#allow_editing}}
|
85
|
+
{{#editable}}
|
86
|
+
<div class="TableObject-item">
|
87
|
+
<a class="btn btn-primary btn-sm minibutton-new-page" href="#">
|
88
|
+
New
|
89
|
+
</a>
|
90
|
+
</div>
|
91
|
+
{{/editable}}
|
92
|
+
|
93
|
+
{{^editable}}
|
94
|
+
{{#newable}}
|
95
|
+
<div class="TableObject-item">
|
96
|
+
<a class="btn btn-primary btn-sm minibutton-new-page" href="#">
|
97
|
+
New
|
98
|
+
</a>
|
99
|
+
</div>
|
100
|
+
{{/newable}}
|
101
|
+
{{/editable}}
|
102
|
+
{{/allow_editing}}
|
103
|
+
</nav>
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<span class="pr-2">{{{icon}}}</span>
|
19
19
|
<span><a href="{{url}}">{{name}}</a></span>
|
20
20
|
{{#allow_editing}}
|
21
|
-
{{#is_file}}<button class="btn btn-sm float-right delete-file" data-file-path="{{
|
21
|
+
{{#is_file}}<button class="btn btn-sm float-right delete-file" data-file-path="{{file_path}}" data-confirm="Are you sure you want to delete {{name}}?">{{#octicon}}trash{{/octicon}}</button>{{/is_file}}
|
22
22
|
{{/allow_editing}}
|
23
23
|
</li>
|
24
24
|
{{/files_folders}}
|
@@ -1,7 +1,6 @@
|
|
1
|
-
<div id="wiki-content">
|
1
|
+
<div id="wiki-content" class="px-2 px-lg-0">
|
2
2
|
<h1 class="pt-4">{{page_header}}</h1>
|
3
3
|
<div class="breadcrumb">{{{breadcrumb}}}</div>
|
4
|
-
|
5
4
|
|
6
5
|
<div class="{{#has_header}}has-header{{/has_header}}{{#has_footer}} has-footer{{/has_footer}}{{#has_sidebar}} has-sidebar has-{{bar_side}}bar{{/has_sidebar}}{{#has_toc}} has-toc{{/has_toc}}">
|
7
6
|
{{#has_toc}}
|
@@ -9,14 +8,7 @@
|
|
9
8
|
{{{toc_content}}}
|
10
9
|
</div>
|
11
10
|
{{/has_toc}}
|
12
|
-
{{
|
13
|
-
<div id="wiki-sidebar" class="gollum-{{sidebar_format}}-content">
|
14
|
-
<div id="sidebar-content" class="Box Box--condensed col-3 markdown-body px-4 float-{{bar_side}}">
|
15
|
-
{{{sidebar_content}}}
|
16
|
-
</div>
|
17
|
-
</div>
|
18
|
-
{{/has_sidebar}}
|
19
|
-
<div id="wiki-body" class="gollum-{{format}}-content overflow-hidden {{#left_bar}}pl-4{{/left_bar}}">
|
11
|
+
<div id="wiki-body" class="gollum-{{format}}-content">
|
20
12
|
{{#has_header}}
|
21
13
|
<div id="wiki-header" class="gollum-{{header_format}}-content">
|
22
14
|
<div id="header-content" class="markdown-body">
|
@@ -24,14 +16,23 @@
|
|
24
16
|
</div>
|
25
17
|
</div>
|
26
18
|
{{/has_header}}
|
27
|
-
<div class="
|
28
|
-
{{{
|
29
|
-
|
19
|
+
<div class="main-content clearfix container-lg">
|
20
|
+
<div class="markdown-body {{#header_enum?}}header-enum{{/header_enum?}} {{#has_sidebar}}float-md-{{body_side}} col-md-9{{/has_sidebar}}" {{#header_enum?}}style="--header-enum-style:{{header_enum_style}};"{{/header_enum?}}>
|
21
|
+
{{{rendered_metadata}}}
|
22
|
+
{{{content}}}
|
23
|
+
</div>
|
24
|
+
{{#has_sidebar}}
|
25
|
+
<div id="wiki-sidebar" class="Box Box--condensed float-md-{{body_side}} col-md-3">
|
26
|
+
<div id="sidebar-content" class="gollum-{{sidebar_format}}-content markdown-body px-4">
|
27
|
+
{{{sidebar_content}}}
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
{{/has_sidebar}}
|
30
31
|
</div>
|
31
32
|
</div>
|
32
33
|
{{#has_footer}}
|
33
|
-
<div id="wiki-footer" class="gollum-{{footer_format}}-content">
|
34
|
-
<div id="footer-content" class="Box Box-condensed markdown-body
|
34
|
+
<div id="wiki-footer" class="gollum-{{footer_format}}-content my-2">
|
35
|
+
<div id="footer-content" class="Box Box-condensed markdown-body px-4">
|
35
36
|
{{{footer_content}}}
|
36
37
|
</div>
|
37
38
|
</div>
|
@@ -57,5 +58,5 @@
|
|
57
58
|
{{/historical}}
|
58
59
|
</div>
|
59
60
|
|
60
|
-
|
61
|
+
|
61
62
|
</div>
|
data/lib/gollum/views/commit.rb
CHANGED
@@ -23,12 +23,19 @@ module Precious
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def files
|
26
|
-
files = @diff.
|
26
|
+
files = @diff.force_encoding(Encoding::UTF_8).scan(%r{
|
27
|
+
^diff\ --git\ # diff start
|
28
|
+
.+? # diff body
|
29
|
+
(?=^diff\ --git|\Z) # scan until next diff or string
|
30
|
+
}sxmu)
|
31
|
+
|
27
32
|
files.map do |diff|
|
28
|
-
|
29
|
-
|
33
|
+
match = diff.match(%r{^diff --git (")?[ab]/(.+)(?(1)") (")?[ab]/(.+)(?(3)")})
|
34
|
+
path = match[2]
|
35
|
+
path = match[4] if path.nil?
|
36
|
+
|
30
37
|
{
|
31
|
-
path:
|
38
|
+
path: path,
|
32
39
|
lines: lines(diff)
|
33
40
|
}
|
34
41
|
end
|
data/lib/gollum/views/compare.rb
CHANGED
@@ -19,16 +19,21 @@ module Precious
|
|
19
19
|
|
20
20
|
def lines(diff = @diff)
|
21
21
|
lines = []
|
22
|
-
lines_to_parse = diff.split("\n")[
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
lines_to_parse = diff.split("\n")[3..-1]
|
23
|
+
lines_to_parse = lines_to_parse[2..-1] if lines_to_parse[0] =~ /^(---|rename to )/
|
24
|
+
|
25
|
+
if lines_to_parse.nil? || lines_to_parse.empty?
|
26
|
+
lines_to_parse = [] # File is created without content
|
27
|
+
else
|
28
|
+
lines_to_parse = lines_to_parse[1..-1] if lines_to_parse[0].start_with?('+++')
|
29
|
+
end
|
30
|
+
|
26
31
|
lines_to_parse.each_with_index do |line, line_index|
|
27
32
|
lines << { :line => line,
|
28
33
|
:class => line_class(line),
|
29
34
|
:ldln => left_diff_line_number(line),
|
30
35
|
:rdln => right_diff_line_number(line) }
|
31
|
-
end
|
36
|
+
end
|
32
37
|
lines
|
33
38
|
end
|
34
39
|
|
@@ -41,6 +46,8 @@ module Precious
|
|
41
46
|
def line_class(line)
|
42
47
|
if line =~ /^@@/
|
43
48
|
'gc'
|
49
|
+
elsif git_line?(line)
|
50
|
+
'gg'
|
44
51
|
elsif line =~ /^\+/
|
45
52
|
'gi'
|
46
53
|
elsif line =~ /^\-/
|
@@ -53,7 +60,7 @@ module Precious
|
|
53
60
|
@left_diff_line_number = nil
|
54
61
|
|
55
62
|
def left_diff_line_number(line)
|
56
|
-
if line
|
63
|
+
if git_line?(line)
|
57
64
|
m, li = *line.match(/\-(\d+)/)
|
58
65
|
@left_diff_line_number = li.to_i
|
59
66
|
@current_line_number = @left_diff_line_number
|
@@ -75,7 +82,7 @@ module Precious
|
|
75
82
|
@right_diff_line_number = nil
|
76
83
|
|
77
84
|
def right_diff_line_number(line)
|
78
|
-
if line
|
85
|
+
if git_line?(line)
|
79
86
|
m, ri = *line.match(/\+(\d+)/)
|
80
87
|
@right_diff_line_number = ri.to_i
|
81
88
|
@current_line_number = @right_diff_line_number
|
@@ -93,6 +100,10 @@ module Precious
|
|
93
100
|
end
|
94
101
|
ret
|
95
102
|
end
|
103
|
+
|
104
|
+
def git_line?(line)
|
105
|
+
!!(line =~ /^(\\ No newline|Binary files|@@)/)
|
106
|
+
end
|
96
107
|
end
|
97
108
|
end
|
98
109
|
end
|
data/lib/gollum/views/helpers.rb
CHANGED
data/lib/gollum/views/layout.rb
CHANGED
@@ -4,6 +4,7 @@ module Precious
|
|
4
4
|
module Views
|
5
5
|
class Overview < Layout
|
6
6
|
attr_reader :results, :ref, :allow_editing, :newable
|
7
|
+
HIDDEN_PATHS = ['.gitkeep']
|
7
8
|
|
8
9
|
def title
|
9
10
|
"Overview of #{@ref}"
|
@@ -25,9 +26,9 @@ module Precious
|
|
25
26
|
title = crumb.basename
|
26
27
|
|
27
28
|
if title == path.basename
|
28
|
-
breadcrumb << %{<li class="breadcrumb-item" aria-current="page">#{title}</li>}
|
29
|
+
breadcrumb << %{<li class="breadcrumb-item" aria-current="page">#{CGI.escapeHTML(title.to_s)}</li>}
|
29
30
|
else
|
30
|
-
breadcrumb << %{<li class="breadcrumb-item"><a href="#{overview_path}/#{crumb}/">#{title}</a></li>}
|
31
|
+
breadcrumb << %{<li class="breadcrumb-item"><a href="#{overview_path}/#{crumb}/">#{CGI.escapeHTML(title.to_s)}</a></li>}
|
31
32
|
end
|
32
33
|
end
|
33
34
|
breadcrumb << %{</ol></nav>}
|
@@ -51,9 +52,9 @@ module Precious
|
|
51
52
|
folder_path = @path ? "#{@path}/#{folder_name}" : folder_name
|
52
53
|
folder_url = "#{overview_path}/#{folder_path}/"
|
53
54
|
files_and_folders << {name: folder_name, icon: rocticon('file-directory'), type: 'dir', url: folder_url, is_file: false}
|
54
|
-
elsif result_path
|
55
|
+
elsif !HIDDEN_PATHS.include?(result_path)
|
55
56
|
file_url = page_route(result.escaped_url_path)
|
56
|
-
files_and_folders << {name: result.filename, icon: rocticon('file'), type: 'file', url: file_url, is_file: true}
|
57
|
+
files_and_folders << {name: result.filename, icon: rocticon('file'), type: 'file', url: file_url, file_path: result.escaped_url_path, is_file: true}
|
57
58
|
end
|
58
59
|
end
|
59
60
|
# 1012: Overview should list folders first, followed by files and pages sorted alphabetically
|
data/lib/gollum/views/page.rb
CHANGED
@@ -16,15 +16,10 @@ module Precious
|
|
16
16
|
DEFAULT_AUTHOR = 'you'
|
17
17
|
@@to_xml = { :save_with => Nokogiri::XML::Node::SaveOptions::DEFAULT_XHTML ^ 1, :indent => 0, :encoding => 'UTF-8' }
|
18
18
|
|
19
|
-
def title
|
20
|
-
h1 = @h1_title ? page_header_from_content(@content) : false
|
21
|
-
h1 || @page.url_path_title # url_path_title is the metadata title if present, otherwise the filename-based title
|
22
|
-
end
|
23
|
-
|
24
19
|
def page_header
|
25
20
|
title
|
26
21
|
end
|
27
|
-
|
22
|
+
|
28
23
|
def breadcrumb
|
29
24
|
path = Pathname.new(@page.url_path).parent
|
30
25
|
return '' if path.to_s == '.'
|
@@ -32,7 +27,7 @@ module Precious
|
|
32
27
|
path.descend do |crumb|
|
33
28
|
element = "#{crumb.basename}"
|
34
29
|
next if element == @page.title
|
35
|
-
breadcrumb << %{<li class="breadcrumb-item"><a href="#{overview_path}/#{crumb}/">#{element}</a></li>}
|
30
|
+
breadcrumb << %{<li class="breadcrumb-item"><a href="#{overview_path}/#{crumb}/">#{CGI.escapeHTML(element.to_s)}</a></li>}
|
36
31
|
end
|
37
32
|
breadcrumb << %{</ol></nav>}
|
38
33
|
breadcrumb.join("\n")
|
@@ -123,7 +118,11 @@ module Precious
|
|
123
118
|
def bar_side
|
124
119
|
@bar_side.to_s
|
125
120
|
end
|
126
|
-
|
121
|
+
|
122
|
+
def body_side
|
123
|
+
@bar_side == :right ? "left" : "right"
|
124
|
+
end
|
125
|
+
|
127
126
|
def left_bar
|
128
127
|
@bar_side == :left
|
129
128
|
end
|
@@ -265,6 +264,10 @@ module Precious
|
|
265
264
|
result << "</tr>\n</table>\n"
|
266
265
|
end
|
267
266
|
|
267
|
+
def title
|
268
|
+
h1 = @h1_title ? page_header_from_content(@content) : false
|
269
|
+
h1 || @page.url_path_title # url_path_title is the metadata title if present, otherwise the filename-based title
|
270
|
+
end
|
268
271
|
end
|
269
272
|
end
|
270
273
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gollum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.2.2
|
5
5
|
platform: ruby
|
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: 2021-03-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gollum-lib
|
@@ -17,42 +17,42 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '5.
|
20
|
+
version: '5.1'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '5.
|
27
|
+
version: '5.1'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: kramdown
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 2.
|
34
|
+
version: '2.3'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 2.
|
41
|
+
version: '2.3'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: kramdown-parser-gfm
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 1.
|
48
|
+
version: 1.1.0
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 1.
|
55
|
+
version: 1.1.0
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: sinatra
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,25 +82,19 @@ dependencies:
|
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '2.0'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
|
-
name: mustache
|
85
|
+
name: mustache-sinatra
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- - "
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: 0.99.5
|
91
|
-
- - "<"
|
88
|
+
- - "~>"
|
92
89
|
- !ruby/object:Gem::Version
|
93
|
-
version: 1.0
|
90
|
+
version: '1.0'
|
94
91
|
type: :runtime
|
95
92
|
prerelease: false
|
96
93
|
version_requirements: !ruby/object:Gem::Requirement
|
97
94
|
requirements:
|
98
|
-
- - "
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: 0.99.5
|
101
|
-
- - "<"
|
95
|
+
- - "~>"
|
102
96
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.0
|
97
|
+
version: '1.0'
|
104
98
|
- !ruby/object:Gem::Dependency
|
105
99
|
name: useragent
|
106
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,14 +129,14 @@ dependencies:
|
|
135
129
|
requirements:
|
136
130
|
- - "~>"
|
137
131
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
132
|
+
version: '12.0'
|
139
133
|
type: :runtime
|
140
134
|
prerelease: false
|
141
135
|
version_requirements: !ruby/object:Gem::Requirement
|
142
136
|
requirements:
|
143
137
|
- - "~>"
|
144
138
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
139
|
+
version: '12.0'
|
146
140
|
- !ruby/object:Gem::Dependency
|
147
141
|
name: sprockets
|
148
142
|
requirement: !ruby/object:Gem::Requirement
|
@@ -177,14 +171,14 @@ dependencies:
|
|
177
171
|
requirements:
|
178
172
|
- - "~>"
|
179
173
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
174
|
+
version: '4.2'
|
181
175
|
type: :runtime
|
182
176
|
prerelease: false
|
183
177
|
version_requirements: !ruby/object:Gem::Requirement
|
184
178
|
requirements:
|
185
179
|
- - "~>"
|
186
180
|
- !ruby/object:Gem::Version
|
187
|
-
version: '
|
181
|
+
version: '4.2'
|
188
182
|
- !ruby/object:Gem::Dependency
|
189
183
|
name: sprockets-helpers
|
190
184
|
requirement: !ruby/object:Gem::Requirement
|
@@ -227,6 +221,20 @@ dependencies:
|
|
227
221
|
- - "~>"
|
228
222
|
- !ruby/object:Gem::Version
|
229
223
|
version: 2.1.0
|
224
|
+
- !ruby/object:Gem::Dependency
|
225
|
+
name: webrick
|
226
|
+
requirement: !ruby/object:Gem::Requirement
|
227
|
+
requirements:
|
228
|
+
- - "~>"
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: '1.7'
|
231
|
+
type: :runtime
|
232
|
+
prerelease: false
|
233
|
+
version_requirements: !ruby/object:Gem::Requirement
|
234
|
+
requirements:
|
235
|
+
- - "~>"
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '1.7'
|
230
238
|
- !ruby/object:Gem::Dependency
|
231
239
|
name: rack-test
|
232
240
|
requirement: !ruby/object:Gem::Requirement
|
@@ -311,20 +319,6 @@ dependencies:
|
|
311
319
|
- - "~>"
|
312
320
|
- !ruby/object:Gem::Version
|
313
321
|
version: 3.3.0
|
314
|
-
- !ruby/object:Gem::Dependency
|
315
|
-
name: webrick
|
316
|
-
requirement: !ruby/object:Gem::Requirement
|
317
|
-
requirements:
|
318
|
-
- - "~>"
|
319
|
-
- !ruby/object:Gem::Version
|
320
|
-
version: 1.4.2
|
321
|
-
type: :development
|
322
|
-
prerelease: false
|
323
|
-
version_requirements: !ruby/object:Gem::Requirement
|
324
|
-
requirements:
|
325
|
-
- - "~>"
|
326
|
-
- !ruby/object:Gem::Version
|
327
|
-
version: 1.4.2
|
328
322
|
description: A simple, Git-powered wiki with a sweet API and local frontend.
|
329
323
|
email: tom@github.com
|
330
324
|
executables:
|
@@ -345,6 +339,7 @@ files:
|
|
345
339
|
- bin/gollum-migrate-tags
|
346
340
|
- config.rb
|
347
341
|
- config.ru
|
342
|
+
- contrib/automation/gollum-post
|
348
343
|
- contrib/openrc/conf.d/gollum
|
349
344
|
- contrib/openrc/init.d/gollum
|
350
345
|
- contrib/systemd/gollum@.service
|
@@ -354,15 +349,15 @@ files:
|
|
354
349
|
- lib/gollum/app.rb
|
355
350
|
- lib/gollum/assets.rb
|
356
351
|
- lib/gollum/helpers.rb
|
357
|
-
- lib/gollum/public/assets/.sprockets-manifest-
|
358
|
-
- lib/gollum/public/assets/app-
|
359
|
-
- lib/gollum/public/assets/app-
|
360
|
-
- lib/gollum/public/assets/app-
|
361
|
-
- lib/gollum/public/assets/app-
|
352
|
+
- lib/gollum/public/assets/.sprockets-manifest-de7bb79aec424e55af1acdcc4237b301.json
|
353
|
+
- lib/gollum/public/assets/app-0fd228e26bfbe6fe31a2da268eb0e98e780c1191c1a918adf383377946e9c838.js
|
354
|
+
- lib/gollum/public/assets/app-0fd228e26bfbe6fe31a2da268eb0e98e780c1191c1a918adf383377946e9c838.js.gz
|
355
|
+
- lib/gollum/public/assets/app-ad43ca64b295d8444b10f22ee868f18429268af498f1bc515434878b690e37a2.css
|
356
|
+
- lib/gollum/public/assets/app-ad43ca64b295d8444b10f22ee868f18429268af498f1bc515434878b690e37a2.css.gz
|
362
357
|
- lib/gollum/public/assets/criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css
|
363
358
|
- lib/gollum/public/assets/criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css.gz
|
364
|
-
- lib/gollum/public/assets/editor-
|
365
|
-
- lib/gollum/public/assets/editor-
|
359
|
+
- lib/gollum/public/assets/editor-db10c8351306e92f1926ba225d0cd9c8e886482b3b9820a85825ec3abab5f1cf.js
|
360
|
+
- lib/gollum/public/assets/editor-db10c8351306e92f1926ba225d0cd9c8e886482b3b9820a85825ec3abab5f1cf.js.gz
|
366
361
|
- lib/gollum/public/assets/print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css
|
367
362
|
- lib/gollum/public/assets/print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css.gz
|
368
363
|
- lib/gollum/public/gollum/javascript/HOWTO_UPDATE_ACE.md
|
@@ -1460,18 +1455,18 @@ files:
|
|
1460
1455
|
- lib/gollum/public/gollum/javascript/jquery-1.7.2.min.js
|
1461
1456
|
- lib/gollum/public/gollum/javascript/jquery.resize.js
|
1462
1457
|
- lib/gollum/public/gollum/javascript/mousetrap.min.js
|
1458
|
+
- lib/gollum/public/gollum/javascript/polyfills.js
|
1463
1459
|
- lib/gollum/public/gollum/stylesheets/_base.scss
|
1464
1460
|
- lib/gollum/public/gollum/stylesheets/_breakpoint.scss
|
1465
1461
|
- lib/gollum/public/gollum/stylesheets/_component.scss
|
1466
1462
|
- lib/gollum/public/gollum/stylesheets/_features.scss
|
1467
|
-
- lib/gollum/public/gollum/stylesheets/_layout.scss
|
1468
1463
|
- lib/gollum/public/gollum/stylesheets/_spinners.scss
|
1469
1464
|
- lib/gollum/public/gollum/stylesheets/app.scss
|
1470
1465
|
- lib/gollum/public/gollum/stylesheets/criticmarkup.scss
|
1471
1466
|
- lib/gollum/public/gollum/stylesheets/dialog.scss
|
1472
1467
|
- lib/gollum/public/gollum/stylesheets/editor.scss
|
1473
1468
|
- lib/gollum/public/gollum/stylesheets/emoji.scss
|
1474
|
-
- lib/gollum/public/gollum/stylesheets/primer.
|
1469
|
+
- lib/gollum/public/gollum/stylesheets/primer.css
|
1475
1470
|
- lib/gollum/public/gollum/stylesheets/print.scss
|
1476
1471
|
- lib/gollum/public/gollum/stylesheets/spinner.scss
|
1477
1472
|
- lib/gollum/public/gollum/stylesheets/tables.scss
|
@@ -1488,6 +1483,7 @@ files:
|
|
1488
1483
|
- lib/gollum/templates/history_authors/none.mustache
|
1489
1484
|
- lib/gollum/templates/latest_changes.mustache
|
1490
1485
|
- lib/gollum/templates/layout.mustache
|
1486
|
+
- lib/gollum/templates/mobilenav.mustache
|
1491
1487
|
- lib/gollum/templates/navbar.mustache
|
1492
1488
|
- lib/gollum/templates/overview.mustache
|
1493
1489
|
- lib/gollum/templates/page.mustache
|
@@ -1518,7 +1514,7 @@ homepage: http://github.com/gollum/gollum
|
|
1518
1514
|
licenses:
|
1519
1515
|
- MIT
|
1520
1516
|
metadata: {}
|
1521
|
-
post_install_message:
|
1517
|
+
post_install_message:
|
1522
1518
|
rdoc_options:
|
1523
1519
|
- "--charset=UTF-8"
|
1524
1520
|
require_paths:
|
@@ -1534,8 +1530,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1534
1530
|
- !ruby/object:Gem::Version
|
1535
1531
|
version: '0'
|
1536
1532
|
requirements: []
|
1537
|
-
rubygems_version: 3.
|
1538
|
-
signing_key:
|
1533
|
+
rubygems_version: 3.1.4
|
1534
|
+
signing_key:
|
1539
1535
|
specification_version: 2
|
1540
1536
|
summary: A simple, Git-powered wiki.
|
1541
1537
|
test_files: []
|