somemoji 0.2.0 → 0.3.0

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
  SHA1:
3
- metadata.gz: 8cbb1fdec97e44218fc0edf827f29ce35da6b5fb
4
- data.tar.gz: b5f523fe41cfea4776dee0fecda5242f47240403
3
+ metadata.gz: 3d685255a884fcb091c0b5dba41ce37e916f3c7d
4
+ data.tar.gz: b2c58701cb9f2ff4a95a7e3d42ae0bbd4d40aab3
5
5
  SHA512:
6
- metadata.gz: cbd284b04f460b93f1eddf9ac4bc542d4aef8186788c6d92b263b0225e9f1edd170d5d8f7b18e560afee94565e710e772dc3b3c2fef0b48b05ff0430ed1f9263
7
- data.tar.gz: 5223bcfac9f9f319f73aafeb9bcceeb5848780a9bf7eecf32300cc070f714a55c772666d660502b7ad654c2f1db56a99ea24b9205f36c87f987780a58da2c292
6
+ metadata.gz: 47895ac3fa27eaf37273630fc57b893394b0da30adce5c307514e76072a716bf8c0e70c1f1520fa47b917a9c2fd5f2a74dd4e7a8cd22ef7e7bf4a78122b50225
7
+ data.tar.gz: 06b75543fa44c51ffdba362ff5a06236c2ce983d0541edc1c1a70a2cc5e01cd1242a6b9fa9860bc77ff6c8b96b05aed721b01d19c7a9ad69c7a6be475012a0cf
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.3.0
2
+
3
+ - Support Noto emoji
4
+
1
5
  ## v0.2.0
2
6
 
3
7
  - Support Apple emoji
data/README.md CHANGED
@@ -8,8 +8,9 @@ A grand unified emoji mapper for some emoji providers.
8
8
  ## Supported emoji
9
9
 
10
10
  - [Apple Emoji](https://support.apple.com/en-us/HT202332)
11
- - [EmojiOne](http://emojione.com/)
12
- - [Twemoji](http://twitter.github.io/twemoji/)
11
+ - [EmojiOne](https://github.com/Ranks/emojione)
12
+ - [Noto Emoji](https://github.com/googlei18n/noto-emoji)
13
+ - [Twemoji](https://github.com/twitter/twemoji)
13
14
 
14
15
  ## Installation
15
16
 
@@ -0,0 +1,1002 @@
1
+ [
2
+ "#",
3
+ "#⃣",
4
+ "*",
5
+ "*⃣",
6
+ "0",
7
+ "0⃣",
8
+ "1",
9
+ "1⃣",
10
+ "2",
11
+ "2⃣",
12
+ "3",
13
+ "3⃣",
14
+ "4",
15
+ "4⃣",
16
+ "5",
17
+ "5⃣",
18
+ "6",
19
+ "6⃣",
20
+ "7",
21
+ "7⃣",
22
+ "8",
23
+ "8⃣",
24
+ "9",
25
+ "9⃣",
26
+ "©",
27
+ "®",
28
+ "🀄",
29
+ "🃏",
30
+ "🅰",
31
+ "🅱",
32
+ "🅾",
33
+ "🅿",
34
+ "🆎",
35
+ "🆑",
36
+ "🆒",
37
+ "🆓",
38
+ "🆔",
39
+ "🆕",
40
+ "🆖",
41
+ "🆗",
42
+ "🆘",
43
+ "🆙",
44
+ "🆚",
45
+ "🇦",
46
+ "🇧",
47
+ "🇨",
48
+ "🇨🇳",
49
+ "🇩",
50
+ "🇩🇪",
51
+ "🇪",
52
+ "🇪🇸",
53
+ "🇫",
54
+ "🇫🇷",
55
+ "🇬",
56
+ "🇬🇧",
57
+ "🇭",
58
+ "🇮",
59
+ "🇮🇹",
60
+ "🇯",
61
+ "🇯🇵",
62
+ "🇰",
63
+ "🇰🇷",
64
+ "🇱",
65
+ "🇲",
66
+ "🇳",
67
+ "🇴",
68
+ "🇵",
69
+ "🇶",
70
+ "🇷",
71
+ "🇷🇺",
72
+ "🇸",
73
+ "🇹",
74
+ "🇺",
75
+ "🇺🇸",
76
+ "🇻",
77
+ "🇼",
78
+ "🇽",
79
+ "🇾",
80
+ "🇿",
81
+ "🈁",
82
+ "🈂",
83
+ "🈚",
84
+ "🈯",
85
+ "🈲",
86
+ "🈳",
87
+ "🈴",
88
+ "🈵",
89
+ "🈶",
90
+ "🈷",
91
+ "🈸",
92
+ "🈹",
93
+ "🈺",
94
+ "🉐",
95
+ "🉑",
96
+ "🌀",
97
+ "🌁",
98
+ "🌂",
99
+ "🌃",
100
+ "🌄",
101
+ "🌅",
102
+ "🌆",
103
+ "🌇",
104
+ "🌈",
105
+ "🌉",
106
+ "🌊",
107
+ "🌋",
108
+ "🌌",
109
+ "🌍",
110
+ "🌎",
111
+ "🌏",
112
+ "🌐",
113
+ "🌑",
114
+ "🌒",
115
+ "🌓",
116
+ "🌔",
117
+ "🌕",
118
+ "🌖",
119
+ "🌗",
120
+ "🌘",
121
+ "🌙",
122
+ "🌚",
123
+ "🌛",
124
+ "🌜",
125
+ "🌝",
126
+ "🌞",
127
+ "🌟",
128
+ "🌠",
129
+ "🌡",
130
+ "🌤",
131
+ "🌥",
132
+ "🌦",
133
+ "🌧",
134
+ "🌨",
135
+ "🌩",
136
+ "🌪",
137
+ "🌫",
138
+ "🌬",
139
+ "🌭",
140
+ "🌮",
141
+ "🌯",
142
+ "🌰",
143
+ "🌱",
144
+ "🌲",
145
+ "🌳",
146
+ "🌴",
147
+ "🌵",
148
+ "🌶",
149
+ "🌷",
150
+ "🌸",
151
+ "🌹",
152
+ "🌺",
153
+ "🌻",
154
+ "🌼",
155
+ "🌽",
156
+ "🌾",
157
+ "🌿",
158
+ "🍀",
159
+ "🍁",
160
+ "🍂",
161
+ "🍃",
162
+ "🍄",
163
+ "🍅",
164
+ "🍆",
165
+ "🍇",
166
+ "🍈",
167
+ "🍉",
168
+ "🍊",
169
+ "🍋",
170
+ "🍌",
171
+ "🍍",
172
+ "🍎",
173
+ "🍏",
174
+ "🍐",
175
+ "🍑",
176
+ "🍒",
177
+ "🍓",
178
+ "🍔",
179
+ "🍕",
180
+ "🍖",
181
+ "🍗",
182
+ "🍘",
183
+ "🍙",
184
+ "🍚",
185
+ "🍛",
186
+ "🍜",
187
+ "🍝",
188
+ "🍞",
189
+ "🍟",
190
+ "🍠",
191
+ "🍡",
192
+ "🍢",
193
+ "🍣",
194
+ "🍤",
195
+ "🍥",
196
+ "🍦",
197
+ "🍧",
198
+ "🍨",
199
+ "🍩",
200
+ "🍪",
201
+ "🍫",
202
+ "🍬",
203
+ "🍭",
204
+ "🍮",
205
+ "🍯",
206
+ "🍰",
207
+ "🍱",
208
+ "🍲",
209
+ "🍳",
210
+ "🍴",
211
+ "🍵",
212
+ "🍶",
213
+ "🍷",
214
+ "🍸",
215
+ "🍹",
216
+ "🍺",
217
+ "🍻",
218
+ "🍼",
219
+ "🍽",
220
+ "🍾",
221
+ "🍿",
222
+ "🎀",
223
+ "🎁",
224
+ "🎂",
225
+ "🎃",
226
+ "🎄",
227
+ "🎅",
228
+ "🎅🏻",
229
+ "🎅🏼",
230
+ "🎅🏽",
231
+ "🎅🏾",
232
+ "🎅🏿",
233
+ "🎆",
234
+ "🎇",
235
+ "🎈",
236
+ "🎉",
237
+ "🎊",
238
+ "🎋",
239
+ "🎌",
240
+ "🎍",
241
+ "🎎",
242
+ "🎏",
243
+ "🎐",
244
+ "🎑",
245
+ "🎒",
246
+ "🎓",
247
+ "🎖",
248
+ "🎗",
249
+ "🎙",
250
+ "🎚",
251
+ "🎛",
252
+ "🎞",
253
+ "🎟",
254
+ "🎠",
255
+ "🎡",
256
+ "🎢",
257
+ "🎣",
258
+ "🎤",
259
+ "🎥",
260
+ "🎦",
261
+ "🎧",
262
+ "🎨",
263
+ "🎩",
264
+ "🎪",
265
+ "🎫",
266
+ "🎬",
267
+ "🎭",
268
+ "🎮",
269
+ "🎯",
270
+ "🎰",
271
+ "🎱",
272
+ "🎲",
273
+ "🎳",
274
+ "🎴",
275
+ "🎵",
276
+ "🎶",
277
+ "🎷",
278
+ "🎸",
279
+ "🎹",
280
+ "🎺",
281
+ "🎻",
282
+ "🎼",
283
+ "🎽",
284
+ "🎾",
285
+ "🎿",
286
+ "🏀",
287
+ "🏁",
288
+ "🏂",
289
+ "🏃",
290
+ "🏃🏻",
291
+ "🏃🏼",
292
+ "🏃🏽",
293
+ "🏃🏾",
294
+ "🏃🏿",
295
+ "🏄",
296
+ "🏄🏻",
297
+ "🏄🏼",
298
+ "🏄🏽",
299
+ "🏄🏾",
300
+ "🏄🏿",
301
+ "🏅",
302
+ "🏆",
303
+ "🏇",
304
+ "🏈",
305
+ "🏉",
306
+ "🏊",
307
+ "🏊🏻",
308
+ "🏊🏼",
309
+ "🏊🏽",
310
+ "🏊🏾",
311
+ "🏊🏿",
312
+ "🏋",
313
+ "🏋🏻",
314
+ "🏋🏼",
315
+ "🏋🏽",
316
+ "🏋🏾",
317
+ "🏋🏿",
318
+ "🏌",
319
+ "🏍",
320
+ "🏎",
321
+ "🏏",
322
+ "🏐",
323
+ "🏑",
324
+ "🏒",
325
+ "🏓",
326
+ "🏔",
327
+ "🏕",
328
+ "🏖",
329
+ "🏗",
330
+ "🏘",
331
+ "🏙",
332
+ "🏚",
333
+ "🏛",
334
+ "🏜",
335
+ "🏝",
336
+ "🏞",
337
+ "🏟",
338
+ "🏠",
339
+ "🏡",
340
+ "🏢",
341
+ "🏣",
342
+ "🏤",
343
+ "🏥",
344
+ "🏦",
345
+ "🏧",
346
+ "🏨",
347
+ "🏩",
348
+ "🏪",
349
+ "🏫",
350
+ "🏬",
351
+ "🏭",
352
+ "🏮",
353
+ "🏯",
354
+ "🏰",
355
+ "🏳",
356
+ "🏴",
357
+ "🏵",
358
+ "🏷",
359
+ "🏸",
360
+ "🏹",
361
+ "🏺",
362
+ "🏻",
363
+ "🏼",
364
+ "🏽",
365
+ "🏾",
366
+ "🏿",
367
+ "🐀",
368
+ "🐁",
369
+ "🐂",
370
+ "🐃",
371
+ "🐄",
372
+ "🐅",
373
+ "🐆",
374
+ "🐇",
375
+ "🐈",
376
+ "🐉",
377
+ "🐊",
378
+ "🐋",
379
+ "🐌",
380
+ "🐍",
381
+ "🐎",
382
+ "🐏",
383
+ "🐐",
384
+ "🐑",
385
+ "🐒",
386
+ "🐓",
387
+ "🐔",
388
+ "🐕",
389
+ "🐖",
390
+ "🐗",
391
+ "🐘",
392
+ "🐙",
393
+ "🐚",
394
+ "🐛",
395
+ "🐜",
396
+ "🐝",
397
+ "🐞",
398
+ "🐟",
399
+ "🐠",
400
+ "🐡",
401
+ "🐢",
402
+ "🐣",
403
+ "🐤",
404
+ "🐥",
405
+ "🐦",
406
+ "🐧",
407
+ "🐨",
408
+ "🐩",
409
+ "🐪",
410
+ "🐫",
411
+ "🐬",
412
+ "🐭",
413
+ "🐮",
414
+ "🐯",
415
+ "🐰",
416
+ "🐱",
417
+ "🐲",
418
+ "🐳",
419
+ "🐴",
420
+ "🐵",
421
+ "🐶",
422
+ "🐷",
423
+ "🐸",
424
+ "🐹",
425
+ "🐺",
426
+ "🐻",
427
+ "🐼",
428
+ "🐽",
429
+ "🐾",
430
+ "🐿",
431
+ "👀",
432
+ "👁",
433
+ "👁‍🗨",
434
+ "👂",
435
+ "👂🏻",
436
+ "👂🏼",
437
+ "👂🏽",
438
+ "👂🏾",
439
+ "👂🏿",
440
+ "👃",
441
+ "👃🏻",
442
+ "👃🏼",
443
+ "👃🏽",
444
+ "👃🏾",
445
+ "👃🏿",
446
+ "👄",
447
+ "👅",
448
+ "👆",
449
+ "👆🏻",
450
+ "👆🏼",
451
+ "👆🏽",
452
+ "👆🏾",
453
+ "👆🏿",
454
+ "👇",
455
+ "👇🏻",
456
+ "👇🏼",
457
+ "👇🏽",
458
+ "👇🏾",
459
+ "👇🏿",
460
+ "👈",
461
+ "👈🏻",
462
+ "👈🏼",
463
+ "👈🏽",
464
+ "👈🏾",
465
+ "👈🏿",
466
+ "👉",
467
+ "👉🏻",
468
+ "👉🏼",
469
+ "👉🏽",
470
+ "👉🏾",
471
+ "👉🏿",
472
+ "👊",
473
+ "👊🏻",
474
+ "👊🏼",
475
+ "👊🏽",
476
+ "👊🏾",
477
+ "👊🏿",
478
+ "👋",
479
+ "👋🏻",
480
+ "👋🏼",
481
+ "👋🏽",
482
+ "👋🏾",
483
+ "👋🏿",
484
+ "👌",
485
+ "👌🏻",
486
+ "👌🏼",
487
+ "👌🏽",
488
+ "👌🏾",
489
+ "👌🏿",
490
+ "👍",
491
+ "👍🏻",
492
+ "👍🏼",
493
+ "👍🏽",
494
+ "👍🏾",
495
+ "👍🏿",
496
+ "👎",
497
+ "👎🏻",
498
+ "👎🏼",
499
+ "👎🏽",
500
+ "👎🏾",
501
+ "👎🏿",
502
+ "👏",
503
+ "👏🏻",
504
+ "👏🏼",
505
+ "👏🏽",
506
+ "👏🏾",
507
+ "👏🏿",
508
+ "👐",
509
+ "👐🏻",
510
+ "👐🏼",
511
+ "👐🏽",
512
+ "👐🏾",
513
+ "👐🏿",
514
+ "👑",
515
+ "👒",
516
+ "👓",
517
+ "👔",
518
+ "👕",
519
+ "👖",
520
+ "👗",
521
+ "👘",
522
+ "👙",
523
+ "👚",
524
+ "👛",
525
+ "👜",
526
+ "👝",
527
+ "👞",
528
+ "👟",
529
+ "👠",
530
+ "👡",
531
+ "👢",
532
+ "👣",
533
+ "👤",
534
+ "👥",
535
+ "👦",
536
+ "👦🏻",
537
+ "👦🏼",
538
+ "👦🏽",
539
+ "👦🏾",
540
+ "👦🏿",
541
+ "👧",
542
+ "👧🏻",
543
+ "👧🏼",
544
+ "👧🏽",
545
+ "👧🏾",
546
+ "👧🏿",
547
+ "👨",
548
+ "👨‍❤️‍👨",
549
+ "👨‍❤️‍💋‍👨",
550
+ "👨‍👨‍👦",
551
+ "👨‍👨‍👦‍👦",
552
+ "👨‍👨‍👧",
553
+ "👨‍👨‍👧‍👦",
554
+ "👨‍👨‍👧‍👧",
555
+ "👨‍👩‍👦‍👦",
556
+ "👨‍👩‍👧",
557
+ "👨‍👩‍👧‍👦",
558
+ "👨‍👩‍👧‍👧",
559
+ "👨🏻",
560
+ "👨🏼",
561
+ "👨🏽",
562
+ "👨🏾",
563
+ "👨🏿",
564
+ "👩",
565
+ "👩‍❤️‍👩",
566
+ "👩‍❤️‍💋‍👩",
567
+ "👩‍👩‍👦",
568
+ "👩‍👩‍👦‍👦",
569
+ "👩‍👩‍👧",
570
+ "👩‍👩‍👧‍👦",
571
+ "👩‍👩‍👧‍👧",
572
+ "👩🏻",
573
+ "👩🏼",
574
+ "👩🏽",
575
+ "👩🏾",
576
+ "👩🏿",
577
+ "👪",
578
+ "👫",
579
+ "👬",
580
+ "👭",
581
+ "👮",
582
+ "👮🏻",
583
+ "👮🏼",
584
+ "👮🏽",
585
+ "👮🏾",
586
+ "👮🏿",
587
+ "👯",
588
+ "👰",
589
+ "👰🏻",
590
+ "👰🏼",
591
+ "👰🏽",
592
+ "👰🏾",
593
+ "👰🏿",
594
+ "👱",
595
+ "👱🏻",
596
+ "👱🏼",
597
+ "👱🏽",
598
+ "👱🏾",
599
+ "👱🏿",
600
+ "👲",
601
+ "👲🏻",
602
+ "👲🏼",
603
+ "👲🏽",
604
+ "👲🏾",
605
+ "👲🏿",
606
+ "👳",
607
+ "👳🏻",
608
+ "👳🏼",
609
+ "👳🏽",
610
+ "👳🏾",
611
+ "👳🏿",
612
+ "👴",
613
+ "👴🏻",
614
+ "👴🏼",
615
+ "👴🏽",
616
+ "👴🏾",
617
+ "👴🏿",
618
+ "👵",
619
+ "👵🏻",
620
+ "👵🏼",
621
+ "👵🏽",
622
+ "👵🏾",
623
+ "👵🏿",
624
+ "👶",
625
+ "👶🏻",
626
+ "👶🏼",
627
+ "👶🏽",
628
+ "👶🏾",
629
+ "👶🏿",
630
+ "👷",
631
+ "👷🏻",
632
+ "👷🏼",
633
+ "👷🏽",
634
+ "👷🏾",
635
+ "👷🏿",
636
+ "👸",
637
+ "👸🏻",
638
+ "👸🏼",
639
+ "👸🏽",
640
+ "👸🏾",
641
+ "👸🏿",
642
+ "👹",
643
+ "👺",
644
+ "👻",
645
+ "👼",
646
+ "👼🏻",
647
+ "👼🏼",
648
+ "👼🏽",
649
+ "👼🏾",
650
+ "👼🏿",
651
+ "👽",
652
+ "👾",
653
+ "👿",
654
+ "💀",
655
+ "💁",
656
+ "💁🏻",
657
+ "💁🏼",
658
+ "💁🏽",
659
+ "💁🏾",
660
+ "💁🏿",
661
+ "💂",
662
+ "💂🏻",
663
+ "💂🏼",
664
+ "💂🏽",
665
+ "💂🏾",
666
+ "💂🏿",
667
+ "💃",
668
+ "💃🏻",
669
+ "💃🏼",
670
+ "💃🏽",
671
+ "💃🏾",
672
+ "💃🏿",
673
+ "💄",
674
+ "💅",
675
+ "💅🏻",
676
+ "💅🏼",
677
+ "💅🏽",
678
+ "💅🏾",
679
+ "💅🏿",
680
+ "💆",
681
+ "💆🏻",
682
+ "💆🏼",
683
+ "💆🏽",
684
+ "💆🏾",
685
+ "💆🏿",
686
+ "💇",
687
+ "💇🏻",
688
+ "💇🏼",
689
+ "💇🏽",
690
+ "💇🏾",
691
+ "💇🏿",
692
+ "💈",
693
+ "💉",
694
+ "💊",
695
+ "💋",
696
+ "💌",
697
+ "💍",
698
+ "💎",
699
+ "💏",
700
+ "💐",
701
+ "💑",
702
+ "💒",
703
+ "💓",
704
+ "💔",
705
+ "💕",
706
+ "💖",
707
+ "💗",
708
+ "💘",
709
+ "💙",
710
+ "💚",
711
+ "💛",
712
+ "💜",
713
+ "💝",
714
+ "💞",
715
+ "💟",
716
+ "💠",
717
+ "💡",
718
+ "💢",
719
+ "💣",
720
+ "💤",
721
+ "💥",
722
+ "💦",
723
+ "💧",
724
+ "💨",
725
+ "💩",
726
+ "💪",
727
+ "💪🏻",
728
+ "💪🏼",
729
+ "💪🏽",
730
+ "💪🏾",
731
+ "💪🏿",
732
+ "💫",
733
+ "💬",
734
+ "💭",
735
+ "💮",
736
+ "💯",
737
+ "💰",
738
+ "💱",
739
+ "💲",
740
+ "💳",
741
+ "💴",
742
+ "💵",
743
+ "💶",
744
+ "💷",
745
+ "💸",
746
+ "💹",
747
+ "💺",
748
+ "💻",
749
+ "💼",
750
+ "💽",
751
+ "💾",
752
+ "💿",
753
+ "📀",
754
+ "📁",
755
+ "📂",
756
+ "📃",
757
+ "📄",
758
+ "📅",
759
+ "📆",
760
+ "📇",
761
+ "📈",
762
+ "📉",
763
+ "📊",
764
+ "📋",
765
+ "📌",
766
+ "📍",
767
+ "📎",
768
+ "📏",
769
+ "📐",
770
+ "📑",
771
+ "📒",
772
+ "📓",
773
+ "📔",
774
+ "📕",
775
+ "📖",
776
+ "📗",
777
+ "📘",
778
+ "📙",
779
+ "📚",
780
+ "📛",
781
+ "📜",
782
+ "📝",
783
+ "📞",
784
+ "📟",
785
+ "📠",
786
+ "📡",
787
+ "📢",
788
+ "📣",
789
+ "📤",
790
+ "📥",
791
+ "📦",
792
+ "📧",
793
+ "📨",
794
+ "📩",
795
+ "📪",
796
+ "📫",
797
+ "📬",
798
+ "📭",
799
+ "📮",
800
+ "📯",
801
+ "📰",
802
+ "📱",
803
+ "📲",
804
+ "📳",
805
+ "📴",
806
+ "📵",
807
+ "📶",
808
+ "📷",
809
+ "📸",
810
+ "📹",
811
+ "📺",
812
+ "📻",
813
+ "📼",
814
+ "📽",
815
+ "📿",
816
+ "🔀",
817
+ "🔁",
818
+ "🔂",
819
+ "🔃",
820
+ "🔄",
821
+ "🔅",
822
+ "🔆",
823
+ "🔇",
824
+ "🔈",
825
+ "🔉",
826
+ "🔊",
827
+ "🔋",
828
+ "🔌",
829
+ "🔍",
830
+ "🔎",
831
+ "🔏",
832
+ "🔐",
833
+ "🔑",
834
+ "🔒",
835
+ "🔓",
836
+ "🔔",
837
+ "🔕",
838
+ "🔖",
839
+ "🔗",
840
+ "🔘",
841
+ "🔙",
842
+ "🔚",
843
+ "🔛",
844
+ "🔜",
845
+ "🔝",
846
+ "🔞",
847
+ "🔟",
848
+ "🔠",
849
+ "🔡",
850
+ "🔢",
851
+ "🔣",
852
+ "🔤",
853
+ "🔥",
854
+ "🔦",
855
+ "🔧",
856
+ "🔨",
857
+ "🔩",
858
+ "🔪",
859
+ "🔫",
860
+ "🔬",
861
+ "🔭",
862
+ "🔮",
863
+ "🔯",
864
+ "🔰",
865
+ "🔱",
866
+ "🔲",
867
+ "🔳",
868
+ "🔴",
869
+ "🔵",
870
+ "🔶",
871
+ "🔷",
872
+ "🔸",
873
+ "🔹",
874
+ "🔺",
875
+ "🔻",
876
+ "🔼",
877
+ "🔽",
878
+ "🕉",
879
+ "🕊",
880
+ "🕋",
881
+ "🕌",
882
+ "🕍",
883
+ "🕎",
884
+ "🕐",
885
+ "🕑",
886
+ "🕒",
887
+ "🕓",
888
+ "🕔",
889
+ "🕕",
890
+ "🕖",
891
+ "🕗",
892
+ "🕘",
893
+ "🕙",
894
+ "🕚",
895
+ "🕛",
896
+ "🕜",
897
+ "🕝",
898
+ "🕞",
899
+ "🕟",
900
+ "🕠",
901
+ "🕡",
902
+ "🕢",
903
+ "🕣",
904
+ "🕤",
905
+ "🕥",
906
+ "🕦",
907
+ "🕧",
908
+ "🕯",
909
+ "🕰",
910
+ "🕳",
911
+ "🕴",
912
+ "🕵",
913
+ "🕵🏻",
914
+ "🕵🏼",
915
+ "🕵🏽",
916
+ "🕵🏾",
917
+ "🕵🏿",
918
+ "🕶",
919
+ "🕷",
920
+ "🕸",
921
+ "🕹",
922
+ "🕺",
923
+ "🕺🏻",
924
+ "🕺🏼",
925
+ "🕺🏽",
926
+ "🕺🏾",
927
+ "🕺🏿",
928
+ "🖇",
929
+ "🖊",
930
+ "🖋",
931
+ "🖌",
932
+ "🖍",
933
+ "🖐",
934
+ "🖐🏻",
935
+ "🖐🏼",
936
+ "🖐🏽",
937
+ "🖐🏾",
938
+ "🖐🏿",
939
+ "🖕",
940
+ "🖕🏻",
941
+ "🖕🏼",
942
+ "🖕🏽",
943
+ "🖕🏾",
944
+ "🖕🏿",
945
+ "🖖",
946
+ "🖖🏻",
947
+ "🖖🏼",
948
+ "🖖🏽",
949
+ "🖖🏾",
950
+ "🖖🏿",
951
+ "🖤",
952
+ "🖥",
953
+ "🖨",
954
+ "🖱",
955
+ "🖲",
956
+ "🖼",
957
+ "🗂",
958
+ "🗃",
959
+ "🗄",
960
+ "🗑",
961
+ "🗒",
962
+ "🗓",
963
+ "🗜",
964
+ "🗝",
965
+ "🗞",
966
+ "🗡",
967
+ "🗣",
968
+ "🗨",
969
+ "🗯",
970
+ "🗳",
971
+ "🗺",
972
+ "🗻",
973
+ "🗼",
974
+ "🗽",
975
+ "🗾",
976
+ "🗿",
977
+ "😀",
978
+ "😁",
979
+ "😂",
980
+ "😃",
981
+ "😄",
982
+ "😅",
983
+ "😆",
984
+ "😇",
985
+ "😈",
986
+ "😉",
987
+ "😊",
988
+ "😋",
989
+ "😌",
990
+ "😍",
991
+ "😎",
992
+ "😏",
993
+ "😐",
994
+ "😑",
995
+ "😒",
996
+ "😓",
997
+ "😔",
998
+ "😕",
999
+ "😖",
1000
+ "😗",
1001
+ "😘"
1002
+ ]
data/lib/somemoji.rb CHANGED
@@ -43,6 +43,18 @@ module Somemoji
43
43
  ::File.expand_path("../../data/emoji_definitions", __FILE__)
44
44
  end
45
45
 
46
+ # @return [Somemoji::EmojiCollection] an emoji collection including Noto emojis
47
+ # @example
48
+ # Somemoji.noto_emoji_collection.count #=> 962
49
+ def noto_emoji_collection
50
+ @noto_emoji_collection ||= ::Somemoji::EmojiCollection.new(noto_emojis)
51
+ end
52
+
53
+ # @return [String]
54
+ def noto_supported_characters_path
55
+ ::File.expand_path("../../data/noto_supported_characters.json", __FILE__)
56
+ end
57
+
46
58
  # @return [Somemoji::EmojiCollection] an emoji collection including Twemoji emojis
47
59
  # @example
48
60
  # Somemoji.twemoji_emoji_collection.count #=> 1626
@@ -97,6 +109,18 @@ module Somemoji
97
109
  end
98
110
  end
99
111
 
112
+ # @return [Array<Twemoji::Emoji>]
113
+ def noto_emojis
114
+ noto_supported_characters.map do |character|
115
+ emoji_collection.find_by_character(character)
116
+ end.compact
117
+ end
118
+
119
+ # @return [Array<String>]
120
+ def noto_supported_characters
121
+ ::JSON.parse(::File.read(noto_supported_characters_path))
122
+ end
123
+
100
124
  # @return [Array<Twemoji::Emoji>]
101
125
  def twemoji_emojis
102
126
  twemoji_supported_characters.map do |character|
@@ -66,18 +66,18 @@ module Somemoji
66
66
  aliases: nil,
67
67
  ascii_arts: nil,
68
68
  category: nil,
69
- code_points_alternates: nil,
70
- code_points: nil,
71
69
  code:,
70
+ code_points: nil,
71
+ code_points_alternates: nil,
72
72
  keywords: nil,
73
73
  name: nil
74
74
  )
75
75
  @aliases = aliases || []
76
76
  @ascii_arts = ascii_arts || []
77
77
  @category = category
78
- @code_points_alternates = code_points_alternates || []
79
- @code_points = code_points
80
78
  @code = code
79
+ @code_points = code_points
80
+ @code_points_alternates = code_points_alternates || []
81
81
  @keywords = keywords || []
82
82
  @name = name
83
83
  end
@@ -0,0 +1,34 @@
1
+ module Somemoji
2
+ module EmojiExtractors
3
+ class NotoEmojiExtractor < DownloadableEmojiExtractor
4
+ HOST = "raw.githubusercontent.com"
5
+
6
+ private
7
+
8
+ # @return [String]
9
+ def directory_name
10
+ if @format == "svg"
11
+ "svg"
12
+ else
13
+ "png/128"
14
+ end
15
+ end
16
+
17
+ # @note Implementation for Somemoji::EmojiExtractors::DownloadableEmojiExtractor
18
+ def emojis
19
+ ::Somemoji.noto_emoji_collection.each
20
+ end
21
+
22
+ # @note Implementation for Somemoji::EmojiExtractors::DownloadableEmojiExtractor
23
+ def find_remote_emoji_path(emoji)
24
+ "/googlei18n/noto-emoji/fcc3cfed6f7bad76ed7bb2012b3ac5232ced7a96/#{directory_name}/emoji_u#{emoji.code_points.join('_').downcase}.#{extension}"
25
+ end
26
+
27
+ # @note Implementation for Somemoji::EmojiExtractors::DownloadableEmojiExtractor
28
+ # @return [String]
29
+ def host
30
+ HOST
31
+ end
32
+ end
33
+ end
34
+ end
@@ -1,3 +1,3 @@
1
1
  module Somemoji
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -0,0 +1,22 @@
1
+ require "json"
2
+ require "net/https"
3
+ require "pathname"
4
+ require "somemoji"
5
+
6
+ http = ::Net::HTTP.new("api.github.com", 443)
7
+ http.use_ssl = true
8
+ response = http.get("/repos/googlei18n/noto-emoji/contents/png/128")
9
+ p response
10
+ characters = JSON.parse(response.body).map do |hash|
11
+ if hash["name"].start_with?("emoji")
12
+ hash["name"][7..-5].split("_").map do |point|
13
+ point.to_i(16)
14
+ end.pack("U*")
15
+ end
16
+ end.compact
17
+
18
+ Pathname.new(Somemoji.noto_supported_characters_path).parent.mkpath
19
+ File.write(
20
+ Somemoji.noto_supported_characters_path,
21
+ JSON.pretty_generate(characters.sort),
22
+ )
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: somemoji
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-07 00:00:00.000000000 Z
11
+ date: 2016-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gemoji
@@ -1931,6 +1931,7 @@ files:
1931
1931
  - data/emoji_definitions/zero.json
1932
1932
  - data/emoji_definitions/zipper_mouth.json
1933
1933
  - data/emoji_definitions/zzz.json
1934
+ - data/noto_supported_characters.json
1934
1935
  - data/twemoji_supported_characters.json
1935
1936
  - lib/somemoji.rb
1936
1937
  - lib/somemoji/emoji.rb
@@ -1939,10 +1940,12 @@ files:
1939
1940
  - lib/somemoji/emoji_extractors/base_emoji_extractor.rb
1940
1941
  - lib/somemoji/emoji_extractors/downloadable_emoji_extractor.rb
1941
1942
  - lib/somemoji/emoji_extractors/emoji_one_emoji_extractor.rb
1943
+ - lib/somemoji/emoji_extractors/noto_emoji_extractor.rb
1942
1944
  - lib/somemoji/emoji_extractors/twemoji_emoji_extractor.rb
1943
1945
  - lib/somemoji/version.rb
1944
1946
  - script/generate_apple_supported_characters.rb
1945
1947
  - script/generate_emoji_definitions_from_gemojione.rb
1948
+ - script/generate_noto_supported_characters.rb
1946
1949
  - script/generate_twemoji_supported_characters.rb
1947
1950
  - somemoji.gemspec
1948
1951
  homepage: https://github.com/r7kamura/somemoji