emoji_for_jekyll 0.1.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/emoji_for_jekyll.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8743cf29ad7b597ce504b8c28773caecbfba10f
|
4
|
+
data.tar.gz: ea087cbe461e69a2a90b71c22617e70770f487b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40073242f1062fb06555a43b255419c06974da8b0ba8818e26cd152640eda1e68d64d1de92972a79d750ee769b4a2b7d0298b2f92e82a85b25762625edd16422
|
7
|
+
data.tar.gz: aadf34dcc6a8954613fbe0e61d8b29b2933bc3bf54e5d1f5573c2584ae5f89417166ebe7cd3c8296f98e273709eb2828dbb2d6e33119ee14cf422bcb5b64da1d
|
data/lib/emoji_for_jekyll.rb
CHANGED
@@ -36,7 +36,7 @@ module EmojiForJekyll
|
|
36
36
|
images_path = site.config["emoji-images-path"]
|
37
37
|
images_dir = File.join(site.source, images_path)
|
38
38
|
Dir.foreach(images_dir) do |image_filename|
|
39
|
-
if /^(?<tag>.*)\.(?:png|jpg|jpeg|gif)/ =~ image_filename
|
39
|
+
if /^(?<tag>.*)\.(?:svg|png|jpg|jpeg|gif)/ =~ image_filename
|
40
40
|
@master_whitelist << tag
|
41
41
|
@images_path[tag] = File.join("/", images_path, image_filename)
|
42
42
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emoji_for_jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yihang Ho
|
@@ -48,3 +48,4 @@ signing_key:
|
|
48
48
|
specification_version: 4
|
49
49
|
summary: Seamlessly enable emoji in Jekyll.
|
50
50
|
test_files: []
|
51
|
+
has_rdoc:
|