jemoji-plus 0.1.6 → 0.1.7

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 +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f17b9ab96e383a219fd2c8a3f3b5b6db8ad7a73767669cf4b8ead78d039d805
4
- data.tar.gz: 5a43ce478fcb3aadc0bb925d6f66e81f2efe130445142dfcc846cf276c7b1e86
3
+ metadata.gz: 3fe0934b1f6c45efa396e5980db921ab5dc3f322d3e1059660e9a4b2b91c9e87
4
+ data.tar.gz: 16e7017a6442789b69f588b8fa12b8b7deeed466c0a5cbc4bb842033218f6f48
5
5
  SHA512:
6
- metadata.gz: 35387c61ea4c5331eee1b0f214635753eed3dab3e0675b3570212a9b2d58ca41d45cae7a700bfbe2dc24737fa8b18385ad6d36e70f95891bce9ff9cd5daccac6
7
- data.tar.gz: e4cc324c9acb3aef4ecb7a2c4df3bd680bdd247bfb7360e09ede1717d0a525051a97d987f7ba95272d36123210a31969ecec6e33f44fb05bc4c33c021f869aec
6
+ metadata.gz: 1bb752cc3497d1992c7e7c542cebee283b85ce1b06636bc2dbf27260093229ed20d23f0304cbe1e579864ab585ed17e1cdae9c10b7bef7a9f7f06c08a668a640
7
+ data.tar.gz: 335289b74ec7da50c2ad75343207b8f6a4c48da1b19a70dfe7938b0219a848719c67985a630215dd4caba220749b2b27bacaab030a80213ec05bdf0d16131e10
@@ -52,7 +52,7 @@ module Jekyll
52
52
  # otherwise the root URL for emoji assets at assets-cdn.github.com.
53
53
  def emoji_src(config = {})
54
54
  if config.key?("jemoji_plus") && config["jemoji_plus"].key?("host") && config["jemoji_plus"].key?("path")
55
- config_asset_root
55
+ config_asset_root(config)
56
56
  else
57
57
  default_asset_root
58
58
  end
@@ -70,7 +70,7 @@ module Jekyll
70
70
 
71
71
  private
72
72
 
73
- def config_asset_root
73
+ def config_asset_root(config)
74
74
  # Ensure that any trailing "/" is trimmed.
75
75
  asset_host_url = config["jemoji_plus"]["host"].chomp("/")
76
76
  asset_path = config["jemoji_plus"]["path"]
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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - shines77 and GitHub, Inc.