gemoji 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/emoji/character.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d635214e1d3917e6457cdc9d0166f75a12db91181827089b472704f2f2b107bc
|
4
|
+
data.tar.gz: 9f1dbe22fd0140ca3ffaf35d9038361a1e5fc738b68e0cb980550683053e309d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2435113a21a123a55f0f6713157284eb004e54f272eb9d1ca6376e0141966b6064cf1f65224861d3d1693af89caf6a03e64a5e91fbfc3c4ab84465d44a201a3
|
7
|
+
data.tar.gz: 582d95640f43d91ba425270cd53b36444c17897a6a5112110f866eda51870ebe761906588c0d0d3e3ba4e5a150c3fac5c2aa794229a7fda5c91b8bfcdb5de5b3
|
data/lib/emoji/character.rb
CHANGED
@@ -51,7 +51,7 @@ module Emoji
|
|
51
51
|
SKIN_TONES.map do |modifier|
|
52
52
|
if idx
|
53
53
|
# insert modifier before zero-width joiner
|
54
|
-
raw_normalized[...idx] + modifier + raw_normalized[idx..]
|
54
|
+
raw_normalized[0...idx] + modifier + raw_normalized[idx..nil]
|
55
55
|
else
|
56
56
|
raw_normalized + modifier
|
57
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemoji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Character information and metadata for Unicode emoji.
|
14
14
|
email: support@github.com
|