gollum 5.2.3 → 5.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +41 -0
  3. data/Gemfile +18 -4
  4. data/HISTORY.md +3 -3
  5. data/LATEST_CHANGES.md +13 -0
  6. data/README.md +38 -26
  7. data/Rakefile +55 -12
  8. data/bin/gollum +6 -4
  9. data/bin/gollum-migrate-tags +40 -28
  10. data/docker-run.sh +18 -0
  11. data/gollum.gemspec +19 -14
  12. data/lib/gollum/app.rb +66 -42
  13. data/lib/gollum/public/assets/.sprockets-manifest-160337b312f8e438181baac4aaa37319.json +1 -0
  14. data/lib/gollum/public/assets/{app-ad43ca64b295d8444b10f22ee868f18429268af498f1bc515434878b690e37a2.css → app-309be032396e783b13a47df58f389b7c8e11c2b2d42640560b874f677c25f6e5.css} +1 -1
  15. data/lib/gollum/public/assets/{app-ad43ca64b295d8444b10f22ee868f18429268af498f1bc515434878b690e37a2.css.gz → app-309be032396e783b13a47df58f389b7c8e11c2b2d42640560b874f677c25f6e5.css.gz} +0 -0
  16. data/lib/gollum/public/assets/{app-0fd228e26bfbe6fe31a2da268eb0e98e780c1191c1a918adf383377946e9c838.js → app-f05401ee374f0c7f48fc2bc08e30b4f4db705861fd5895ed70998683b383bfb5.js} +2 -2
  17. data/lib/gollum/public/assets/{app-0fd228e26bfbe6fe31a2da268eb0e98e780c1191c1a918adf383377946e9c838.js.gz → app-f05401ee374f0c7f48fc2bc08e30b4f4db705861fd5895ed70998683b383bfb5.js.gz} +0 -0
  18. data/lib/gollum/public/assets/criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css.gz +0 -0
  19. data/lib/gollum/public/assets/{editor-db10c8351306e92f1926ba225d0cd9c8e886482b3b9820a85825ec3abab5f1cf.js → editor-9881d0c7ae663293f0e3a7e72729eec7e940fa613185c076709b76d292f5703a.js} +2 -2
  20. data/lib/gollum/public/assets/{editor-db10c8351306e92f1926ba225d0cd9c8e886482b3b9820a85825ec3abab5f1cf.js.gz → editor-9881d0c7ae663293f0e3a7e72729eec7e940fa613185c076709b76d292f5703a.js.gz} +0 -0
  21. data/lib/gollum/public/assets/print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css.gz +0 -0
  22. data/lib/gollum/public/gollum/javascript/app.js +1 -0
  23. data/lib/gollum/public/gollum/javascript/date.min.js +123 -0
  24. data/lib/gollum/public/gollum/javascript/editor/gollum.editor.js +1 -1
  25. data/lib/gollum/public/gollum/javascript/gollum.js.erb +20 -2
  26. data/lib/gollum/public/gollum/stylesheets/editor.scss +1 -0
  27. data/lib/gollum/public/gollum/stylesheets/template.scss.erb +8 -0
  28. data/lib/gollum/templates/commit.mustache +4 -2
  29. data/lib/gollum/templates/compare.mustache +10 -4
  30. data/lib/gollum/templates/create.mustache +7 -4
  31. data/lib/gollum/templates/edit.mustache +7 -4
  32. data/lib/gollum/templates/history.mustache +10 -3
  33. data/lib/gollum/templates/latest_changes.mustache +8 -5
  34. data/lib/gollum/templates/layout.mustache +1 -0
  35. data/lib/gollum/templates/navbar.mustache +9 -2
  36. data/lib/gollum/templates/overview.mustache +7 -4
  37. data/lib/gollum/templates/search.mustache +7 -1
  38. data/lib/gollum/templates/wiki_content.mustache +4 -2
  39. data/lib/gollum/views/commit.rb +4 -0
  40. data/lib/gollum/views/create.rb +3 -2
  41. data/lib/gollum/views/edit.rb +2 -5
  42. data/lib/gollum/views/has_math.rb +11 -0
  43. data/lib/gollum/views/helpers/locale_helpers.rb +82 -0
  44. data/lib/gollum/views/history.rb +17 -12
  45. data/lib/gollum/views/latest_changes.rb +15 -10
  46. data/lib/gollum/views/layout.rb +6 -1
  47. data/lib/gollum/views/page.rb +23 -18
  48. data/lib/gollum/views/template_cascade.rb +40 -0
  49. data/lib/gollum.rb +10 -6
  50. metadata +55 -28
  51. 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
@@ -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
- { :id => v.id,
22
- :id7 => v.id[0..6],
23
- :href => page_route("gollum/commit/#{v.id}"),
24
- :href_page => page_route("#{filename}/#{v.id}"),
25
- :num => i,
26
- :selected => @page.version.id == v.id,
27
- :author => v.author.name.respond_to?(:force_encoding) ? v.author.name.force_encoding('UTF-8') : v.author.name,
28
- :message => v.message.respond_to?(:force_encoding) ? v.message.force_encoding('UTF-8') : v.message,
29
- :date => v.authored_date.strftime("%B %d, %Y"),
30
- :user_icon => self.user_icon_code(v.author.email),
31
- :filename => filename,
32
- :date_full => v.authored_date,
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
- { :id => v.id,
18
- :id7 => v.id[0..6],
19
- :href => page_route("gollum/commit/#{v.id}"),
20
- :num => i,
21
- :author => v.author.name.respond_to?(:force_encoding) ? v.author.name.force_encoding('UTF-8') : v.author.name,
22
- :message => v.message.respond_to?(:force_encoding) ? v.message.force_encoding('UTF-8') : v.message,
23
- :date => v.authored_date.strftime("%B %d, %Y"),
24
- :user_icon => self.user_icon_code(v.author.email),
25
- :date_full => v.authored_date,
26
- :files => v.stats.files.map { |f|
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}",
@@ -6,10 +6,11 @@ module Precious
6
6
  include Rack::Utils
7
7
  include Sprockets::Helpers
8
8
  include Precious::Views::AppHelpers
9
+ include Precious::Views::LocaleHelpers
9
10
  include Precious::Views::SprocketsHelpers
10
11
  include Precious::Views::RouteHelpers
11
12
  include Precious::Views::OcticonHelpers
12
-
13
+
13
14
  alias_method :h, :escape_html
14
15
 
15
16
  attr_reader :name, :path
@@ -66,6 +67,10 @@ module Precious
66
67
  @per_page_uploads
67
68
  end
68
69
 
70
+ def show_local_time
71
+ @show_local_time ? 'true' : 'false'
72
+ end
73
+
69
74
  # Navigation bar
70
75
  def search
71
76
  false
@@ -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',
@@ -47,11 +48,23 @@ module Precious
47
48
  return DEFAULT_AUTHOR unless first
48
49
  first.author.name.respond_to?(:force_encoding) ? first.author.name.force_encoding('UTF-8') : first.author.name
49
50
  end
51
+
52
+ def date_full
53
+ first = @version ? page.version : page.last_version
54
+ return Time.now unless first
55
+ first.authored_date
56
+ end
50
57
 
51
58
  def date
52
- first = @version ? page.version : page.last_version
53
- return Time.now.strftime(DATE_FORMAT) unless first
54
- first.authored_date.strftime(DATE_FORMAT)
59
+ date_full.strftime(DATE_FORMAT)
60
+ end
61
+
62
+ def datetime
63
+ date_full.utc.iso8601
64
+ end
65
+
66
+ def date_format
67
+ DATE_FORMAT
55
68
  end
56
69
 
57
70
  def noindex
@@ -61,11 +74,11 @@ module Precious
61
74
  def editable
62
75
  @editable
63
76
  end
64
-
77
+
65
78
  def search
66
79
  true
67
80
  end
68
-
81
+
69
82
  def history
70
83
  true
71
84
  end
@@ -73,11 +86,11 @@ module Precious
73
86
  def latest_changes
74
87
  true
75
88
  end
76
-
89
+
77
90
  def overview
78
- true
91
+ true
79
92
  end
80
-
93
+
81
94
  def allow_editing
82
95
  @allow_editing
83
96
  end
@@ -157,14 +170,6 @@ module Precious
157
170
  @toc_content
158
171
  end
159
172
 
160
- def mathjax
161
- @mathjax
162
- end
163
-
164
- def mathjax_config
165
- @mathjax_config
166
- end
167
-
168
173
  def use_identicon
169
174
  @page.wiki.user_icons == 'identicon'
170
175
  end
@@ -182,7 +187,7 @@ module Precious
182
187
  # Returns Hash.
183
188
  def metadata
184
189
  @page.metadata
185
- end
190
+ end
186
191
 
187
192
  # Access to embedded metadata.
188
193
  #
@@ -0,0 +1,40 @@
1
+ module Precious
2
+ module Views
3
+ module TemplateCascade
4
+ def template_priority_path
5
+ @@template_priority_path
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
+
28
+ # Method should track lib/mustache.rb from Mustache project.
29
+ def partial(name)
30
+ path = first_path_available(name)
31
+ begin
32
+ File.read(path)
33
+ rescue
34
+ raise if raise_on_context_miss?
35
+ ""
36
+ end
37
+ end
38
+ end
39
+ end
40
+ 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.2.3'
16
+ VERSION = '5.3.0'
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
- data.gsub!(pattern, replacement.call)
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.2.3
4
+ version: 5.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner
@@ -9,8 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-04-18 00:00:00.000000000 Z
12
+ date: 2022-05-25 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rdoc
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '6'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '6'
14
28
  - !ruby/object:Gem::Dependency
15
29
  name: gollum-lib
16
30
  requirement: !ruby/object:Gem::Requirement
@@ -85,16 +99,22 @@ dependencies:
85
99
  name: mustache-sinatra
86
100
  requirement: !ruby/object:Gem::Requirement
87
101
  requirements:
88
- - - "~>"
102
+ - - ">="
89
103
  - !ruby/object:Gem::Version
90
- version: '1.0'
104
+ version: 1.0.1
105
+ - - "<"
106
+ - !ruby/object:Gem::Version
107
+ version: '2'
91
108
  type: :runtime
92
109
  prerelease: false
93
110
  version_requirements: !ruby/object:Gem::Requirement
94
111
  requirements:
95
- - - "~>"
112
+ - - ">="
96
113
  - !ruby/object:Gem::Version
97
- version: '1.0'
114
+ version: 1.0.1
115
+ - - "<"
116
+ - !ruby/object:Gem::Version
117
+ version: '2'
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: rack-test
259
+ name: i18n
240
260
  requirement: !ruby/object:Gem::Requirement
241
261
  requirements:
242
262
  - - "~>"
243
263
  - !ruby/object:Gem::Version
244
- version: 0.6.3
245
- type: :development
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: 0.6.3
271
+ version: '1.8'
252
272
  - !ruby/object:Gem::Dependency
253
- name: shoulda
273
+ name: rack-test
254
274
  requirement: !ruby/object:Gem::Requirement
255
275
  requirements:
256
276
  - - "~>"
257
277
  - !ruby/object:Gem::Version
258
- version: 3.6.0
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: 3.6.0
285
+ version: 0.6.3
266
286
  - !ruby/object:Gem::Dependency
267
- name: minitest-reporters
287
+ name: shoulda
268
288
  requirement: !ruby/object:Gem::Requirement
269
289
  requirements:
270
290
  - - "~>"
271
291
  - !ruby/object:Gem::Version
272
- version: 1.3.6
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: 1.3.6
299
+ version: 3.6.0
280
300
  - !ruby/object:Gem::Dependency
281
- name: twitter_cldr
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.2.0
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.2.0
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-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
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-db10c8351306e92f1926ba225d0cd9c8e886482b3b9820a85825ec3abab5f1cf.js
360
- - lib/gollum/public/assets/editor-db10c8351306e92f1926ba225d0cd9c8e886482b3b9820a85825ec3abab5f1cf.js.gz
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,7 +1550,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1523
1550
  requirements:
1524
1551
  - - ">="
1525
1552
  - !ruby/object:Gem::Version
1526
- version: '1.9'
1553
+ version: '2.6'
1527
1554
  required_rubygems_version: !ruby/object:Gem::Requirement
1528
1555
  requirements:
1529
1556
  - - ">="
@@ -1532,6 +1559,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1532
1559
  requirements: []
1533
1560
  rubygems_version: 3.0.3
1534
1561
  signing_key:
1535
- specification_version: 2
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"}}