gollum-lib 5.1.2 → 5.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ccf06509c7be7d9ce30fec5185caf8160752806c978c4a9442a8a1761d6d9a86
4
- data.tar.gz: e6caac594ae4a468637d2b7655cff942241315abbac3adfac1fc3992abb329d2
3
+ metadata.gz: a82186cb146f3c8c7bd2cf0b3c46759f614e943c1a29c4023187eecd4cfc7db0
4
+ data.tar.gz: ab4634bbc1c8e25cd6153ff9e94ee50faa87e73baaeb4f8b7e7470d66a8332fc
5
5
  SHA512:
6
- metadata.gz: eb43a84550c6be9cd60716ea97cf3f67f5c18b3e0f4ca59bda95dc639bef80285fc9d6eb5c376aedcdf7592a4c4c5a12df6a1345e9c4f2290960fefb9fffa3d0
7
- data.tar.gz: 2dc8f219900b705c78dffa7226fd713d15fd4a8778c2eaa4145ea3a087e21365b878b3b933e4845b038aeafd52f3ba5b79b445907d68b7be1fdf746d3ff95f7d
6
+ metadata.gz: 6a09aba7fbd67e698c439e4645785fe623a553e306cf5d6254ba4b5d62fa357885a49197d6c9e10ba8728850b40ae4618828cd2806ec9ed07a9f6eb410498ba6
7
+ data.tar.gz: 7f3930eb8fb33539260732afd9b4681e8b8532bc48f536e2b7ededbc0c19e86c037217f78dc81616b28f4fd1f75cdca121cf7f3d08656efdd2254966f809c3cd
data/README.md CHANGED
@@ -2,7 +2,7 @@ gollum lib -- A wiki built on top of Git
2
2
  ========================================
3
3
 
4
4
  [![Gem Version](https://badge.fury.io/rb/gollum-lib.svg)](http://badge.fury.io/rb/gollum-lib)
5
- [![Build Status](https://travis-ci.org/gollum/gollum-lib.svg?branch=master)](https://travis-ci.org/gollum/gollum-lib)
5
+ [![Ruby Build](https://github.com/gollum/gollum-lib/actions/workflows/test.yaml/badge.svg)](https://github.com/gollum/gollum-lib/actions/workflows/test.yaml)
6
6
  [![Cutting Edge Dependency Status](https://dometto-cuttingedge.herokuapp.com/github/gollum/gollum-lib/svg 'Cutting Edge Dependency Status')](https://dometto-cuttingedge.herokuapp.com/github/gollum/gollum-lib/info)
7
7
 
8
8
  ## DESCRIPTION
data/gemspec.rb CHANGED
@@ -8,7 +8,7 @@ def specification(version, default_adapter, platform = nil)
8
8
  s.name = 'gollum-lib'
9
9
  s.version = version
10
10
  s.platform = platform if platform
11
- s.date = '2021-07-10'
11
+ s.date = '2021-09-06'
12
12
  s.date = '2017-04-13'
13
13
  s.rubyforge_project = 'gollum-lib'
14
14
  s.license = 'MIT'
@@ -6,7 +6,7 @@ module Gollum
6
6
  prepath = @wiki.base_path.sub(/\/$/, '')
7
7
  result = '<ul>' + @wiki.pages.map { |p| "<li><a href=\"#{CGI::escapeHTML(prepath + "/" + p.escaped_url_path)}\">#{CGI::escapeHTML(p.url_path)}</a></li>" }.join + '</ul>'
8
8
  end
9
- "<div class=\"toc\"><div class=\"toc-title\">#{CGI::escapeHTML(title)}</div>#{result}</div>"
9
+ "<div class=\"toc\"><div class=\"toc-title\">#{title}</div>#{result}</div>"
10
10
  end
11
11
  end
12
12
  end
@@ -14,7 +14,7 @@ module Gollum
14
14
  end
15
15
  result = "<ul>#{list_items.join}</ul>"
16
16
  end
17
- "<div class=\"toc\"><div class=\"toc-title\">#{CGI::escapeHTML(title)}</div>#{result}</div>"
17
+ "<div class=\"toc\"><div class=\"toc-title\">#{title}</div>#{result}</div>"
18
18
  end
19
19
 
20
20
  end
@@ -12,7 +12,7 @@ module Gollum
12
12
  icon.options[:class] << ' mr-2'
13
13
  icon = icon.to_svg
14
14
  end
15
- "<div class='flash'>#{icon}#{CGI::escapeHTML(notice)}</div>"
15
+ "<div class='flash'>#{icon}#{notice}</div>"
16
16
  end
17
17
  end
18
18
  end
@@ -4,7 +4,7 @@ module Gollum
4
4
  def render(warning)
5
5
  icon = Octicons::Octicon.new('alert', {width: 24, height: 24})
6
6
  icon.options[:class] << ' mr-2'
7
- "<div class='flash flash-warn'>#{icon.to_svg}#{CGI::escapeHTML(warning)}</div>"
7
+ "<div class='flash flash-warn'>#{icon.to_svg}#{warning}</div>"
8
8
  end
9
9
  end
10
10
  end
@@ -81,7 +81,7 @@ module Gollum
81
81
  :enabled => MarkupRegisterUtils::gem_exists?("creole"),
82
82
  :reverse_links => true)
83
83
  register(:rst, "reStructuredText",
84
- :enabled => MarkupRegisterUtils::executable_exists?("python2"),
84
+ :enabled => MarkupRegisterUtils::executable_exists?("python3"),
85
85
  :extensions => ['rest', 'rst'])
86
86
  register(:asciidoc, "AsciiDoc",
87
87
  :skip_filters => [:Tags],
@@ -1,5 +1,5 @@
1
1
  module Gollum
2
2
  module Lib
3
- VERSION = '5.1.2'
3
+ VERSION = '5.1.3'
4
4
  end
5
5
  end
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: 5.1.2
4
+ version: 5.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner