gollum-lib 5.0.2-java → 5.0.3-java

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: 0a7311c51dfee8cc3468c067687ee274fe0f6891f5aae6fcc2bfe2f129cd15da
4
- data.tar.gz: 59a92901a6d403ddf68399799c884c7988f4a508cda551f32425de27f65499d2
3
+ metadata.gz: b90a04ff980151e5b6380673b5e73c00c836bf34d8f55ae48b5fdc06a9bb7060
4
+ data.tar.gz: a4b7bd4775dff9f56a544e16203d280f4628c878566b8759704123d9b454adf0
5
5
  SHA512:
6
- metadata.gz: baadd56e12ac7721d9a788cde64b89f72874b819589d590c6ae6f5ff5fc425414a67c2a4a381779ea400ed7338172febc3ef96fa0f916ec2cb3bd4bf0f1a8c83
7
- data.tar.gz: f926cc4bf8f62670777d63b1e6f206717f4e8547474db8d817ed27c13afe48cc7a2fb4ff72bf62f77fe60e4eff0d09e524fb9b8376f5de322fdce8a0f43be096
6
+ metadata.gz: fa4706a500774e05cddef34927d27f33b0f638069a271475f01ffb105749c870c6c45b2e827c2c7ee97e08a5350ef5c65affc8c09f0e521d41043889fd54a6be
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: java
6
6
  authors:
7
7
  - Tom Preston-Werner