diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-11-15 07:36:19 -0600 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-11-15 07:36:19 -0600 |
commit | ce1a1aa1f67d0438fd534920c9aef4e068ea4ddd (patch) | |
tree | cc16e98de68a20577ea73eec33de641ba2bb78c8 /lib | |
parent | 617c4fd94882072ec22f098c09efcdbf3e9af0cb (diff) | |
download | gitlab-ce-ce1a1aa1f67d0438fd534920c9aef4e068ea4ddd.tar.gz |
Move :gay_pride_flag: to flags categoryupdate-emoji-digests-with-latest-from-gemojione
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gemojione.rake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/tasks/gemojione.rake b/lib/tasks/gemojione.rake index 7a814da36bc..c2d3a6b6950 100644 --- a/lib/tasks/gemojione.rake +++ b/lib/tasks/gemojione.rake @@ -39,8 +39,13 @@ namespace :gemojione do fpath = File.join(dir, "#{emoji_hash['unicode']}.png") hash_digest = Digest::SHA256.file(fpath).hexdigest + category = emoji_hash['category'] + if name == 'gay_pride_flag' + category = 'flags' + end + entry = { - category: emoji_hash['category'], + category: category, moji: emoji_hash['moji'], description: emoji_hash['description'], unicodeVersion: Gitlab::Emoji.emoji_unicode_version(name), |