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 +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: 9eb73fee74de3abfbfee9cc96a66ec90cda24fc977e471f418fd45a7b9ed4e92
|
4
|
+
data.tar.gz: a4b7bd4775dff9f56a544e16203d280f4628c878566b8759704123d9b454adf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fd7ecd84b3210530bd8c13343649f1e2c9f0e25b25dfc2c44c43abfc7f2829b7ef0397cfb449037129d3f48651470f984064e09bb317b7331d6efca9d0da5a2
|
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