jekyll-mentions 1.1.0 → 1.1.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/jekyll-mentions.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c627b00d759842a74836656d975af42eda10beb
4
- data.tar.gz: 89ec283cdfa10d508e9c5853a9324b2bc7da5a02
3
+ metadata.gz: 134847e01e6b89b46835f4c6a65648fff0196c15
4
+ data.tar.gz: 027012744c29e2cb839d55724152200365dfcce6
5
5
  SHA512:
6
- metadata.gz: 4b83bf2888de733d34a7611e15fcd712d4d69bec82e131a6b4a5f8f8f4987a4851745df8a3fae91f97c04dee5dd4f2917941b9c53dc04b7cbe63bd8b0977735a
7
- data.tar.gz: 1a83a5c422315eff654a828e3d223bb7fc98b951519a09294b0f5a2fb215c9c8e196baeca6e449f7beb0dff539ba3861bb444e3cf5f06db786efd8d021c998ec
6
+ metadata.gz: 8588ee5517b27026cb7752b65420d0f833be9793bdcbcd63d09c79e4c7fca385fd5a0134b5c0edbfaedb0b6121ee661059e7a622f83dbe762f476fec343cfa7e
7
+ data.tar.gz: 26fd3d512aebb09474f9148196b9a9502e0e56179d77272927640faec9e2b157cd100fe734920f82cb0fd140575be4622ae809ea2eb71d0addbfb9b46f5a86f3
@@ -62,7 +62,7 @@ module Jekyll
62
62
  #
63
63
  # Returns true if the doc is written & is HTML.
64
64
  def mentionable?(doc)
65
- (doc.class == Jekyll::Page || doc.write?) &&
65
+ (doc.is_a?(Jekyll::Page) || doc.write?) &&
66
66
  doc.output_ext == ".html" || (doc.permalink && doc.permalink.end_with?("/"))
67
67
  end
68
68
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-mentions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.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