discourse-emojis 1.0.40 → 1.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '00829e0cbfdfa89c5e12094da415e89de176876604d1688c0df82d011c729a55'
4
- data.tar.gz: 5a6fedb16be65f3b6d82c45c65cc7ae18193c251e30e19544e3399334eb0a815
3
+ metadata.gz: 0dd960ff5fb0f4d07b17fa6d3810046030251badd17a261246ba83d2faa3b856
4
+ data.tar.gz: fc30635ac9463e65efbe1a76ed655878654c907c84ceab94f1085ca07be636f8
5
5
  SHA512:
6
- metadata.gz: 5153da607c5a73abfe0a738b315144cc626c8b96242b218bbcb97ac5345fb61d7245b31564d225545f47c8bbda23be829f22b16f966f1770eda5db34588436c7
7
- data.tar.gz: 36585e0f1171a7851d3bd594b0677564264a6c5ef545764f30cc589cd52295e9dcd72a811da1bcce3548b501b33203ee62add081ce7372ca0af604f9859431ac
6
+ metadata.gz: ca073bf76ba3e6432e2fe791fae9d11112333a51d80deb2fbf0453e76f8b2987a6b0db317e0584a567fcfac42370e4f4fbf0dd6f22e15e381a95d12a5d7a9d4d
7
+ data.tar.gz: 6201408e2d9a07ac7ab99ab24c9b1aaf2606c9833939f88818231135559b24a3ecf4bff1af75f90cd76106fd816726db5766edeb38258b5a53c45763548a9324
@@ -12304,5 +12304,17 @@
12304
12304
  "plunder",
12305
12305
  "Roger",
12306
12306
  "treasure"
12307
+ ],
12308
+ "côte_d_ivoire": [
12309
+ "cote_d_ivoire"
12310
+ ],
12311
+ "åland_islands": [
12312
+ "aland_islands"
12313
+ ],
12314
+ "curaçao": [
12315
+ "curacao"
12316
+ ],
12317
+ "türkiye": [
12318
+ "turkiye"
12307
12319
  ]
12308
12320
  }
@@ -16,6 +16,14 @@ module DiscourseEmojis
16
16
  "flags" => "checkered_flag",
17
17
  }
18
18
 
19
+ SEARCH_ALIASES = {
20
+ "côte_d_ivoire" => ["cote_d_ivoire"],
21
+ "piñata" => ["pinata"],
22
+ "åland_islands" => ["aland_islands"],
23
+ "curaçao" => ["curacao"],
24
+ "türkiye" => ["turkiye"],
25
+ }
26
+
19
27
  # for various reasons we might want to exclude an emoji from the list
20
28
  # for examples emojis which are only present in the components group
21
29
  EMOJI_EXCLUDES = %w[white_hair curly_hair bald red_hair]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DiscourseEmojis
4
- VERSION = "1.0.40"
4
+ VERSION = "1.0.41"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discourse-emojis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.40
4
+ version: 1.0.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joffrey Jaffeux