gollum 5.2.3 → 5.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +41 -0
- data/Gemfile +18 -4
- data/HISTORY.md +20 -3
- data/LATEST_CHANGES.md +13 -0
- data/README.md +38 -26
- data/Rakefile +55 -12
- data/bin/gollum +6 -4
- data/bin/gollum-migrate-tags +40 -28
- data/docker-run.sh +18 -0
- data/gollum.gemspec +20 -15
- data/lib/gollum/app.rb +65 -42
- data/lib/gollum/public/assets/.sprockets-manifest-160337b312f8e438181baac4aaa37319.json +1 -0
- data/lib/gollum/public/assets/{app-ad43ca64b295d8444b10f22ee868f18429268af498f1bc515434878b690e37a2.css → app-309be032396e783b13a47df58f389b7c8e11c2b2d42640560b874f677c25f6e5.css} +1 -1
- data/lib/gollum/public/assets/{app-ad43ca64b295d8444b10f22ee868f18429268af498f1bc515434878b690e37a2.css.gz → app-309be032396e783b13a47df58f389b7c8e11c2b2d42640560b874f677c25f6e5.css.gz} +0 -0
- data/lib/gollum/public/assets/{app-0fd228e26bfbe6fe31a2da268eb0e98e780c1191c1a918adf383377946e9c838.js → app-f05401ee374f0c7f48fc2bc08e30b4f4db705861fd5895ed70998683b383bfb5.js} +2 -2
- data/lib/gollum/public/assets/{app-0fd228e26bfbe6fe31a2da268eb0e98e780c1191c1a918adf383377946e9c838.js.gz → app-f05401ee374f0c7f48fc2bc08e30b4f4db705861fd5895ed70998683b383bfb5.js.gz} +0 -0
- data/lib/gollum/public/assets/criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css.gz +0 -0
- data/lib/gollum/public/assets/{editor-db10c8351306e92f1926ba225d0cd9c8e886482b3b9820a85825ec3abab5f1cf.js → editor-9881d0c7ae663293f0e3a7e72729eec7e940fa613185c076709b76d292f5703a.js} +2 -2
- data/lib/gollum/public/assets/{editor-db10c8351306e92f1926ba225d0cd9c8e886482b3b9820a85825ec3abab5f1cf.js.gz → editor-9881d0c7ae663293f0e3a7e72729eec7e940fa613185c076709b76d292f5703a.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/date.min.js +123 -0
- data/lib/gollum/public/gollum/javascript/editor/gollum.editor.js +1 -1
- data/lib/gollum/public/gollum/javascript/gollum.js.erb +20 -2
- data/lib/gollum/public/gollum/stylesheets/editor.scss +1 -0
- data/lib/gollum/public/gollum/stylesheets/template.scss.erb +8 -0
- data/lib/gollum/templates/commit.mustache +4 -2
- data/lib/gollum/templates/compare.mustache +10 -4
- data/lib/gollum/templates/create.mustache +7 -4
- data/lib/gollum/templates/edit.mustache +7 -4
- data/lib/gollum/templates/history.mustache +10 -3
- data/lib/gollum/templates/latest_changes.mustache +8 -5
- data/lib/gollum/templates/layout.mustache +1 -0
- data/lib/gollum/templates/navbar.mustache +9 -2
- data/lib/gollum/templates/overview.mustache +7 -4
- data/lib/gollum/templates/search.mustache +7 -1
- data/lib/gollum/templates/wiki_content.mustache +4 -2
- data/lib/gollum/views/commit.rb +4 -0
- data/lib/gollum/views/create.rb +3 -2
- data/lib/gollum/views/edit.rb +2 -5
- data/lib/gollum/views/has_math.rb +11 -0
- data/lib/gollum/views/helpers/locale_helpers.rb +82 -0
- data/lib/gollum/views/history.rb +17 -12
- data/lib/gollum/views/latest_changes.rb +15 -10
- data/lib/gollum/views/layout.rb +18 -3
- data/lib/gollum/views/page.rb +24 -20
- data/lib/gollum/views/template_cascade.rb +29 -0
- data/lib/gollum.rb +10 -6
- metadata +57 -30
- data/lib/gollum/public/assets/.sprockets-manifest-de7bb79aec424e55af1acdcc4237b301.json +0 -1
@@ -0,0 +1,82 @@
|
|
1
|
+
module Precious
|
2
|
+
module Views
|
3
|
+
module LocaleHelpers
|
4
|
+
NO_METHOD_MESSAGE = 'Argument must be a view method'
|
5
|
+
YAML_VARIABLE_REGEXP = /\%\{[\w]+\}/
|
6
|
+
|
7
|
+
# Returns all I18n translation strings for the current view class.
|
8
|
+
# This method support YAML arguments. For example:
|
9
|
+
#
|
10
|
+
# last_edited: This content was last edited at %{date}.
|
11
|
+
#
|
12
|
+
# Where the `date` argument must be a method available on the current
|
13
|
+
# class.
|
14
|
+
#
|
15
|
+
# Use this interface within Mustache templates to render any user
|
16
|
+
# interface strings in the current locale. For example:
|
17
|
+
#
|
18
|
+
# {{ t.last_edited }}
|
19
|
+
#
|
20
|
+
def t
|
21
|
+
autofill I18n.t(locale_klass_name)
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
# Recursively looks up I18n translation values and autofills any YAML
|
27
|
+
# arguments with the return value of the current class's matching method.
|
28
|
+
#
|
29
|
+
# When a translation value with an argument has no matching method, we
|
30
|
+
# then return that value transformed to include the `no_method_message`
|
31
|
+
#
|
32
|
+
def autofill(yaml)
|
33
|
+
yaml.map { |i18n_key, i18n_value|
|
34
|
+
if i18n_value.is_a? Hash
|
35
|
+
[i18n_key, autofill(i18n_value)]
|
36
|
+
elsif has_arguments?(i18n_value)
|
37
|
+
fill_argument_content(i18n_key, i18n_value)
|
38
|
+
else
|
39
|
+
[i18n_key, i18n_value]
|
40
|
+
end
|
41
|
+
}.to_h
|
42
|
+
end
|
43
|
+
|
44
|
+
def fill_argument_content(i18n_key, i18n_value)
|
45
|
+
i18n_value = i18n_value.gsub(YAML_VARIABLE_REGEXP) do |argument|
|
46
|
+
method_name = argument.gsub(/[^\w]/, '')
|
47
|
+
|
48
|
+
next if method_name.nil?
|
49
|
+
|
50
|
+
begin
|
51
|
+
self.public_send(method_name)
|
52
|
+
rescue NoMethodError => error
|
53
|
+
no_method_message(method_name)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
[i18n_key, i18n_value]
|
58
|
+
end
|
59
|
+
|
60
|
+
def has_arguments?(i18n_value)
|
61
|
+
i18n_value.match?(YAML_VARIABLE_REGEXP)
|
62
|
+
end
|
63
|
+
|
64
|
+
# Returns the current class name in a format that is acceptable in YAML.
|
65
|
+
# To summarize its function:
|
66
|
+
#
|
67
|
+
# NameOfConstant => name_of_constant
|
68
|
+
#
|
69
|
+
def locale_klass_name
|
70
|
+
@locale_klass_name ||= self.class.name.gsub(/::/, '/').
|
71
|
+
gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
|
72
|
+
gsub(/([a-z\d])([A-Z])/,'\1_\2').
|
73
|
+
tr('-', '_').
|
74
|
+
downcase
|
75
|
+
end
|
76
|
+
|
77
|
+
def no_method_message(method_name, message = NO_METHOD_MESSAGE)
|
78
|
+
"[#{message}: #{method_name}]"
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
data/lib/gollum/views/history.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
module Precious
|
2
2
|
module Views
|
3
3
|
class History < Layout
|
4
|
+
DATE_FORMAT = '%B %d, %Y'
|
5
|
+
|
4
6
|
include HasPage
|
5
7
|
include Pagination
|
6
8
|
include HasUserIcons
|
@@ -18,18 +20,21 @@ module Precious
|
|
18
20
|
@versions.map do |v|
|
19
21
|
i -= 1
|
20
22
|
filename = path_for_version(v.tracked_pathname)
|
21
|
-
|
22
|
-
|
23
|
-
:
|
24
|
-
:
|
25
|
-
:
|
26
|
-
:
|
27
|
-
:
|
28
|
-
:
|
29
|
-
:
|
30
|
-
:
|
31
|
-
:
|
32
|
-
:
|
23
|
+
authored_date = v.authored_date
|
24
|
+
{ :id => v.id,
|
25
|
+
:id7 => v.id[0..6],
|
26
|
+
:href => page_route("gollum/commit/#{v.id}"),
|
27
|
+
:href_page => page_route("#{filename}/#{v.id}"),
|
28
|
+
:num => i,
|
29
|
+
:selected => @page.version.id == v.id,
|
30
|
+
:author => v.author.name.respond_to?(:force_encoding) ? v.author.name.force_encoding('UTF-8') : v.author.name,
|
31
|
+
:message => v.message.respond_to?(:force_encoding) ? v.message.force_encoding('UTF-8') : v.message,
|
32
|
+
:date_full => authored_date,
|
33
|
+
:date => authored_date.strftime(DATE_FORMAT),
|
34
|
+
:datetime => authored_date.utc.iso8601,
|
35
|
+
:date_format => DATE_FORMAT,
|
36
|
+
:user_icon => self.user_icon_code(v.author.email),
|
37
|
+
:filename => filename
|
33
38
|
}
|
34
39
|
end
|
35
40
|
end
|
@@ -1,6 +1,8 @@
|
|
1
1
|
module Precious
|
2
2
|
module Views
|
3
3
|
class LatestChanges < Layout
|
4
|
+
DATE_FORMAT = '%B %d, %Y'
|
5
|
+
|
4
6
|
include Pagination
|
5
7
|
include HasUserIcons
|
6
8
|
|
@@ -14,16 +16,19 @@ module Precious
|
|
14
16
|
i = @versions.size + 1
|
15
17
|
@versions.map do |v|
|
16
18
|
i -= 1
|
17
|
-
|
18
|
-
|
19
|
-
:
|
20
|
-
:
|
21
|
-
:
|
22
|
-
:
|
23
|
-
:
|
24
|
-
:
|
25
|
-
:
|
26
|
-
:
|
19
|
+
authored_date = v.authored_date
|
20
|
+
{ :id => v.id,
|
21
|
+
:id7 => v.id[0..6],
|
22
|
+
:href => page_route("gollum/commit/#{v.id}"),
|
23
|
+
:num => i,
|
24
|
+
:author => v.author.name.respond_to?(:force_encoding) ? v.author.name.force_encoding('UTF-8') : v.author.name,
|
25
|
+
:message => v.message.respond_to?(:force_encoding) ? v.message.force_encoding('UTF-8') : v.message,
|
26
|
+
:date_full => authored_date,
|
27
|
+
:date => authored_date.strftime(DATE_FORMAT),
|
28
|
+
:datetime => authored_date.utc.iso8601,
|
29
|
+
:date_format => DATE_FORMAT,
|
30
|
+
:user_icon => self.user_icon_code(v.author.email),
|
31
|
+
:files => v.stats.files.map { |f|
|
27
32
|
new_path = extract_page_dir(f[:new_file])
|
28
33
|
{ :file => new_path,
|
29
34
|
:link => "#{page_route(new_path)}/#{v.id}",
|
data/lib/gollum/views/layout.rb
CHANGED
@@ -3,17 +3,28 @@ require 'cgi'
|
|
3
3
|
module Precious
|
4
4
|
module Views
|
5
5
|
class Layout < Mustache
|
6
|
-
include Rack::Utils
|
7
6
|
include Sprockets::Helpers
|
8
7
|
include Precious::Views::AppHelpers
|
8
|
+
include Precious::Views::LocaleHelpers
|
9
9
|
include Precious::Views::SprocketsHelpers
|
10
10
|
include Precious::Views::RouteHelpers
|
11
11
|
include Precious::Views::OcticonHelpers
|
12
|
-
|
13
|
-
alias_method :h, :escape_html
|
14
12
|
|
15
13
|
attr_reader :name, :path
|
16
14
|
|
15
|
+
self.extend Precious::Views::TemplateCascade
|
16
|
+
|
17
|
+
# Method should track lib/mustache.rb from Mustache project.
|
18
|
+
def partial(name)
|
19
|
+
path = self.class.first_path_available(name)
|
20
|
+
begin
|
21
|
+
File.read(path)
|
22
|
+
rescue
|
23
|
+
raise if raise_on_context_miss?
|
24
|
+
""
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
17
28
|
def escaped_name
|
18
29
|
CGI.escape(@name)
|
19
30
|
end
|
@@ -66,6 +77,10 @@ module Precious
|
|
66
77
|
@per_page_uploads
|
67
78
|
end
|
68
79
|
|
80
|
+
def show_local_time
|
81
|
+
@show_local_time ? 'true' : 'false'
|
82
|
+
end
|
83
|
+
|
69
84
|
# Navigation bar
|
70
85
|
def search
|
71
86
|
false
|
data/lib/gollum/views/page.rb
CHANGED
@@ -2,8 +2,9 @@ module Precious
|
|
2
2
|
module Views
|
3
3
|
class Page < Layout
|
4
4
|
include HasPage
|
5
|
+
include HasMath
|
5
6
|
|
6
|
-
attr_reader :content, :page, :header, :footer, :preview, :historical
|
7
|
+
attr_reader :content, :page, :header, :footer, :preview, :historical, :version
|
7
8
|
|
8
9
|
VALID_COUNTER_STYLES = ['decimal', 'decimal-leading-zero', 'arabic-indic', 'armenian', 'upper-armenian',
|
9
10
|
'lower-armenian', 'bengali', 'cambodian', 'khmer', 'cjk-decimal', 'devanagari', 'georgian', 'gujarati', 'gurmukhi',
|
@@ -14,7 +15,6 @@ module Precious
|
|
14
15
|
|
15
16
|
DATE_FORMAT = "%Y-%m-%d %H:%M:%S"
|
16
17
|
DEFAULT_AUTHOR = 'you'
|
17
|
-
@@to_xml = { :save_with => Nokogiri::XML::Node::SaveOptions::DEFAULT_XHTML ^ 1, :indent => 0, :encoding => 'UTF-8' }
|
18
18
|
|
19
19
|
def title
|
20
20
|
h1 = @h1_title ? page_header_from_content(@content) : false
|
@@ -47,11 +47,23 @@ module Precious
|
|
47
47
|
return DEFAULT_AUTHOR unless first
|
48
48
|
first.author.name.respond_to?(:force_encoding) ? first.author.name.force_encoding('UTF-8') : first.author.name
|
49
49
|
end
|
50
|
+
|
51
|
+
def date_full
|
52
|
+
first = @version ? page.version : page.last_version
|
53
|
+
return Time.now unless first
|
54
|
+
first.authored_date
|
55
|
+
end
|
50
56
|
|
51
57
|
def date
|
52
|
-
|
53
|
-
|
54
|
-
|
58
|
+
date_full.strftime(DATE_FORMAT)
|
59
|
+
end
|
60
|
+
|
61
|
+
def datetime
|
62
|
+
date_full.utc.iso8601
|
63
|
+
end
|
64
|
+
|
65
|
+
def date_format
|
66
|
+
DATE_FORMAT
|
55
67
|
end
|
56
68
|
|
57
69
|
def noindex
|
@@ -61,11 +73,11 @@ module Precious
|
|
61
73
|
def editable
|
62
74
|
@editable
|
63
75
|
end
|
64
|
-
|
76
|
+
|
65
77
|
def search
|
66
78
|
true
|
67
79
|
end
|
68
|
-
|
80
|
+
|
69
81
|
def history
|
70
82
|
true
|
71
83
|
end
|
@@ -73,11 +85,11 @@ module Precious
|
|
73
85
|
def latest_changes
|
74
86
|
true
|
75
87
|
end
|
76
|
-
|
88
|
+
|
77
89
|
def overview
|
78
|
-
true
|
90
|
+
true
|
79
91
|
end
|
80
|
-
|
92
|
+
|
81
93
|
def allow_editing
|
82
94
|
@allow_editing
|
83
95
|
end
|
@@ -157,14 +169,6 @@ module Precious
|
|
157
169
|
@toc_content
|
158
170
|
end
|
159
171
|
|
160
|
-
def mathjax
|
161
|
-
@mathjax
|
162
|
-
end
|
163
|
-
|
164
|
-
def mathjax_config
|
165
|
-
@mathjax_config
|
166
|
-
end
|
167
|
-
|
168
172
|
def use_identicon
|
169
173
|
@page.wiki.user_icons == 'identicon'
|
170
174
|
end
|
@@ -182,7 +186,7 @@ module Precious
|
|
182
186
|
# Returns Hash.
|
183
187
|
def metadata
|
184
188
|
@page.metadata
|
185
|
-
end
|
189
|
+
end
|
186
190
|
|
187
191
|
# Access to embedded metadata.
|
188
192
|
#
|
@@ -247,7 +251,7 @@ module Precious
|
|
247
251
|
title.remove unless title.empty?
|
248
252
|
end
|
249
253
|
# .inner_html will cause href escaping on UTF-8
|
250
|
-
doc.css("div#gollum-root").children.to_xml(
|
254
|
+
doc.css("div#gollum-root").children.to_xml(Gollum::Markup.to_xml_opts)
|
251
255
|
end
|
252
256
|
|
253
257
|
def table(data)
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module Precious
|
2
|
+
module Views
|
3
|
+
module TemplateCascade
|
4
|
+
def template_priority_path
|
5
|
+
@@template_priority_path ||= nil
|
6
|
+
end
|
7
|
+
|
8
|
+
def template_priority_path=(path)
|
9
|
+
@@template_priority_path = File.expand_path(path)
|
10
|
+
@template = nil
|
11
|
+
end
|
12
|
+
|
13
|
+
def first_path_available(name)
|
14
|
+
default = File.join(template_path, "#{name}.#{template_extension}")
|
15
|
+
priority =
|
16
|
+
if template_priority_path
|
17
|
+
File.join(template_priority_path, "#{name}.#{template_extension}")
|
18
|
+
end
|
19
|
+
|
20
|
+
priority && File.exist?(priority) ? priority : default
|
21
|
+
end
|
22
|
+
|
23
|
+
# Method should track lib/mustache/settings.rb from Mustache project.
|
24
|
+
def template_file
|
25
|
+
@template_file || first_path_available(template_name)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
data/lib/gollum.rb
CHANGED
@@ -5,19 +5,23 @@ require 'digest/sha1'
|
|
5
5
|
require 'ostruct'
|
6
6
|
|
7
7
|
# external
|
8
|
+
require 'i18n'
|
8
9
|
require 'github/markup'
|
9
10
|
require 'rhino' if RUBY_PLATFORM == 'java'
|
10
11
|
|
11
12
|
# internal
|
12
|
-
require File.expand_path('../gollum/uri_encode_component', __FILE__)
|
13
|
+
require ::File.expand_path('../gollum/uri_encode_component', __FILE__)
|
13
14
|
|
14
15
|
module Gollum
|
15
|
-
VERSION = '5.
|
16
|
+
VERSION = '5.3.1'
|
17
|
+
|
18
|
+
::I18n.available_locales = [:en]
|
19
|
+
::I18n.load_path = Dir[::File.expand_path("lib/gollum/locales") + "/*.yml"]
|
16
20
|
|
17
21
|
def self.assets_path
|
18
22
|
::File.expand_path('gollum/public', ::File.dirname(__FILE__))
|
19
23
|
end
|
20
|
-
|
24
|
+
|
21
25
|
class TemplateFilter
|
22
26
|
@@filters = {}
|
23
27
|
|
@@ -25,12 +29,12 @@ module Gollum
|
|
25
29
|
@@filters[pattern] = replacement
|
26
30
|
end
|
27
31
|
|
28
|
-
def self.apply_filters(data)
|
32
|
+
def self.apply_filters(wiki_page, data)
|
29
33
|
@@filters.each do |pattern, replacement|
|
30
|
-
|
34
|
+
params = replacement.parameters.length == 0 ? nil : wiki_page
|
35
|
+
data.gsub!(pattern, replacement.call(*params))
|
31
36
|
end
|
32
37
|
data
|
33
38
|
end
|
34
39
|
end
|
35
|
-
|
36
40
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gollum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
@@ -9,22 +9,42 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-03-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: rdoc
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '6'
|
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: '
|
27
|
+
version: '6'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: gollum-lib
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 5.2.3
|
35
|
+
- - "<"
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '6.0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 5.2.3
|
45
|
+
- - "<"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '6.0'
|
28
48
|
- !ruby/object:Gem::Dependency
|
29
49
|
name: kramdown
|
30
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,14 +107,14 @@ dependencies:
|
|
87
107
|
requirements:
|
88
108
|
- - "~>"
|
89
109
|
- !ruby/object:Gem::Version
|
90
|
-
version: '
|
110
|
+
version: '2.0'
|
91
111
|
type: :runtime
|
92
112
|
prerelease: false
|
93
113
|
version_requirements: !ruby/object:Gem::Requirement
|
94
114
|
requirements:
|
95
115
|
- - "~>"
|
96
116
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
117
|
+
version: '2.0'
|
98
118
|
- !ruby/object:Gem::Dependency
|
99
119
|
name: useragent
|
100
120
|
requirement: !ruby/object:Gem::Requirement
|
@@ -236,61 +256,61 @@ dependencies:
|
|
236
256
|
- !ruby/object:Gem::Version
|
237
257
|
version: '1.7'
|
238
258
|
- !ruby/object:Gem::Dependency
|
239
|
-
name:
|
259
|
+
name: i18n
|
240
260
|
requirement: !ruby/object:Gem::Requirement
|
241
261
|
requirements:
|
242
262
|
- - "~>"
|
243
263
|
- !ruby/object:Gem::Version
|
244
|
-
version:
|
245
|
-
type: :
|
264
|
+
version: '1.8'
|
265
|
+
type: :runtime
|
246
266
|
prerelease: false
|
247
267
|
version_requirements: !ruby/object:Gem::Requirement
|
248
268
|
requirements:
|
249
269
|
- - "~>"
|
250
270
|
- !ruby/object:Gem::Version
|
251
|
-
version:
|
271
|
+
version: '1.8'
|
252
272
|
- !ruby/object:Gem::Dependency
|
253
|
-
name:
|
273
|
+
name: rack-test
|
254
274
|
requirement: !ruby/object:Gem::Requirement
|
255
275
|
requirements:
|
256
276
|
- - "~>"
|
257
277
|
- !ruby/object:Gem::Version
|
258
|
-
version:
|
278
|
+
version: 0.6.3
|
259
279
|
type: :development
|
260
280
|
prerelease: false
|
261
281
|
version_requirements: !ruby/object:Gem::Requirement
|
262
282
|
requirements:
|
263
283
|
- - "~>"
|
264
284
|
- !ruby/object:Gem::Version
|
265
|
-
version:
|
285
|
+
version: 0.6.3
|
266
286
|
- !ruby/object:Gem::Dependency
|
267
|
-
name:
|
287
|
+
name: shoulda
|
268
288
|
requirement: !ruby/object:Gem::Requirement
|
269
289
|
requirements:
|
270
290
|
- - "~>"
|
271
291
|
- !ruby/object:Gem::Version
|
272
|
-
version:
|
292
|
+
version: 3.6.0
|
273
293
|
type: :development
|
274
294
|
prerelease: false
|
275
295
|
version_requirements: !ruby/object:Gem::Requirement
|
276
296
|
requirements:
|
277
297
|
- - "~>"
|
278
298
|
- !ruby/object:Gem::Version
|
279
|
-
version:
|
299
|
+
version: 3.6.0
|
280
300
|
- !ruby/object:Gem::Dependency
|
281
|
-
name:
|
301
|
+
name: minitest-reporters
|
282
302
|
requirement: !ruby/object:Gem::Requirement
|
283
303
|
requirements:
|
284
304
|
- - "~>"
|
285
305
|
- !ruby/object:Gem::Version
|
286
|
-
version: 3.
|
306
|
+
version: 1.3.6
|
287
307
|
type: :development
|
288
308
|
prerelease: false
|
289
309
|
version_requirements: !ruby/object:Gem::Requirement
|
290
310
|
requirements:
|
291
311
|
- - "~>"
|
292
312
|
- !ruby/object:Gem::Version
|
293
|
-
version: 3.
|
313
|
+
version: 1.3.6
|
294
314
|
- !ruby/object:Gem::Dependency
|
295
315
|
name: mocha
|
296
316
|
requirement: !ruby/object:Gem::Requirement
|
@@ -330,8 +350,10 @@ extra_rdoc_files:
|
|
330
350
|
- LICENSE
|
331
351
|
files:
|
332
352
|
- CONTRIBUTING.md
|
353
|
+
- Dockerfile
|
333
354
|
- Gemfile
|
334
355
|
- HISTORY.md
|
356
|
+
- LATEST_CHANGES.md
|
335
357
|
- LICENSE
|
336
358
|
- README.md
|
337
359
|
- Rakefile
|
@@ -344,20 +366,21 @@ files:
|
|
344
366
|
- contrib/openrc/init.d/gollum
|
345
367
|
- contrib/systemd/gollum@.service
|
346
368
|
- contrib/sysv-debian/init.d/gollum
|
369
|
+
- docker-run.sh
|
347
370
|
- gollum.gemspec
|
348
371
|
- lib/gollum.rb
|
349
372
|
- lib/gollum/app.rb
|
350
373
|
- lib/gollum/assets.rb
|
351
374
|
- lib/gollum/helpers.rb
|
352
|
-
- lib/gollum/public/assets/.sprockets-manifest-
|
353
|
-
- lib/gollum/public/assets/app-
|
354
|
-
- lib/gollum/public/assets/app-
|
355
|
-
- lib/gollum/public/assets/app-
|
356
|
-
- lib/gollum/public/assets/app-
|
375
|
+
- lib/gollum/public/assets/.sprockets-manifest-160337b312f8e438181baac4aaa37319.json
|
376
|
+
- lib/gollum/public/assets/app-309be032396e783b13a47df58f389b7c8e11c2b2d42640560b874f677c25f6e5.css
|
377
|
+
- lib/gollum/public/assets/app-309be032396e783b13a47df58f389b7c8e11c2b2d42640560b874f677c25f6e5.css.gz
|
378
|
+
- lib/gollum/public/assets/app-f05401ee374f0c7f48fc2bc08e30b4f4db705861fd5895ed70998683b383bfb5.js
|
379
|
+
- lib/gollum/public/assets/app-f05401ee374f0c7f48fc2bc08e30b4f4db705861fd5895ed70998683b383bfb5.js.gz
|
357
380
|
- lib/gollum/public/assets/criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css
|
358
381
|
- lib/gollum/public/assets/criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css.gz
|
359
|
-
- lib/gollum/public/assets/editor-
|
360
|
-
- lib/gollum/public/assets/editor-
|
382
|
+
- lib/gollum/public/assets/editor-9881d0c7ae663293f0e3a7e72729eec7e940fa613185c076709b76d292f5703a.js
|
383
|
+
- lib/gollum/public/assets/editor-9881d0c7ae663293f0e3a7e72729eec7e940fa613185c076709b76d292f5703a.js.gz
|
361
384
|
- lib/gollum/public/assets/print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css
|
362
385
|
- lib/gollum/public/assets/print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css.gz
|
363
386
|
- lib/gollum/public/gollum/javascript/HOWTO_UPDATE_ACE.md
|
@@ -1432,6 +1455,7 @@ files:
|
|
1432
1455
|
- lib/gollum/public/gollum/javascript/ace/worker-xquery.js
|
1433
1456
|
- lib/gollum/public/gollum/javascript/app.js
|
1434
1457
|
- lib/gollum/public/gollum/javascript/clipboard.min.js
|
1458
|
+
- lib/gollum/public/gollum/javascript/date.min.js
|
1435
1459
|
- lib/gollum/public/gollum/javascript/editor.js
|
1436
1460
|
- lib/gollum/public/gollum/javascript/editor/gollum.editor.js
|
1437
1461
|
- lib/gollum/public/gollum/javascript/editor/langs/asciidoc.js
|
@@ -1498,9 +1522,11 @@ files:
|
|
1498
1522
|
- lib/gollum/views/edit.rb
|
1499
1523
|
- lib/gollum/views/editable.rb
|
1500
1524
|
- lib/gollum/views/error.rb
|
1525
|
+
- lib/gollum/views/has_math.rb
|
1501
1526
|
- lib/gollum/views/has_page.rb
|
1502
1527
|
- lib/gollum/views/has_user_icons.rb
|
1503
1528
|
- lib/gollum/views/helpers.rb
|
1529
|
+
- lib/gollum/views/helpers/locale_helpers.rb
|
1504
1530
|
- lib/gollum/views/history.rb
|
1505
1531
|
- lib/gollum/views/latest_changes.rb
|
1506
1532
|
- lib/gollum/views/layout.rb
|
@@ -1509,6 +1535,7 @@ files:
|
|
1509
1535
|
- lib/gollum/views/pagination.rb
|
1510
1536
|
- lib/gollum/views/rss.rb
|
1511
1537
|
- lib/gollum/views/search.rb
|
1538
|
+
- lib/gollum/views/template_cascade.rb
|
1512
1539
|
- licenses/licenses.txt
|
1513
1540
|
homepage: http://github.com/gollum/gollum
|
1514
1541
|
licenses:
|
@@ -1523,15 +1550,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1523
1550
|
requirements:
|
1524
1551
|
- - ">="
|
1525
1552
|
- !ruby/object:Gem::Version
|
1526
|
-
version: '
|
1553
|
+
version: '2.6'
|
1527
1554
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1528
1555
|
requirements:
|
1529
1556
|
- - ">="
|
1530
1557
|
- !ruby/object:Gem::Version
|
1531
1558
|
version: '0'
|
1532
1559
|
requirements: []
|
1533
|
-
rubygems_version: 3.
|
1560
|
+
rubygems_version: 3.2.3
|
1534
1561
|
signing_key:
|
1535
|
-
specification_version:
|
1562
|
+
specification_version: 4
|
1536
1563
|
summary: A simple, Git-powered wiki.
|
1537
1564
|
test_files: []
|
@@ -1 +0,0 @@
|
|
1
|
-
{"files":{"app-0fd228e26bfbe6fe31a2da268eb0e98e780c1191c1a918adf383377946e9c838.js":{"logical_path":"app.js","mtime":"2021-03-23T08:40:11-07:00","size":136020,"digest":"0fd228e26bfbe6fe31a2da268eb0e98e780c1191c1a918adf383377946e9c838","integrity":"sha256-D9Io4mv75v4xotomjrDpjngMEZHBqRit84M3eUbpyDg="},"editor-db10c8351306e92f1926ba225d0cd9c8e886482b3b9820a85825ec3abab5f1cf.js":{"logical_path":"editor.js","mtime":"2021-02-24T23:16:14-08:00","size":744866,"digest":"db10c8351306e92f1926ba225d0cd9c8e886482b3b9820a85825ec3abab5f1cf","integrity":"sha256-2xDINRMG6S8ZJroiXQzZyOiGSCs7mCCoWCXsOrq18c8="},"app-ad43ca64b295d8444b10f22ee868f18429268af498f1bc515434878b690e37a2.css":{"logical_path":"app.css","mtime":"2021-03-23T08:40:11-07:00","size":396615,"digest":"ad43ca64b295d8444b10f22ee868f18429268af498f1bc515434878b690e37a2","integrity":"sha256-rUPKZLKV2ERLEPIu6GjxhCkmivSY8bxRVDSHi2kON6I="},"criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css":{"logical_path":"criticmarkup.css","mtime":"2021-02-24T23:16:14-08:00","size":646,"digest":"31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4","integrity":"sha256-Ma5dMoK7uOe3w8mRfp+2jjMVprSnXabOxI0huIRpBcQ="},"print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css":{"logical_path":"print.css","mtime":"2021-02-24T23:16:14-08:00","size":75,"digest":"512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb","integrity":"sha256-USSYw2i+DT+xuhBd+oQomuSDgOyfy++Ui9TiOwsJW/s="}},"assets":{"app.js":"app-0fd228e26bfbe6fe31a2da268eb0e98e780c1191c1a918adf383377946e9c838.js","editor.js":"editor-db10c8351306e92f1926ba225d0cd9c8e886482b3b9820a85825ec3abab5f1cf.js","app.css":"app-ad43ca64b295d8444b10f22ee868f18429268af498f1bc515434878b690e37a2.css","criticmarkup.css":"criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css","print.css":"print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css"}}
|