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 +4 -4
- data/HISTORY.md +4 -0
- data/gemspec.rb +1 -1
- data/lib/gollum-lib/filter/emoji.rb +2 -1
- data/lib/gollum-lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b90a04ff980151e5b6380673b5e73c00c836bf34d8f55ae48b5fdc06a9bb7060
|
4
|
+
data.tar.gz: a4b7bd4775dff9f56a544e16203d280f4628c878566b8759704123d9b454adf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa4706a500774e05cddef34927d27f33b0f638069a271475f01ffb105749c870c6c45b2e827c2c7ee97e08a5350ef5c65affc8c09f0e521d41043889fd54a6be
|
7
|
+
data.tar.gz: 3e984416e404f263d2338f2b01d9eb7196b562395bd1eaa809be5f579e509b0a7fe8644a144587c68f85d44281bf620cb2e1f699419be0528dd3d085387b571b
|
data/HISTORY.md
CHANGED
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-
|
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
|
-
|
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
|
|
data/lib/gollum-lib/version.rb
CHANGED