gemoji 4.0.0 → 4.0.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/emoji/character.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1929f8b725c8de093755d34ce7789d2c233fa423eacc17106556ccdb6f9a86d
4
- data.tar.gz: 006ea3db40448da6d341cd4db422a237f2a6db2354ac855c35f9def24bf19373
3
+ metadata.gz: d635214e1d3917e6457cdc9d0166f75a12db91181827089b472704f2f2b107bc
4
+ data.tar.gz: 9f1dbe22fd0140ca3ffaf35d9038361a1e5fc738b68e0cb980550683053e309d
5
5
  SHA512:
6
- metadata.gz: 9c374781d116236985a5e03ed4b57130e7f510cbe53d16c5e7b1367f36761d781d30c18b98f0a0a6dcf3ffeae5e8fa0cab73516d28fc8525e1534c62c3d4539c
7
- data.tar.gz: cd05f53994a620bacd116bd2fa9a22d08b5bd44d149d0f35ff8903cede2c3dc53ef1ca57776d4a5f659ce45d034b781c83cbd71d79b0c072357a869bb29f9f7a
6
+ metadata.gz: d2435113a21a123a55f0f6713157284eb004e54f272eb9d1ca6376e0141966b6064cf1f65224861d3d1693af89caf6a03e64a5e91fbfc3c4ab84465d44a201a3
7
+ data.tar.gz: 582d95640f43d91ba425270cd53b36444c17897a6a5112110f866eda51870ebe761906588c0d0d3e3ba4e5a150c3fac5c2aa794229a7fda5c91b8bfcdb5de5b3
@@ -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.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-16 00:00:00.000000000 Z
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