gollum-lib 5.2-java → 5.2.2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +12 -0
- data/Rakefile +1 -19
- data/lib/gollum-lib/macro/audio.rb +1 -1
- data/lib/gollum-lib/macro/video.rb +1 -1
- data/lib/gollum-lib/markup.rb +1 -1
- data/lib/gollum-lib/sanitization.rb +1 -0
- data/lib/gollum-lib/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b143e2df33dc9dc9b02d92e03157ffb7e95a04e2ee642e4fc96d504252fc8666
|
4
|
+
data.tar.gz: 8f7f128aeeb398dc199130c2f0dad1e5006d9fedf59c772225a41f1287c65552
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf52a1dcfc52a2fc8aaf20b3234920e017decc049a5ca1af3a3990771191a4389655d8ac3e0a3e424f8a6a427b214a527cffba399eb479b6a2633e7fe81488d3
|
7
|
+
data.tar.gz: 4c34de87bd2b06d653c0e2dfea5bd013602c2c6b24e95611eff479e848ba389ef501c9bd44e860ea7b1c06cd262dbe974e132f85b86e742eb23e1d316d5433df
|
data/HISTORY.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
# 5.2.1 / 2022-09-13
|
2
|
+
|
3
|
+
* Fixed: 'controls' attribute in audio and video tags should not be sanitized. #430 (@dometto)
|
4
|
+
|
5
|
+
|
6
|
+
# 5.2 / 2022-05-28
|
7
|
+
|
8
|
+
* Conditionally render "editable" heading classes. Resolves https://github.com/gollum/gollum/issues/1785 (@benjaminwil)
|
9
|
+
* Improvement: Allow escaping quotations in quoted macro arguments. #406. (@srbaker)
|
10
|
+
* Improvement: [Allow for extended PlantUML types](https://github.com/gollum/gollum/wiki#plantuml-diagrams). #413. (@manofstick)
|
11
|
+
* API Addition: allow defining handlers for specific languages in codeblocks. #410. (@dometto)
|
12
|
+
|
1
13
|
# v5.1.2
|
2
14
|
|
3
15
|
* SECURITY UPDATE: sanitize HTML generated by Macros.
|
data/Rakefile
CHANGED
@@ -126,7 +126,7 @@ task :release => :build do
|
|
126
126
|
Rake::Task[:changelog].execute
|
127
127
|
sh "git commit --allow-empty -a -m 'Release #{version}'"
|
128
128
|
sh "git pull --rebase origin master"
|
129
|
-
sh "git tag v#{version}"
|
129
|
+
sh "git tag -n v#{version}"
|
130
130
|
sh "git push origin master"
|
131
131
|
sh "git push origin v#{version}"
|
132
132
|
sh "gem push pkg/#{name}-#{version}.gem"
|
@@ -225,21 +225,3 @@ task :changelog do
|
|
225
225
|
`cat #{history_file} >> #{temp.path}`
|
226
226
|
`cat #{temp.path} > #{history_file}`
|
227
227
|
end
|
228
|
-
|
229
|
-
desc 'Precompile assets'
|
230
|
-
task :precompile do
|
231
|
-
require './lib/gollum/app.rb'
|
232
|
-
Precious::App.set(:environment, :production)
|
233
|
-
env = Precious::Assets.sprockets
|
234
|
-
path = ENV.fetch('GOLLUM_ASSETS_PATH', ::File.join(File.dirname(__FILE__), 'lib/gollum/public/assets'))
|
235
|
-
manifest = Sprockets::Manifest.new(env, path)
|
236
|
-
Sprockets::Helpers.configure do |config|
|
237
|
-
config.environment = env
|
238
|
-
config.prefix = Precious::Assets::ASSET_URL
|
239
|
-
config.digest = true
|
240
|
-
config.public_path = path
|
241
|
-
config.manifest = manifest
|
242
|
-
end
|
243
|
-
puts "Precompiling assets to #{path}..."
|
244
|
-
manifest.compile(Precious::Assets::MANIFEST)
|
245
|
-
end
|
@@ -2,7 +2,7 @@ module Gollum
|
|
2
2
|
class Macro
|
3
3
|
class Audio < Gollum::Macro
|
4
4
|
def render (fname)
|
5
|
-
"<audio width=\"100%\" height=\"100%\" src=\"#{CGI::escapeHTML(fname)}\" controls=\"\"> HTML5 audio is not supported on this Browser.</audio>"
|
5
|
+
"<audio width=\"100%\" height=\"100%\" src=\"#{CGI::escapeHTML(fname)}\" controls=\"true\"> HTML5 audio is not supported on this Browser.</audio>"
|
6
6
|
end
|
7
7
|
end
|
8
8
|
end
|
@@ -2,7 +2,7 @@ module Gollum
|
|
2
2
|
class Macro
|
3
3
|
class Video < Gollum::Macro
|
4
4
|
def render (fname)
|
5
|
-
"<video width=\"100%\" height=\"100%\" src=\"#{CGI::escapeHTML(fname)}\" controls=\"\"> HTML5 video is not supported on this Browser.</video>"
|
5
|
+
"<video width=\"100%\" height=\"100%\" src=\"#{CGI::escapeHTML(fname)}\" controls=\"true\"> HTML5 video is not supported on this Browser.</video>"
|
6
6
|
end
|
7
7
|
end
|
8
8
|
end
|
data/lib/gollum-lib/markup.rb
CHANGED
@@ -23,7 +23,7 @@ module Gollum
|
|
23
23
|
class << self
|
24
24
|
|
25
25
|
def to_xml_opts
|
26
|
-
{ :save_with => Nokogiri::XML::Node::SaveOptions::DEFAULT_XHTML
|
26
|
+
{ :save_with => Nokogiri::XML::Node::SaveOptions::DEFAULT_XHTML & (~Nokogiri::XML::Node::SaveOptions::FORMAT), :indent => 0, :encoding => 'UTF-8' }
|
27
27
|
end
|
28
28
|
|
29
29
|
# Only use the formats that are specified in config.rb
|
data/lib/gollum-lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gollum-lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.2.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Tom Preston-Werner
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gollum-rjgit_adapter
|
@@ -469,7 +469,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
469
469
|
- !ruby/object:Gem::Version
|
470
470
|
version: '0'
|
471
471
|
requirements: []
|
472
|
-
rubygems_version: 3.
|
472
|
+
rubygems_version: 3.2.32
|
473
473
|
signing_key:
|
474
474
|
specification_version: 4
|
475
475
|
summary: A simple, Git-powered wiki.
|