emoji_for_jekyll 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -0
  3. data/lib/emoji_for_jekyll.rb +1 -1
  4. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8743cf29ad7b597ce504b8c28773caecbfba10f
4
- data.tar.gz: ea087cbe461e69a2a90b71c22617e70770f487b6
3
+ metadata.gz: 3990124aa4a01a99009b01cf561e03df96c9f49f
4
+ data.tar.gz: b0d4011b6f91fa935689d1fd4604ab6825a7c5be
5
5
  SHA512:
6
- metadata.gz: 40073242f1062fb06555a43b255419c06974da8b0ba8818e26cd152640eda1e68d64d1de92972a79d750ee769b4a2b7d0298b2f92e82a85b25762625edd16422
7
- data.tar.gz: aadf34dcc6a8954613fbe0e61d8b29b2933bc3bf54e5d1f5573c2584ae5f89417166ebe7cd3c8296f98e273709eb2828dbb2d6e33119ee14cf422bcb5b64da1d
6
+ metadata.gz: 0b298544041e9455b18a722b636fe162a96b9f92a429435f5d1149586a05cd26b406ff69f781250c4ad29022303b5d4969e82bb07c93dce3569439f0a864af82
7
+ data.tar.gz: 6109ef4b5a8ba8bee65c2727212721077b73a322cb34ee1ae4afad90c6eb006f88e6d9dff16db57598e30e54cd0e0a0efcca9d811d625c6b79e9cf9a39577678
data/README.md CHANGED
@@ -16,6 +16,17 @@ _or_
16
16
 
17
17
  1. Copy `emoji_for_jekll.rb` and `emoji.json` into the `_plugins` directory
18
18
 
19
+ ### GitHub Pages
20
+ This plugin (and as a matter of fact, most Jekyll plugins) do not work with GitHub Pages as GitHub
21
+ (understandably) do not allow arbitrary code to be executed on their servers. As a result, only
22
+ [selected plugins](https://help.github.com/articles/using-jekyll-plugins-with-github-pages/) work
23
+ with GitHub pages.
24
+
25
+ Here are my suggestions if you are using GitHub Pages:
26
+
27
+ 1. Build your site locally and push the content of `_site`.
28
+
29
+ 2. Use [Jemoji](https://help.github.com/articles/emoji-on-github-pages/).
19
30
 
20
31
  ## Options
21
32
  ### Whitelist and blacklist
@@ -20,7 +20,7 @@ module EmojiForJekyll
20
20
 
21
21
  site.pages.each { |p| substitute(p, additional_keys) }
22
22
 
23
- site.posts.each { |p| substitute(p, additional_keys) }
23
+ (site.posts.respond_to?(:docs) ? site.posts.docs : site.posts ).each { |p| substitute(p, additional_keys) }
24
24
  end
25
25
 
26
26
  private
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emoji_for_jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yihang Ho
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-08 00:00:00.000000000 Z
11
+ date: 2015-12-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A plugin for Jekyll that seamlessly enable emoji.
14
14
  email: me@yihangho.com
@@ -43,9 +43,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
43
43
  version: '0'
44
44
  requirements: []
45
45
  rubyforge_project:
46
- rubygems_version: 2.2.2
46
+ rubygems_version: 2.4.5.1
47
47
  signing_key:
48
48
  specification_version: 4
49
49
  summary: Seamlessly enable emoji in Jekyll.
50
50
  test_files: []
51
- has_rdoc: