jemoji 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jemoji.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 863bbb0e3fc417fe221613909e76d946ab5a5fce
4
- data.tar.gz: 434939b213fc37b2d6772c3938c27e9d281b16ab
3
+ metadata.gz: 91990a892c727f2bfcc86896ba1e1b933359797e
4
+ data.tar.gz: 0eb796bc7e2ff08d0bfdd966cda80b218d788d2b
5
5
  SHA512:
6
- metadata.gz: feb452169907fb003decc0890429047806f24216483b2eb2b572d6ded58d907cd4656d9f8f289ed7a020899ed5e032da576230f3454ebccd867aebac6941068a
7
- data.tar.gz: 7e63fa351ece10c4b5f4d85ff8dde2be1157775a09f5057ae8019b2ec850529ccad6873f58ea1c9c2d073abae11090fa2148c2db2e158f3fae2bd5ba5cedd3c6
6
+ metadata.gz: d27bb29fa64b66c398fb459615a456ba1bbe208e17921e088b333f17cb08c9b7981f10f93b9ec22338ce3a01f1c8bdcc7a121bd68549353d322b27866c1893b2
7
+ data.tar.gz: 776114cace33d8566ca59578e1c664b5e07202d4fce8bf9e99f69680affd539e221b767408e04cfce23d93fc458d3fe261eb937735963b6b5d273c8f0c96e1d2
@@ -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.class == Jekyll::Page || doc.write?) &&
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.0
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-08 00:00:00.000000000 Z
11
+ date: 2016-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll