jemoji 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jemoji.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91990a892c727f2bfcc86896ba1e1b933359797e
|
4
|
+
data.tar.gz: 0eb796bc7e2ff08d0bfdd966cda80b218d788d2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d27bb29fa64b66c398fb459615a456ba1bbe208e17921e088b333f17cb08c9b7981f10f93b9ec22338ce3a01f1c8bdcc7a121bd68549353d322b27866c1893b2
|
7
|
+
data.tar.gz: 776114cace33d8566ca59578e1c664b5e07202d4fce8bf9e99f69680affd539e221b767408e04cfce23d93fc458d3fe261eb937735963b6b5d273c8f0c96e1d2
|
data/lib/jemoji.rb
CHANGED
@@ -52,7 +52,7 @@ module Jekyll
|
|
52
52
|
#
|
53
53
|
# Returns true if the doc is written & is HTML.
|
54
54
|
def emojiable?(doc)
|
55
|
-
(doc.
|
55
|
+
(doc.is_a?(Jekyll::Page) || doc.write?) &&
|
56
56
|
doc.output_ext == ".html" || (doc.permalink && doc.permalink.end_with?("/"))
|
57
57
|
end
|
58
58
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jemoji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|