gollum 5.0.1 → 5.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +2 -2
- data/Gemfile +1 -1
- data/HISTORY.md +21 -0
- data/README.md +1 -0
- data/Rakefile +2 -5
- data/bin/gollum +1 -1
- data/contrib/automation/gollum-post +66 -0
- data/gollum.gemspec +21 -17
- data/lib/gollum.rb +17 -1
- data/lib/gollum/app.rb +63 -31
- data/lib/gollum/assets.rb +3 -3
- data/lib/gollum/helpers.rb +1 -1
- data/lib/gollum/public/assets/.sprockets-manifest-15b663a27211dc9de9a452b4b74462d7.json +1 -0
- data/lib/gollum/public/assets/app-7a0bbff2e8bad3033e7c17e0e0f886f336a9d23d3b912dcd2ae389c48b4b63e6.css +21 -0
- data/lib/gollum/public/assets/app-7a0bbff2e8bad3033e7c17e0e0f886f336a9d23d3b912dcd2ae389c48b4b63e6.css.gz +0 -0
- data/lib/gollum/public/assets/app-7a4bd115f4bc7ece39bc8073ca0ffad7c5e55cc5837b1464a12dead4905cefb2.js +5 -0
- data/lib/gollum/public/assets/app-7a4bd115f4bc7ece39bc8073ca0ffad7c5e55cc5837b1464a12dead4905cefb2.js.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/editor/gollum.editor.js +59 -0
- data/lib/gollum/public/gollum/javascript/editor/modes.js.erb +1 -1
- data/lib/gollum/public/gollum/javascript/gollum.js.erb +16 -15
- data/lib/gollum/public/gollum/javascript/polyfills.js +6 -0
- 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/commit.mustache +26 -0
- data/lib/gollum/templates/editor.mustache +7 -2
- data/lib/gollum/templates/history.mustache +5 -2
- data/lib/gollum/templates/latest_changes.mustache +8 -6
- data/lib/gollum/templates/layout.mustache +4 -5
- data/lib/gollum/templates/mobilenav.mustache +72 -0
- data/lib/gollum/templates/navbar.mustache +104 -42
- data/lib/gollum/templates/overview.mustache +2 -2
- data/lib/gollum/templates/search.mustache +2 -3
- data/lib/gollum/templates/wiki_content.mustache +18 -17
- data/lib/gollum/views/commit.rb +45 -0
- data/lib/gollum/views/compare.rb +19 -8
- data/lib/gollum/views/has_page.rb +0 -4
- data/lib/gollum/views/helpers.rb +13 -3
- data/lib/gollum/views/history.rb +4 -1
- data/lib/gollum/views/latest_changes.rb +1 -0
- data/lib/gollum/views/layout.rb +17 -1
- data/lib/gollum/views/overview.rb +6 -5
- data/lib/gollum/views/page.rb +15 -8
- data/lib/gollum/views/search.rb +2 -1
- metadata +33 -35
- data/lib/gollum/public/assets/.sprockets-manifest-3edc7e21737459b21fbf150f5dccd15c.json +0 -1
- data/lib/gollum/public/assets/app-982c7fca1832732a24e92474ca2729aeb56f2d0c05bb7a8ff913e9f58a6500d5.js +0 -5
- data/lib/gollum/public/assets/app-982c7fca1832732a24e92474ca2729aeb56f2d0c05bb7a8ff913e9f58a6500d5.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-0dbae28c53db5a73d666d30504946671eb09948ffdaf1fdd9d1c8d856d4c0ba1.js +0 -24
- data/lib/gollum/public/assets/editor-0dbae28c53db5a73d666d30504946671eb09948ffdaf1fdd9d1c8d856d4c0ba1.js.gz +0 -0
- data/lib/gollum/public/gollum/stylesheets/_layout.scss +0 -83
- data/lib/gollum/public/gollum/stylesheets/primer.scss +0 -23
@@ -0,0 +1,45 @@
|
|
1
|
+
require_relative 'compare.rb'
|
2
|
+
|
3
|
+
module Precious
|
4
|
+
module Views
|
5
|
+
class Commit < Compare
|
6
|
+
|
7
|
+
attr_reader :version
|
8
|
+
|
9
|
+
def title
|
10
|
+
"Changes in #{@version[0..6]}: #{message}"
|
11
|
+
end
|
12
|
+
|
13
|
+
def author
|
14
|
+
@commit.author.name
|
15
|
+
end
|
16
|
+
|
17
|
+
def authored_date
|
18
|
+
@commit.authored_date
|
19
|
+
end
|
20
|
+
|
21
|
+
def message
|
22
|
+
@commit.message
|
23
|
+
end
|
24
|
+
|
25
|
+
def files
|
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
|
+
|
32
|
+
files.map do |diff|
|
33
|
+
match = diff.match(%r{^diff --git (")?[ab]/(.+)(?(1)") (")?[ab]/(.+)(?(3)")})
|
34
|
+
path = match[2]
|
35
|
+
path = match[4] if path.nil?
|
36
|
+
|
37
|
+
{
|
38
|
+
path: path,
|
39
|
+
lines: lines(diff)
|
40
|
+
}
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
data/lib/gollum/views/compare.rb
CHANGED
@@ -17,18 +17,23 @@ module Precious
|
|
17
17
|
@versions[1][0..6]
|
18
18
|
end
|
19
19
|
|
20
|
-
def lines
|
20
|
+
def lines(diff = @diff)
|
21
21
|
lines = []
|
22
|
-
lines_to_parse =
|
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
@@ -39,7 +39,7 @@ module Precious
|
|
39
39
|
route_path = "#{prefix}/#{path}"
|
40
40
|
@@route_methods[name.to_s] = route_path
|
41
41
|
define_method :"#{name.to_s}_path" do
|
42
|
-
|
42
|
+
page_route(route_path)
|
43
43
|
end
|
44
44
|
end
|
45
45
|
end
|
@@ -53,8 +53,18 @@ module Precious
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
-
def page_route(page)
|
57
|
-
"
|
56
|
+
def page_route(page = nil)
|
57
|
+
clean_url("/#{@base_url}", page)
|
58
|
+
end
|
59
|
+
|
60
|
+
def clean_url(*url)
|
61
|
+
url.compact!
|
62
|
+
return nil if url.empty?
|
63
|
+
|
64
|
+
_url = ::File.join(*url)
|
65
|
+
_url.gsub!(%r{/{2,}}, '/')
|
66
|
+
_url.gsub!(%r{\?}, '%3F')
|
67
|
+
_url
|
58
68
|
end
|
59
69
|
end
|
60
70
|
|
data/lib/gollum/views/history.rb
CHANGED
@@ -17,15 +17,18 @@ module Precious
|
|
17
17
|
i = @versions.size + 1
|
18
18
|
@versions.map do |v|
|
19
19
|
i -= 1
|
20
|
+
filename = path_for_version(v.tracked_pathname)
|
20
21
|
{ :id => v.id,
|
21
22
|
:id7 => v.id[0..6],
|
23
|
+
:href => page_route("gollum/commit/#{v.id}"),
|
24
|
+
:href_page => page_route("#{filename}/#{v.id}"),
|
22
25
|
:num => i,
|
23
26
|
:selected => @page.version.id == v.id,
|
24
27
|
:author => v.author.name.respond_to?(:force_encoding) ? v.author.name.force_encoding('UTF-8') : v.author.name,
|
25
28
|
:message => v.message.respond_to?(:force_encoding) ? v.message.force_encoding('UTF-8') : v.message,
|
26
29
|
:date => v.authored_date.strftime("%B %d, %Y"),
|
27
30
|
:user_icon => self.user_icon_code(v.author.email),
|
28
|
-
:filename =>
|
31
|
+
:filename => filename,
|
29
32
|
:date_full => v.authored_date,
|
30
33
|
}
|
31
34
|
end
|
@@ -16,6 +16,7 @@ module Precious
|
|
16
16
|
i -= 1
|
17
17
|
{ :id => v.id,
|
18
18
|
:id7 => v.id[0..6],
|
19
|
+
:href => page_route("gollum/commit/#{v.id}"),
|
19
20
|
:num => i,
|
20
21
|
:author => v.author.name.respond_to?(:force_encoding) ? v.author.name.force_encoding('UTF-8') : v.author.name,
|
21
22
|
:message => v.message.respond_to?(:force_encoding) ? v.message.force_encoding('UTF-8') : v.message,
|
data/lib/gollum/views/layout.rb
CHANGED
@@ -31,7 +31,23 @@ module Precious
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def custom_path
|
34
|
-
|
34
|
+
@base_url
|
35
|
+
end
|
36
|
+
|
37
|
+
def custom_css
|
38
|
+
clean_url(custom_path, "custom.css")
|
39
|
+
end
|
40
|
+
|
41
|
+
def custom_js
|
42
|
+
clean_url(custom_path, "custom.js")
|
43
|
+
end
|
44
|
+
|
45
|
+
def mathjax_config_path
|
46
|
+
page_route(@mathjax_config)
|
47
|
+
end
|
48
|
+
|
49
|
+
def mathjax_js
|
50
|
+
page_route("gollum/assets/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML")
|
35
51
|
end
|
36
52
|
|
37
53
|
def css # custom css
|
@@ -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
|
-
file_url =
|
56
|
-
files_and_folders << {name: result.filename, icon: rocticon('file'), type: 'file', url: file_url, is_file: true}
|
55
|
+
elsif !HIDDEN_PATHS.include?(result_path)
|
56
|
+
file_url = page_route(result.escaped_url_path)
|
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
|
@@ -169,6 +168,10 @@ module Precious
|
|
169
168
|
@navbar
|
170
169
|
end
|
171
170
|
|
171
|
+
def full_url_path
|
172
|
+
page_route(@page.escaped_url_path)
|
173
|
+
end
|
174
|
+
|
172
175
|
# Access to embedded metadata.
|
173
176
|
#
|
174
177
|
# Returns Hash.
|
@@ -261,6 +264,10 @@ module Precious
|
|
261
264
|
result << "</tr>\n</table>\n"
|
262
265
|
end
|
263
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
|
264
271
|
end
|
265
272
|
end
|
266
273
|
end
|
data/lib/gollum/views/search.rb
CHANGED
@@ -5,7 +5,7 @@ module Precious
|
|
5
5
|
include Pagination
|
6
6
|
|
7
7
|
def results
|
8
|
-
@results.sort do |a, b|
|
8
|
+
sorted = @results.sort do |a, b|
|
9
9
|
if b.nil?
|
10
10
|
b_filename_count = 0
|
11
11
|
b_count = 0
|
@@ -15,6 +15,7 @@ module Precious
|
|
15
15
|
end
|
16
16
|
[a[:filename_count], a[:count]] <=> [b_filename_count, b_count]
|
17
17
|
end.reverse.slice((@page_num - 1) * @max_count, @max_count)
|
18
|
+
sorted.each {|x| x[:href] = page_route(x[:name])}
|
18
19
|
end
|
19
20
|
|
20
21
|
def query_string
|
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: 5.
|
4
|
+
version: 5.2.1
|
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-02-25 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
|
@@ -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-15b663a27211dc9de9a452b4b74462d7.json
|
353
|
+
- lib/gollum/public/assets/app-7a0bbff2e8bad3033e7c17e0e0f886f336a9d23d3b912dcd2ae389c48b4b63e6.css
|
354
|
+
- lib/gollum/public/assets/app-7a0bbff2e8bad3033e7c17e0e0f886f336a9d23d3b912dcd2ae389c48b4b63e6.css.gz
|
355
|
+
- lib/gollum/public/assets/app-7a4bd115f4bc7ece39bc8073ca0ffad7c5e55cc5837b1464a12dead4905cefb2.js
|
356
|
+
- lib/gollum/public/assets/app-7a4bd115f4bc7ece39bc8073ca0ffad7c5e55cc5837b1464a12dead4905cefb2.js.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,22 +1455,23 @@ 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
|
1478
1473
|
- lib/gollum/public/gollum/stylesheets/template.scss.erb
|
1474
|
+
- lib/gollum/templates/commit.mustache
|
1479
1475
|
- lib/gollum/templates/compare.mustache
|
1480
1476
|
- lib/gollum/templates/create.mustache
|
1481
1477
|
- lib/gollum/templates/edit.mustache
|
@@ -1487,6 +1483,7 @@ files:
|
|
1487
1483
|
- lib/gollum/templates/history_authors/none.mustache
|
1488
1484
|
- lib/gollum/templates/latest_changes.mustache
|
1489
1485
|
- lib/gollum/templates/layout.mustache
|
1486
|
+
- lib/gollum/templates/mobilenav.mustache
|
1490
1487
|
- lib/gollum/templates/navbar.mustache
|
1491
1488
|
- lib/gollum/templates/overview.mustache
|
1492
1489
|
- lib/gollum/templates/page.mustache
|
@@ -1495,6 +1492,7 @@ files:
|
|
1495
1492
|
- lib/gollum/templates/searchbar.mustache
|
1496
1493
|
- lib/gollum/templates/wiki_content.mustache
|
1497
1494
|
- lib/gollum/uri_encode_component.rb
|
1495
|
+
- lib/gollum/views/commit.rb
|
1498
1496
|
- lib/gollum/views/compare.rb
|
1499
1497
|
- lib/gollum/views/create.rb
|
1500
1498
|
- lib/gollum/views/edit.rb
|
@@ -1516,7 +1514,7 @@ homepage: http://github.com/gollum/gollum
|
|
1516
1514
|
licenses:
|
1517
1515
|
- MIT
|
1518
1516
|
metadata: {}
|
1519
|
-
post_install_message:
|
1517
|
+
post_install_message:
|
1520
1518
|
rdoc_options:
|
1521
1519
|
- "--charset=UTF-8"
|
1522
1520
|
require_paths:
|
@@ -1533,7 +1531,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1533
1531
|
version: '0'
|
1534
1532
|
requirements: []
|
1535
1533
|
rubygems_version: 3.0.3
|
1536
|
-
signing_key:
|
1534
|
+
signing_key:
|
1537
1535
|
specification_version: 2
|
1538
1536
|
summary: A simple, Git-powered wiki.
|
1539
1537
|
test_files: []
|