reveal-ck 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/reveal-ck/builders/create_slides_html.rb +3 -3
- data/lib/reveal-ck/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20df888fb9730d42a8b435a14262eb5f8cc0dde5
|
4
|
+
data.tar.gz: 8365f52f718af3bcc11d3d1a81942a0b76d0c02d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a98af3b6f6e73674c666609941caa3933e9cb573a883e9710abf86057d334c1a3d8da437248c7ad01d4300ec9267ae9083b62bb5802d955bd6ab99d064cd96c
|
7
|
+
data.tar.gz: f73f05b2cec5b986447ec8cc6ae19b5d97d8c6bd0f275506c343bed3dd4dcba9a11f39038b6cc54215e5485682aaec98b2f131d54a97fe4304f66710b5dea8fa
|
@@ -54,13 +54,13 @@ end
|
|
54
54
|
|
55
55
|
module HTML
|
56
56
|
class Pipeline
|
57
|
-
# This class is very similar EmojiFilter. It
|
58
|
-
#
|
57
|
+
# This class is very similar EmojiFilter. It removes the inline
|
58
|
+
# width/height attributes so that reveal-ck supplied CSS takes effect.
|
59
59
|
class RevealCKEmojiFilter < EmojiFilter
|
60
60
|
def emoji_image_filter(text)
|
61
61
|
return text unless text.include?(':')
|
62
62
|
|
63
|
-
text.gsub
|
63
|
+
text.gsub(emoji_pattern) do
|
64
64
|
name = Regexp.last_match[1]
|
65
65
|
result = "<img class='emoji' title=':#{name}:' alt=':#{name}:'"
|
66
66
|
result + "src='#{emoji_url(name)}' align='absmiddle' />"
|
data/lib/reveal-ck/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reveal-ck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jed Northridge
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: RedCloth
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '1.
|
89
|
+
version: '1.9'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '1.
|
96
|
+
version: '1.9'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|