gollum 5.2.2 → 5.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +4 -0
- data/gollum.gemspec +2 -2
- data/lib/gollum.rb +1 -1
- data/lib/gollum/views/page.rb +5 -5
- 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: a1a9ac6cd9b6fe057d1ba7512ee9b37f5f3775db9884d13a39100e51d079c3f4
|
4
|
+
data.tar.gz: 60719e60d5a98bc85a9de517300d347e9fb92897a4120c03501a72eb64ae6a57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca4b52144a74a4800718929477c082dc75a1d575f83eebd53c667e60431d6869cf2c4d31eac2886ad3f46fe89f767394fb37c63a11975458465125144186f709
|
7
|
+
data.tar.gz: 5ff0912dcd727551c2bd7e43e947ca9f05c04ac50c2f6dfe180f67ab47efd69f85c33a63a5f42cbe0649aa54c49bb12005876229334a35849359d2b2d30878a7
|
data/HISTORY.md
CHANGED
data/gollum.gemspec
CHANGED
data/lib/gollum.rb
CHANGED
@@ -12,7 +12,7 @@ require 'rhino' if RUBY_PLATFORM == 'java'
|
|
12
12
|
require File.expand_path('../gollum/uri_encode_component', __FILE__)
|
13
13
|
|
14
14
|
module Gollum
|
15
|
-
VERSION = '5.2.
|
15
|
+
VERSION = '5.2.3'
|
16
16
|
|
17
17
|
def self.assets_path
|
18
18
|
::File.expand_path('gollum/public', ::File.dirname(__FILE__))
|
data/lib/gollum/views/page.rb
CHANGED
@@ -16,6 +16,11 @@ module Precious
|
|
16
16
|
DEFAULT_AUTHOR = 'you'
|
17
17
|
@@to_xml = { :save_with => Nokogiri::XML::Node::SaveOptions::DEFAULT_XHTML ^ 1, :indent => 0, :encoding => 'UTF-8' }
|
18
18
|
|
19
|
+
def title
|
20
|
+
h1 = @h1_title ? page_header_from_content(@content) : false
|
21
|
+
h1 || @page.url_path_title # url_path_title is the metadata title if present, otherwise the filename-based title
|
22
|
+
end
|
23
|
+
|
19
24
|
def page_header
|
20
25
|
title
|
21
26
|
end
|
@@ -263,11 +268,6 @@ module Precious
|
|
263
268
|
end
|
264
269
|
result << "</tr>\n</table>\n"
|
265
270
|
end
|
266
|
-
|
267
|
-
def title
|
268
|
-
h1 = @h1_title ? page_header_from_content(@content) : false
|
269
|
-
h1 || @page.url_path_title # url_path_title is the metadata title if present, otherwise the filename-based title
|
270
|
-
end
|
271
271
|
end
|
272
272
|
end
|
273
273
|
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.
|
4
|
+
version: 5.2.3
|
5
5
|
platform: ruby
|
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: 2021-
|
12
|
+
date: 2021-04-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gollum-lib
|
@@ -1530,7 +1530,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1530
1530
|
- !ruby/object:Gem::Version
|
1531
1531
|
version: '0'
|
1532
1532
|
requirements: []
|
1533
|
-
rubygems_version: 3.
|
1533
|
+
rubygems_version: 3.0.3
|
1534
1534
|
signing_key:
|
1535
1535
|
specification_version: 2
|
1536
1536
|
summary: A simple, Git-powered wiki.
|