gollum 5.3.0 → 5.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc6498c3f4201b606f4fc3919ce8c900b708e95f4599e8d768eb449f7265b422
4
- data.tar.gz: c777311336b3da982568b1d6200bed36fef5f1d4cacdebb94fd3dbdd507faa8e
3
+ metadata.gz: 0e32bf82f8d67475d5020511da99bba187af879ee90f1f0212e020c5ce493c10
4
+ data.tar.gz: '00926b86ae1c5dba815f764425e52a9f169ea60e16f193308849923fef3499b7'
5
5
  SHA512:
6
- metadata.gz: 24f98884dcef45d1522c94c74da652c72b4ec350b78eb7f073f38144eb30aae41451dd3daefdf751902b17ff20da3a03ba327b82f97859b253428dba97fac868
7
- data.tar.gz: 7ec0150d4a1d0f9246924cde38ce0e951059838f9df2a915320f7af83d85b445d7959cdefddc8aaf067fa40a8e486c3be33db2cbbd8699ecde897b3825759d03
6
+ metadata.gz: d2ff3f2cf5ca016567ee989c491aa96d52fc1e7f0e896e59140e708531bc00d178ac46e2841dec085a63ff2c189427a4dbd53f5272a95bad7e395d7ea35c1920
7
+ data.tar.gz: 507581ce324fedc14a6b64914f3d50a3ae072690302873193f98c7e51b08aac7501dd8be2e01de5759c31b13b33d17b21e30f440f3bf3d0c3671e441071afdda
data/HISTORY.md CHANGED
@@ -1,3 +1,20 @@
1
+ # 5.3.1 / 2023-03-20
2
+
3
+ * Backport fixes from the `master` branch for Ruby 3.2 compatibility.
4
+
5
+ # 5.3.0 / 2022-05-25
6
+
7
+ * Feature: allow for overriding only specific Mustache templates/partials (@beporter)
8
+ * Feature: Add option to show browser's local time (@NikitaIvanovV)
9
+ * Improvement: presentation on mobile devises (@benjaminwil)
10
+ * Improvement: Add page context to template filter. #1603 (@tevino)
11
+ * Fix: restore normalize check on file upload (@manofstick)
12
+ * Fix mathjax on edit and create pages. #1772 (@fhchl)
13
+ * Fix utf-8 issues: #1721 #1758 #1801 (@basking2, @dometto)
14
+ * Fix an IME rendering issue. #1735 (@yy0931)
15
+ * Fix broken history button when viewing historical deleted file. (@NikitaIvanovV)
16
+ * Fix: non-ascii characters in page names are not rendered correctly in the preview tab of the "Edit" page. #1739 (@yy0931)
17
+ * Fix: anchors and header display on JRuby. #1779
1
18
  # 5.2.3 / 2021-04-18
2
19
 
3
20
  * Fix bug preventing page titles from being displayed
data/LATEST_CHANGES.md CHANGED
@@ -1,13 +1,3 @@
1
- # 5.3.0 / 2022-05-24
1
+ # 5.3.2
2
2
 
3
- * Feature: allow for overriding only specific Mustache templates/partials (@beporter)
4
- * Feature: Add option to show browser's local time (@NikitaIvanovV)
5
- * Improvement: presentation on mobile devises (@benjaminwil)
6
- * Improvement: Add page context to template filter. #1603 (@tevino)
7
- * Fix: restore normalize check on file upload (@manofstick)
8
- * Fix mathjax on edit and create pages. #1772 (@fhchl)
9
- * Fix utf-8 issues: #1721 #1758 #1801 (@basking2, @dometto)
10
- * Fix an IME rendering issue. #1735 (@yy0931)
11
- * Fix broken history button when viewing historical deleted file. (@NikitaIvanovV)
12
- * Fix: non-ascii characters in page names are not rendered correctly in the preview tab of the "Edit" page. #1739 (@yy0931)
13
- * Fix: anchors and header display on JRuby. #1779
3
+ * Guard against [CVE-2020-11022](https://github.com/advisories/GHSA-gxr4-xjj5-5px2) (@bartkamphorst)
data/gollum.gemspec CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
3
3
  s.required_ruby_version = '>= 2.6'
4
4
 
5
5
  s.name = 'gollum'
6
- s.version = '5.3.0'
6
+ s.version = '5.3.2'
7
7
  s.license = 'MIT'
8
8
 
9
9
  s.summary = 'A simple, Git-powered wiki.'
@@ -21,12 +21,12 @@ Gem::Specification.new do |s|
21
21
  s.extra_rdoc_files = %w[README.md LICENSE]
22
22
 
23
23
  s.add_dependency 'rdoc', '~> 6'
24
- s.add_dependency 'gollum-lib', '~> 5.1'
24
+ s.add_dependency 'gollum-lib', '>= 5.2.3', '< 6.0'
25
25
  s.add_dependency 'kramdown', '~> 2.3'
26
26
  s.add_dependency 'kramdown-parser-gfm', '~> 1.1.0'
27
27
  s.add_dependency 'sinatra', '~> 2.0'
28
28
  s.add_dependency 'sinatra-contrib', '~> 2.0'
29
- s.add_dependency 'mustache-sinatra', '>= 1.0.1', '< 2'
29
+ s.add_dependency 'mustache-sinatra', '~> 2.0'
30
30
  s.add_dependency 'useragent', '~> 0.16.2'
31
31
  s.add_dependency 'gemojione', '~> 4.1'
32
32
  s.add_dependency 'octicons', '~> 12.0'
@@ -70,11 +70,11 @@ Gem::Specification.new do |s|
70
70
  lib/gollum/app.rb
71
71
  lib/gollum/assets.rb
72
72
  lib/gollum/helpers.rb
73
- lib/gollum/public/assets/.sprockets-manifest-160337b312f8e438181baac4aaa37319.json
73
+ lib/gollum/public/assets/.sprockets-manifest-faf3cd9473a619bf523bb299dca17dab.json
74
74
  lib/gollum/public/assets/app-309be032396e783b13a47df58f389b7c8e11c2b2d42640560b874f677c25f6e5.css
75
75
  lib/gollum/public/assets/app-309be032396e783b13a47df58f389b7c8e11c2b2d42640560b874f677c25f6e5.css.gz
76
- lib/gollum/public/assets/app-f05401ee374f0c7f48fc2bc08e30b4f4db705861fd5895ed70998683b383bfb5.js
77
- lib/gollum/public/assets/app-f05401ee374f0c7f48fc2bc08e30b4f4db705861fd5895ed70998683b383bfb5.js.gz
76
+ lib/gollum/public/assets/app-e63ab45773141139cffcd04474f73c21042c7267568325d4e00775b4f9eaa022.js
77
+ lib/gollum/public/assets/app-e63ab45773141139cffcd04474f73c21042c7267568325d4e00775b4f9eaa022.js.gz
78
78
  lib/gollum/public/assets/criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css
79
79
  lib/gollum/public/assets/criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css.gz
80
80
  lib/gollum/public/assets/editor-9881d0c7ae663293f0e3a7e72729eec7e940fa613185c076709b76d292f5703a.js
data/lib/gollum/app.rb CHANGED
@@ -16,6 +16,7 @@ require 'gollum'
16
16
  require 'gollum/assets'
17
17
  require 'gollum/views/helpers'
18
18
  require 'gollum/views/helpers/locale_helpers'
19
+ require 'gollum/views/template_cascade'
19
20
  require 'gollum/views/layout'
20
21
  require 'gollum/views/editable'
21
22
  require 'gollum/views/has_page'
@@ -23,7 +24,6 @@ require 'gollum/views/has_user_icons'
23
24
  require 'gollum/views/has_math'
24
25
  require 'gollum/views/pagination'
25
26
  require 'gollum/views/rss.rb'
26
- require 'gollum/views/template_cascade'
27
27
 
28
28
  require File.expand_path '../helpers', __FILE__
29
29
 
@@ -112,7 +112,6 @@ module Precious
112
112
  @wiki_title = settings.wiki_options.fetch(:title, 'Gollum Wiki')
113
113
 
114
114
  if settings.wiki_options[:template_dir]
115
- Precious::Views::Layout.extend Precious::Views::TemplateCascade
116
115
  Precious::Views::Layout.template_priority_path = settings.wiki_options[:template_dir]
117
116
  end
118
117
 
@@ -1 +1 @@
1
- {"files":{"app-f05401ee374f0c7f48fc2bc08e30b4f4db705861fd5895ed70998683b383bfb5.js":{"logical_path":"app.js","mtime":"2021-11-15T20:08:30-08:00","size":136040,"digest":"f05401ee374f0c7f48fc2bc08e30b4f4db705861fd5895ed70998683b383bfb5","integrity":"sha256-8FQB7jdPDH9I/CvAjjC09NtwWGH9WJXtcJmGg7ODv7U="},"editor-9881d0c7ae663293f0e3a7e72729eec7e940fa613185c076709b76d292f5703a.js":{"logical_path":"editor.js","mtime":"2021-11-15T20:08:30-08:00","size":744886,"digest":"9881d0c7ae663293f0e3a7e72729eec7e940fa613185c076709b76d292f5703a","integrity":"sha256-mIHQx65mMpPw46fnJynux+lA+mExhcB2cJt20pL1cDo="},"app-309be032396e783b13a47df58f389b7c8e11c2b2d42640560b874f677c25f6e5.css":{"logical_path":"app.css","mtime":"2021-11-15T20:08:30-08:00","size":396731,"digest":"309be032396e783b13a47df58f389b7c8e11c2b2d42640560b874f677c25f6e5","integrity":"sha256-MJvgMjlueDsTpH31jzibfI4RwrLUJkBWC4dPZ3wl9uU="},"criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css":{"logical_path":"criticmarkup.css","mtime":"2021-08-22T15:24:51-07:00","size":646,"digest":"31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4","integrity":"sha256-Ma5dMoK7uOe3w8mRfp+2jjMVprSnXabOxI0huIRpBcQ="},"print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css":{"logical_path":"print.css","mtime":"2021-08-22T15:24:51-07:00","size":75,"digest":"512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb","integrity":"sha256-USSYw2i+DT+xuhBd+oQomuSDgOyfy++Ui9TiOwsJW/s="}},"assets":{"app.js":"app-f05401ee374f0c7f48fc2bc08e30b4f4db705861fd5895ed70998683b383bfb5.js","editor.js":"editor-9881d0c7ae663293f0e3a7e72729eec7e940fa613185c076709b76d292f5703a.js","app.css":"app-309be032396e783b13a47df58f389b7c8e11c2b2d42640560b874f677c25f6e5.css","criticmarkup.css":"criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css","print.css":"print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css"}}
1
+ {"files":{"app-e63ab45773141139cffcd04474f73c21042c7267568325d4e00775b4f9eaa022.js":{"logical_path":"app.js","mtime":"2023-05-01T20:28:09+02:00","size":188331,"digest":"e63ab45773141139cffcd04474f73c21042c7267568325d4e00775b4f9eaa022","integrity":"sha256-5jq0V3MUETnP/NBEdPc8IQQscmdWgyXU4Ad1tPnqoCI="},"editor-9881d0c7ae663293f0e3a7e72729eec7e940fa613185c076709b76d292f5703a.js":{"logical_path":"editor.js","mtime":"2023-05-01T20:23:13+02:00","size":744886,"digest":"9881d0c7ae663293f0e3a7e72729eec7e940fa613185c076709b76d292f5703a","integrity":"sha256-mIHQx65mMpPw46fnJynux+lA+mExhcB2cJt20pL1cDo="},"app-309be032396e783b13a47df58f389b7c8e11c2b2d42640560b874f677c25f6e5.css":{"logical_path":"app.css","mtime":"2023-05-01T20:23:13+02:00","size":396731,"digest":"309be032396e783b13a47df58f389b7c8e11c2b2d42640560b874f677c25f6e5","integrity":"sha256-MJvgMjlueDsTpH31jzibfI4RwrLUJkBWC4dPZ3wl9uU="},"criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css":{"logical_path":"criticmarkup.css","mtime":"2023-01-05T12:59:59+01:00","size":646,"digest":"31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4","integrity":"sha256-Ma5dMoK7uOe3w8mRfp+2jjMVprSnXabOxI0huIRpBcQ="},"print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css":{"logical_path":"print.css","mtime":"2023-05-01T20:23:13+02:00","size":75,"digest":"512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb","integrity":"sha256-USSYw2i+DT+xuhBd+oQomuSDgOyfy++Ui9TiOwsJW/s="}},"assets":{"app.js":"app-e63ab45773141139cffcd04474f73c21042c7267568325d4e00775b4f9eaa022.js","editor.js":"editor-9881d0c7ae663293f0e3a7e72729eec7e940fa613185c076709b76d292f5703a.js","app.css":"app-309be032396e783b13a47df58f389b7c8e11c2b2d42640560b874f677c25f6e5.css","criticmarkup.css":"criticmarkup-31ae5d3282bbb8e7b7c3c9917e9fb68e3315a6b4a75da6cec48d21b8846905c4.css","print.css":"print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css"}}