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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5659ff35b6dfa690a54745f1e7b0ea84878d130df3959b35f32ee425bd86d37
4
- data.tar.gz: c9e03822a79a166e110f943ca4081f267716090f1814f021a4a90a426b9ad6ca
3
+ metadata.gz: a1a9ac6cd9b6fe057d1ba7512ee9b37f5f3775db9884d13a39100e51d079c3f4
4
+ data.tar.gz: 60719e60d5a98bc85a9de517300d347e9fb92897a4120c03501a72eb64ae6a57
5
5
  SHA512:
6
- metadata.gz: 551366fb4a6e207f75ff81b0188a118991f907fdc1d95a3244b082194513b6a53cc69351b3b61a11f4a475b2372aac146d15c17a85f843fd12c7b654986c10fe
7
- data.tar.gz: c48c6d08a22b31ba568270e063b6c2f53ab5196e5396d5893bf328036e6855e18823a9d41d95df5330c6a9591a7ea12e8b1477e2434a74803d68b4d5cee07d51
6
+ metadata.gz: ca4b52144a74a4800718929477c082dc75a1d575f83eebd53c667e60431d6869cf2c4d31eac2886ad3f46fe89f767394fb37c63a11975458465125144186f709
7
+ data.tar.gz: 5ff0912dcd727551c2bd7e43e947ca9f05c04ac50c2f6dfe180f67ab47efd69f85c33a63a5f42cbe0649aa54c49bb12005876229334a35849359d2b2d30878a7
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 5.2.3 2021-04-18
2
+
3
+ * Fix bug preventing page titles from being displayed
4
+
1
5
  # 5.2.1 2021-02-25
2
6
 
3
7
  * Fix include call to a missing asset (@benjaminwil). This caused slow first page loads on JRuby.
data/gollum.gemspec CHANGED
@@ -5,8 +5,8 @@ Gem::Specification.new do |s|
5
5
  s.required_ruby_version = '>= 1.9'
6
6
 
7
7
  s.name = 'gollum'
8
- s.version = '5.2.2'
9
- s.date = '2021-03-27'
8
+ s.version = '5.2.3'
9
+ s.date = '2021-04-18'
10
10
  s.license = 'MIT'
11
11
 
12
12
  s.summary = 'A simple, Git-powered wiki.'
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.2'
15
+ VERSION = '5.2.3'
16
16
 
17
17
  def self.assets_path
18
18
  ::File.expand_path('gollum/public', ::File.dirname(__FILE__))
@@ -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.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-03-27 00:00:00.000000000 Z
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.1.4
1533
+ rubygems_version: 3.0.3
1534
1534
  signing_key:
1535
1535
  specification_version: 2
1536
1536
  summary: A simple, Git-powered wiki.