gollum-lib 5.0.2 → 5.0.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: 204cefb65a7eba264c0d4940f7396bb9bb182b06bc4390e6a12f91afc4b315d9
4
- data.tar.gz: d3150f2e9e8204fbdd4140eec0c1866a5001ccb0d3b555e42929d0369a9f09ae
3
+ metadata.gz: 9eb73fee74de3abfbfee9cc96a66ec90cda24fc977e471f418fd45a7b9ed4e92
4
+ data.tar.gz: a4b7bd4775dff9f56a544e16203d280f4628c878566b8759704123d9b454adf0
5
5
  SHA512:
6
- metadata.gz: 276b4ba930ce6cff4b7278f817439236c0f8d265c0cca5fb7c8934923ae438ec07dfbd78bad20a79d5452f6874e3a45b9358e60ded3494d94183487bd2d5ba04
7
- data.tar.gz: 0ae3bcfbf07852b32b60c70d7318aac13f074072316891b9c1a1e54a8ebe1f2e7f3b323fbeb43de5c50231e34965d5643bbd3c69b3b7aa2515f3ad308863dc42
6
+ metadata.gz: 6fd7ecd84b3210530bd8c13343649f1e2c9f0e25b25dfc2c44c43abfc7f2829b7ef0397cfb449037129d3f48651470f984064e09bb317b7331d6efca9d0da5a2
7
+ data.tar.gz: 3e984416e404f263d2338f2b01d9eb7196b562395bd1eaa809be5f579e509b0a7fe8644a144587c68f85d44281bf620cb2e1f699419be0528dd3d085387b571b
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ # v5.0.1
2
+
3
+ Bugfix release: fix emoji when using base path. Thanks to @heavywatal.
4
+
1
5
  # v5.0
2
6
 
3
7
  For a detailed overview of changes in 5.0 and a guide to migrating your wiki, see https://github.com/gollum/gollum/wiki/5.0-release-notes
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 = '2020-03-31'
11
+ s.date = '2020-04-04'
12
12
  s.date = '2017-04-13'
13
13
  s.rubyforge_project = 'gollum-lib'
14
14
  s.license = 'MIT'
@@ -26,7 +26,8 @@ class Gollum::Filter::Emoji < Gollum::Filter
26
26
  end
27
27
 
28
28
  def process(data)
29
- data.gsub! process_pattern, %q(<img src="/gollum/emoji/\k<name>" alt="\k<name>" class="emoji">)
29
+ src = ::File.join(@markup.wiki.base_path, '/gollum/emoji/\\k<name>')
30
+ data.gsub! process_pattern, %Q(<img src="#{src}" alt="\\k<name>" class="emoji">)
30
31
  data
31
32
  end
32
33
 
@@ -1,5 +1,5 @@
1
1
  module Gollum
2
2
  module Lib
3
- VERSION = '5.0.2'
3
+ VERSION = '5.0.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.0.2
4
+ version: 5.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner