jemoji-plus 0.1.2 → 0.1.3

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_plus.rb +3 -3
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf985b6f8702db349813d9ca52e8e240469922c8d079e9a0089c6a79686b0c92
4
- data.tar.gz: b684aaa98784d3a3c8b226c0611689905d386211985f10ebb8d497e1e3d6c37c
3
+ metadata.gz: ad9ef6973aa5b61e3d1fa45d8dd5c313d48a0329e65b7bf490bd1e951086e085
4
+ data.tar.gz: 0a898633c079b657acd8ce5e90c3ddc2ea8d8b17fd1bb77f560a34b54e44516d
5
5
  SHA512:
6
- metadata.gz: 1a2ce077705873f3df2dac82deb0c6e02719a02267c41ca6228317e3cfa526ea7d964f40e19220087231d02299d764511e2a63053ae79780ac0ceefd3442553b
7
- data.tar.gz: e7c493e323a2624e62f245c8375ba2741622fc95d5b485fe792d7cc4f63a0efcc7fd2a3dc94bc589c0ae7e8bda333c4c5df247c8708f90a99554521e2d58e268
6
+ metadata.gz: db5a4827f07bbfb17ba0ac0980e946105f4091b945321f1435891a87edd73ec2f9c6f6a86ae4b3dd7747cacb07c0b68764618d1852a497832c3a3b36db527561
7
+ data.tar.gz: 4309008a6aba13df6e22fae38892e4bf312100092f415a2688f340bc5188417bf60224321e84091cfe3cb8d2fae4b8a84f44a0eb3c8dc534e529a35b1c08f8de
data/lib/jemoji_plus.rb CHANGED
@@ -51,7 +51,7 @@ module Jekyll
51
51
  # URL for assets provided by an ASSET_HOST environment variable,
52
52
  # otherwise the root URL for emoji assets at assets-cdn.github.com.
53
53
  def emoji_src(config = {})
54
- if config.key?("jemoji-plus") && config["jemoji-plus"].key?("host") && config["jemoji-plus"].key?("path")
54
+ if config.key?("jemoji_plus") && config["jemoji_plus"].key?("host") && config["jemoji_plus"].key?("path")
55
55
  config_asset_root
56
56
  else
57
57
  default_asset_root
@@ -72,8 +72,8 @@ module Jekyll
72
72
 
73
73
  def config_asset_root
74
74
  # Ensure that any trailing "/" is trimmed.
75
- asset_host_url = config["jemoji-plus"]["host"].chomp("/")
76
- asset_path = config["jemoji-plus"]["path"]
75
+ asset_host_url = config["jemoji_plus"]["host"].chomp("/")
76
+ asset_path = config["jemoji_plus"]["path"]
77
77
  # If asset_path is not empty, ensure it is start with "/" character.
78
78
  if !asset_path.empty?
79
79
  # '/' ascii code is 47
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jemoji-plus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - shines77 and GitHub, Inc.
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.10.3
33
+ version: 2.10.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 2.10.3
40
+ version: 2.10.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jekyll
43
43
  requirement: !ruby/object:Gem::Requirement