omnibar 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,20 +3,37 @@ module Omnibar
3
3
  include Math
4
4
 
5
5
  def result
6
- begin
7
- [input, value].join(' = ')
8
- rescue Exception => _e
6
+ if value.is_a?(Integer)
7
+ [sanitized_input, value].join(' = ')
8
+ else
9
+ value.to_s
9
10
  end
10
11
  end
11
12
 
12
13
  def value
13
- eval(input + '.to_f')
14
+ @value ||= eval('(' + sanitized_input + '.to_f).round(3)')
15
+ rescue ZeroDivisionError
16
+ 'Division by zero is undefined'
17
+ rescue Math::DomainError => e
18
+ e.message
19
+ rescue StandardError, SyntaxError
20
+ nil
14
21
  end
15
22
 
16
23
  def perform!
17
24
  copy_to_clipboard value
18
25
  end
19
26
 
27
+ def sanitized_input
28
+ input
29
+ .gsub(/(\D)\./, '\10.')
30
+ .gsub('sleep', '')
31
+ end
32
+
33
+ def relevance
34
+ !value.nil?
35
+ end
36
+
20
37
  def pi
21
38
  PI
22
39
  end
@@ -26,3 +43,7 @@ module Omnibar
26
43
  end
27
44
  end
28
45
  end
46
+
47
+ class Integer
48
+ alias ^ **
49
+ end
@@ -0,0 +1,15 @@
1
+ module Omnibar
2
+ class Docs < Query
3
+ def result
4
+ "Search docs for \"#{input}\"" unless input.match?(/\s/)
5
+ end
6
+
7
+ def perform!
8
+ run_silently 'xdg-open', "dash://#{input}", detach: true
9
+ end
10
+
11
+ def relevance
12
+ 0.01
13
+ end
14
+ end
15
+ end
@@ -4,5 +4,13 @@ module Omnibar
4
4
  param = input.gsub(/\s/, '+')
5
5
  open_in_browser "https://duckduckgo.com/?q=#{param}"
6
6
  end
7
+
8
+ def label
9
+ ANSI.color('Duck Duck Go', fg: :red3)
10
+ end
11
+
12
+ def relevance
13
+ 0.001
14
+ end
7
15
  end
8
16
  end
@@ -3,9 +3,6 @@ module Omnibar
3
3
 
4
4
  def result
5
5
  return if input.empty?
6
- key = search.find(input)
7
- value = DICTIONARY[key]
8
-
9
6
  "#{key} :: #{value}" if (key and value)
10
7
  end
11
8
 
@@ -13,8 +10,16 @@ module Omnibar
13
10
  @fm ||= FuzzyMatch.new(DICTIONARY.keys)
14
11
  end
15
12
 
16
- def search
17
- self.class.search
13
+ def key
14
+ search.find(input) || ''
15
+ end
16
+
17
+ def value
18
+ DICTIONARY[key]
19
+ end
20
+
21
+ def relevance
22
+ input.levenshtein_similar(key)
18
23
  end
19
24
 
20
25
  def perform!
@@ -22,333 +27,333 @@ module Omnibar
22
27
  end
23
28
 
24
29
  DICTIONARY = {
25
- "grinning" => "\u{1f600}",
26
- "smiley" => "\u{1f603}",
27
- "smile" => "\u{1f604}",
28
- "grin" => "\u{1f601}",
29
- "laughing" => "\u{1f606}",
30
- "sweat_smile" => "\u{1f605}",
31
- "joy" => "\u{1f602}",
32
- "rofl" => "\u{1f923}",
33
- "relaxed" => "\u{263a}",
34
- "blush" => "\u{1f60a}",
35
- "innocent" => "\u{1f607}",
36
- "slight_smile" => "\u{1f642}",
37
- "upside_down" => "\u{1f643}",
38
- "wink" => "\u{1f609}",
39
- "relieved" => "\u{1f60c}",
40
- "heart_eyes" => "\u{1f60d}",
41
- "kissing_heart" => "\u{1f618}",
42
- "kissing" => "\u{1f617}",
43
- "kissing_smiling_eyes" => "\u{1f619}",
44
- "kissing_closed_eyes" => "\u{1f61a}",
45
- "yum" => "\u{1f60b}",
46
- "stuck_out_tongue_winking_eye" => "\u{1f61c}",
47
- "stuck_out_tongue_closed_eyes" => "\u{1f61d}",
48
- "stuck_out_tongue" => "\u{1f61b}",
49
- "money_mouth" => "\u{1f911}",
50
- "hugging" => "\u{1f917}",
51
- "nerd" => "\u{1f913}",
52
- "sunglasses" => "\u{1f60e}",
53
- "clown" => "\u{1f921}",
54
- "cowboy" => "\u{1f920}",
55
- "smirk" => "\u{1f60f}",
56
- "unamused" => "\u{1f612}",
57
- "disappointed" => "\u{1f61e}",
58
- "pensive" => "\u{1f614}",
59
- "worried" => "\u{1f61f}",
60
- "confused" => "\u{1f615}",
61
- "slight_frown" => "\u{1f641}",
62
- "frowning2" => "\u{2639}",
63
- "persevere" => "\u{1f623}",
64
- "confounded" => "\u{1f616}",
65
- "tired_face" => "\u{1f62b}",
66
- "weary" => "\u{1f629}",
67
- "triumph" => "\u{1f624}",
68
- "angry" => "\u{1f620}",
69
- "rage" => "\u{1f621}",
70
- "no_mouth" => "\u{1f636}",
71
- "neutral_face" => "\u{1f610}",
72
- "expressionless" => "\u{1f611}",
73
- "hushed" => "\u{1f62f}",
74
- "frowning" => "\u{1f626}",
75
- "anguished" => "\u{1f627}",
76
- "open_mouth" => "\u{1f62e}",
77
- "astonished" => "\u{1f632}",
78
- "dizzy_face" => "\u{1f635}",
79
- "flushed" => "\u{1f633}",
80
- "scream" => "\u{1f631}",
81
- "fearful" => "\u{1f628}",
82
- "cold_sweat" => "\u{1f630}",
83
- "cry" => "\u{1f622}",
84
- "disappointed_relieved" => "\u{1f625}",
85
- "drooling_face" => "\u{1f924}",
86
- "sob" => "\u{1f62d}",
87
- "sweat" => "\u{1f613}",
88
- "sleepy" => "\u{1f62a}",
89
- "sleeping" => "\u{1f634}",
90
- "rolling_eyes" => "\u{1f644}",
91
- "thinking" => "\u{1f914}",
92
- "lying_face" => "\u{1f925}",
93
- "grimacing" => "\u{1f62c}",
94
- "zipper_mouth" => "\u{1f910}",
95
- "nauseated_face" => "\u{1f922}",
96
- "sneezing_face" => "\u{1f927}",
97
- "mask" => "\u{1f637}",
98
- "thermometer_face" => "\u{1f912}",
99
- "head_bandage" => "\u{1f915}",
100
- "smiling_imp" => "\u{1f608}",
101
- "imp" => "\u{1f47f}",
102
- "japanese_ogre" => "\u{1f479}",
103
- "japanese_goblin" => "\u{1f47a}",
104
- "poop" => "\u{1f4a9}",
105
- "ghost" => "\u{1f47b}",
106
- "skull" => "\u{1f480}",
107
- "skull_crossbones" => "\u{2620}",
108
- "alien" => "\u{1f47d}",
109
- "space_invader" => "\u{1f47e}",
110
- "robot" => "\u{1f916}",
111
- "jack_o_lantern" => "\u{1f383}",
112
- "smiley_cat" => "\u{1f63a}",
113
- "smile_cat" => "\u{1f638}",
114
- "joy_cat" => "\u{1f639}",
115
- "heart_eyes_cat" => "\u{1f63b}",
116
- "smirk_cat" => "\u{1f63c}",
117
- "kissing_cat" => "\u{1f63d}",
118
- "scream_cat" => "\u{1f640}",
119
- "crying_cat_face" => "\u{1f63f}",
120
- "pouting_cat" => "\u{1f63e}",
121
- "open_hands" => "\u{1f450}",
122
- "raised_hands" => "\u{1f64c}",
123
- "clap" => "\u{1f44f}",
124
- "pray" => "\u{1f64f}",
125
- "handshake" => "\u{1f91d}",
126
- "thumbsup" => "\u{1f44d}",
127
- "thumbsdown" => "\u{1f44e}",
128
- "punch" => "\u{1f44a}",
129
- "fist" => "\u{270a}",
130
- "left_facing_fist" => "\u{1f91b}",
131
- "right_facing_fist" => "\u{1f91c}",
132
- "fingers_crossed" => "\u{1f91e}",
133
- "v" => "\u{270c}",
134
- "metal" => "\u{1f918}",
135
- "ok_hand" => "\u{1f44c}",
136
- "point_left" => "\u{1f448}",
137
- "point_right" => "\u{1f449}",
138
- "point_up_2" => "\u{1f446}",
139
- "point_down" => "\u{1f447}",
140
- "point_up" => "\u{261d}",
141
- "raised_hand" => "\u{270b}",
142
- "raised_back_of_hand" => "\u{1f91a}",
143
- "hand_splayed" => "\u{1f590}",
144
- "vulcan" => "\u{1f596}",
145
- "wave" => "\u{1f44b}",
146
- "call_me" => "\u{1f919}",
147
- "muscle" => "\u{1f4aa}",
148
- "middle_finger" => "\u{1f595}",
149
- "writing_hand" => "\u{270d}",
150
- "selfie" => "\u{1f933}",
151
- "nail_care" => "\u{1f485}",
152
- "ring" => "\u{1f48d}",
153
- "lipstick" => "\u{1f484}",
154
- "kiss" => "\u{1f48b}",
155
- "lips" => "\u{1f444}",
156
- "tongue" => "\u{1f445}",
157
- "ear" => "\u{1f442}",
158
- "nose" => "\u{1f443}",
159
- "footprints" => "\u{1f463}",
160
- "eye" => "\u{1f441}",
161
- "eyes" => "\u{1f440}",
162
- "speaking_head" => "\u{1f5e3}",
163
- "bust_in_silhouette" => "\u{1f464}",
164
- "busts_in_silhouette" => "\u{1f465}",
165
- "baby" => "\u{1f476}",
166
- "boy" => "\u{1f466}",
167
- "girl" => "\u{1f467}",
168
- "man" => "\u{1f468}",
169
- "woman" => "\u{1f469}",
170
- "blond haired_woman" => "\u{1f471 2640}",
171
- "blond_haired_person" => "\u{1f471}",
172
- "older_man" => "\u{1f474}",
173
- "older_woman" => "\u{1f475}",
174
- "man_with_chinese_cap" => "\u{1f472}",
175
- "woman_wearing_turban" => "\u{1f473 2640}",
176
- "person_wearing_turban" => "\u{1f473}",
177
- "woman_police_officer" => "\u{1f46e 2640}",
178
- "police_officer" => "\u{1f46e}",
179
- "woman_construction_worker" => "\u{1f477 2640}",
180
- "construction_worker" => "\u{1f477}",
181
- "woman_guard" => "\u{1f482 2640}",
182
- "guard" => "\u{1f482}",
183
- "woman_detective" => "\u{1f575 2640}",
184
- "detective" => "\u{1f575}",
185
- "woman_health_worker" => "\u{1f469 2695}",
186
- "man_health_worker" => "\u{1f468 2695}",
187
- "woman_farmer" => "\u{1f469 1f33e}",
188
- "man_farmer" => "\u{1f468 1f33e}",
189
- "woman_cook" => "\u{1f469 1f373}",
190
- "man_cook" => "\u{1f468 1f373}",
191
- "woman_student" => "\u{1f469 1f393}",
192
- "man_student" => "\u{1f468 1f393}",
193
- "woman_singer" => "\u{1f469 1f3a4}",
194
- "man_singer" => "\u{1f468 1f3a4}",
195
- "woman_teacher" => "\u{1f469 1f3eb}",
196
- "man_teacher" => "\u{1f468 1f3eb}",
197
- "woman_factory_worker" => "\u{1f469 1f3ed}",
198
- "man_factory_worker" => "\u{1f468 1f3ed}",
199
- "woman_technologist" => "\u{1f469 1f4bb}",
200
- "man_technologist" => "\u{1f468 1f4bb}",
201
- "woman_office_worker" => "\u{1f469 1f4bc}",
202
- "man_office_worker" => "\u{1f468 1f4bc}",
203
- "woman_mechanic" => "\u{1f469 1f527}",
204
- "man_mechanic" => "\u{1f468 1f527}",
205
- "woman_scientist" => "\u{1f469 1f52c}",
206
- "man_scientist" => "\u{1f468 1f52c}",
207
- "woman_artist" => "\u{1f469 1f3a8}",
208
- "man_artist" => "\u{1f468 1f3a8}",
209
- "woman_firefighter" => "\u{1f469 1f692}",
210
- "man_firefighter" => "\u{1f468 1f692}",
211
- "woman_pilot" => "\u{1f469 2708}",
212
- "man_pilot" => "\u{1f468 2708}",
213
- "woman_astronaut" => "\u{1f469 1f680}",
214
- "man_astronaut" => "\u{1f468 1f680}",
215
- "woman_judge" => "\u{1f469 2696}",
216
- "man_judge" => "\u{1f468 2696}",
217
- "mrs_claus" => "\u{1f936}",
218
- "santa" => "\u{1f385}",
219
- "princess" => "\u{1f478}",
220
- "prince" => "\u{1f934}",
221
- "bride_with_veil" => "\u{1f470}",
222
- "man_in_tuxedo" => "\u{1f935}",
223
- "angel" => "\u{1f47c}",
224
- "pregnant_woman" => "\u{1f930}",
225
- "woman_bowing" => "\u{1f647 2640}",
226
- "person_bowing" => "\u{1f647}",
227
- "person_tipping_hand" => "\u{1f481}",
228
- "man_tipping_hand" => "\u{1f481 2642}",
229
- "person_gesturing_no" => "\u{1f645}",
230
- "man_gesturing_no" => "\u{1f645 2642}",
231
- "person_gesturing_ok" => "\u{1f646}",
232
- "man_gesturing_ok" => "\u{1f646 2642}",
233
- "person_raising_hand" => "\u{1f64b}",
234
- "man_raising_hand" => "\u{1f64b 2642}",
235
- "woman_facepalming" => "\u{1f926 2640}",
236
- "man_facepalming" => "\u{1f926 2642}",
237
- "woman_shrugging" => "\u{1f937 2640}",
238
- "man_shrugging" => "\u{1f937 2642}",
239
- "person_pouting" => "\u{1f64e}",
240
- "man_pouting" => "\u{1f64e 2642}",
241
- "person_frowning" => "\u{1f64d}",
242
- "man_frowning" => "\u{1f64d 2642}",
243
- "person_getting_haircut" => "\u{1f487}",
244
- "man_getting_haircut" => "\u{1f487 2642}",
245
- "person_getting_massage" => "\u{1f486}",
246
- "man_getting_face_massage" => "\u{1f486 2642}",
247
- "levitate" => "\u{1f574}",
248
- "dancer" => "\u{1f483}",
249
- "man_dancing" => "\u{1f57a}",
250
- "people_with_bunny_ears_partying" => "\u{1f46f}",
251
- "men_with_bunny_ears_partying" => "\u{1f46f 2642}",
252
- "woman_walking" => "\u{1f6b6 2640}",
253
- "person_walking" => "\u{1f6b6}",
254
- "woman_running" => "\u{1f3c3 2640}",
255
- "person_running" => "\u{1f3c3}",
256
- "couple" => "\u{1f46b}",
257
- "two_women_holding_hands" => "\u{1f46d}",
258
- "two_men_holding_hands" => "\u{1f46c}",
259
- "couple_with_heart" => "\u{1f491}",
260
- "couple_ww" => "\u{1f469 2764 1f469}",
261
- "couple_mm" => "\u{1f468 2764 1f468}",
262
- "couplekiss" => "\u{1f48f}",
263
- "kiss_ww" => "\u{1f469 2764 1f48b 1f469}",
264
- "kiss_mm" => "\u{1f468 2764 1f48b 1f468}",
265
- "family" => "\u{1f46a}",
266
- "family_mwg" => "\u{1f468 1f469 1f467}",
267
- "family_mwgb" => "\u{1f468 1f469 1f467 1f466}",
268
- "family_mwbb" => "\u{1f468 1f469 1f466 1f466}",
269
- "family_mwgg" => "\u{1f468 1f469 1f467 1f467}",
270
- "family_wwb" => "\u{1f469 1f469 1f466}",
271
- "family_wwg" => "\u{1f469 1f469 1f467}",
272
- "family_wwgb" => "\u{1f469 1f469 1f467 1f466}",
273
- "family_wwbb" => "\u{1f469 1f469 1f466 1f466}",
274
- "family_wwgg" => "\u{1f469 1f469 1f467 1f467}",
275
- "family_mmb" => "\u{1f468 1f468 1f466}",
276
- "family_mmg" => "\u{1f468 1f468 1f467}",
277
- "family_mmgb" => "\u{1f468 1f468 1f467 1f466}",
278
- "family_mmbb" => "\u{1f468 1f468 1f466 1f466}",
279
- "family_mmgg" => "\u{1f468 1f468 1f467 1f467}",
280
- "family_woman_boy" => "\u{1f469 1f466}",
281
- "family_woman_girl" => "\u{1f469 1f467}",
282
- "family_woman_girl_boy" => "\u{1f469 1f467 1f466}",
283
- "family_woman_boy_boy" => "\u{1f469 1f466 1f466}",
284
- "family_woman_girl_girl" => "\u{1f469 1f467 1f467}",
285
- "family_man_boy" => "\u{1f468 1f466}",
286
- "family_man_girl" => "\u{1f468 1f467}",
287
- "family_man_girl_boy" => "\u{1f468 1f467 1f466}",
288
- "family_man_boy_boy" => "\u{1f468 1f466 1f466}",
289
- "family_man_girl_girl" => "\u{1f468 1f467 1f467}",
290
- "womans_clothes" => "\u{1f45a}",
291
- "shirt" => "\u{1f455}",
292
- "jeans" => "\u{1f456}",
293
- "necktie" => "\u{1f454}",
294
- "dress" => "\u{1f457}",
295
- "bikini" => "\u{1f459}",
296
- "kimono" => "\u{1f458}",
297
- "high_heel" => "\u{1f460}",
298
- "sandal" => "\u{1f461}",
299
- "boot" => "\u{1f462}",
300
- "mans_shoe" => "\u{1f45e}",
301
- "athletic_shoe" => "\u{1f45f}",
302
- "womans_hat" => "\u{1f452}",
303
- "tophat" => "\u{1f3a9}",
304
- "mortar_board" => "\u{1f393}",
305
- "crown" => "\u{1f451}",
306
- "helmet_with_cross" => "\u{26d1}",
307
- "school_satchel" => "\u{1f392}",
308
- "pouch" => "\u{1f45d}",
309
- "purse" => "\u{1f45b}",
310
- "handbag" => "\u{1f45c}",
311
- "briefcase" => "\u{1f4bc}",
312
- "eyeglasses" => "\u{1f453}",
313
- "dark_sunglasses" => "\u{1f576}",
314
- "closed_umbrella" => "\u{1f302}",
315
- "umbrella2" => "\u{2602}",
316
- "face_with_raised_eyebrow" => "\u{1f928}",
317
- "star_struck" => "\u{1f929}",
318
- "crazy_face" => "\u{1f92a}",
319
- "shushing_face" => "\u{1f92b}",
320
- "face_with_symbols_over_mouth" => "\u{1f92c}",
321
- "face_with_hand_over_mouth" => "\u{1f92d}",
322
- "face_vomiting" => "\u{1f92e}",
323
- "exploding_head" => "\u{1f92f}",
324
- "face_with_monocle" => "\u{1f9d0}",
325
- "adult" => "\u{1f9d1}",
326
- "child" => "\u{1f9d2}",
327
- "older_adult" => "\u{1f9d3}",
328
- "bearded_person" => "\u{1f9d4}",
329
- "woman_with_headscarf" => "\u{1f9d5}",
330
- "brain" => "\u{1f9e0}",
331
- "billed_cap" => "\u{1f9e2}",
332
- "scarf" => "\u{1f9e3}",
333
- "gloves" => "\u{1f9e4}",
334
- "coat" => "\u{1f9e5}",
335
- "socks" => "\u{1f9e6}",
336
- "love_you_gesture" => "\u{1f91f}",
337
- "palms_up_together" => "\u{1f932}",
338
- "woman_mage" => "\u{1f9d9 2640}",
339
- "man_mage" => "\u{1f9d9 2642}",
340
- "woman_fairy" => "\u{1f9da 2640}",
341
- "man_fairy" => "\u{1f9da 2642}",
342
- "woman_vampire" => "\u{1f9db 2640}",
343
- "man_vampire" => "\u{1f9db 2642}",
344
- "mermaid" => "\u{1f9dc 2640}",
345
- "merman" => "\u{1f9dc 2642}",
346
- "woman_elf" => "\u{1f9dd 2640}",
347
- "man_elf" => "\u{1f9dd 2642}",
348
- "woman_genie" => "\u{1f9de 2640}",
349
- "man_genie" => "\u{1f9de 2642}",
350
- "woman_zombie" => "\u{1f9df 2640}",
351
- "man_zombie" => "\u{1f9df 2642}"
30
+ 'grinning' => "\u{1f600}",
31
+ 'smiley' => "\u{1f603}",
32
+ 'smile' => "\u{1f604}",
33
+ 'grin' => "\u{1f601}",
34
+ 'laughing' => "\u{1f606}",
35
+ 'sweat_smile' => "\u{1f605}",
36
+ 'joy' => "\u{1f602}",
37
+ 'rofl' => "\u{1f923}",
38
+ 'relaxed' => "\u{263a}",
39
+ 'blush' => "\u{1f60a}",
40
+ 'innocent' => "\u{1f607}",
41
+ 'slight_smile' => "\u{1f642}",
42
+ 'upside_down' => "\u{1f643}",
43
+ 'wink' => "\u{1f609}",
44
+ 'relieved' => "\u{1f60c}",
45
+ 'heart_eyes' => "\u{1f60d}",
46
+ 'kissing_heart' => "\u{1f618}",
47
+ 'kissing' => "\u{1f617}",
48
+ 'kissing_smiling_eyes' => "\u{1f619}",
49
+ 'kissing_closed_eyes' => "\u{1f61a}",
50
+ 'yum' => "\u{1f60b}",
51
+ 'stuck_out_tongue_winking_eye' => "\u{1f61c}",
52
+ 'stuck_out_tongue_closed_eyes' => "\u{1f61d}",
53
+ 'stuck_out_tongue' => "\u{1f61b}",
54
+ 'money_mouth' => "\u{1f911}",
55
+ 'hugging' => "\u{1f917}",
56
+ 'nerd' => "\u{1f913}",
57
+ 'sunglasses' => "\u{1f60e}",
58
+ 'clown' => "\u{1f921}",
59
+ 'cowboy' => "\u{1f920}",
60
+ 'smirk' => "\u{1f60f}",
61
+ 'unamused' => "\u{1f612}",
62
+ 'disappointed' => "\u{1f61e}",
63
+ 'pensive' => "\u{1f614}",
64
+ 'worried' => "\u{1f61f}",
65
+ 'confused' => "\u{1f615}",
66
+ 'slight_frown' => "\u{1f641}",
67
+ 'frowning2' => "\u{2639}",
68
+ 'persevere' => "\u{1f623}",
69
+ 'confounded' => "\u{1f616}",
70
+ 'tired_face' => "\u{1f62b}",
71
+ 'weary' => "\u{1f629}",
72
+ 'triumph' => "\u{1f624}",
73
+ 'angry' => "\u{1f620}",
74
+ 'rage' => "\u{1f621}",
75
+ 'no_mouth' => "\u{1f636}",
76
+ 'neutral_face' => "\u{1f610}",
77
+ 'expressionless' => "\u{1f611}",
78
+ 'hushed' => "\u{1f62f}",
79
+ 'frowning' => "\u{1f626}",
80
+ 'anguished' => "\u{1f627}",
81
+ 'open_mouth' => "\u{1f62e}",
82
+ 'astonished' => "\u{1f632}",
83
+ 'dizzy_face' => "\u{1f635}",
84
+ 'flushed' => "\u{1f633}",
85
+ 'scream' => "\u{1f631}",
86
+ 'fearful' => "\u{1f628}",
87
+ 'cold_sweat' => "\u{1f630}",
88
+ 'cry' => "\u{1f622}",
89
+ 'disappointed_relieved' => "\u{1f625}",
90
+ 'drooling_face' => "\u{1f924}",
91
+ 'sob' => "\u{1f62d}",
92
+ 'sweat' => "\u{1f613}",
93
+ 'sleepy' => "\u{1f62a}",
94
+ 'sleeping' => "\u{1f634}",
95
+ 'rolling_eyes' => "\u{1f644}",
96
+ 'thinking' => "\u{1f914}",
97
+ 'lying_face' => "\u{1f925}",
98
+ 'grimacing' => "\u{1f62c}",
99
+ 'zipper_mouth' => "\u{1f910}",
100
+ 'nauseated_face' => "\u{1f922}",
101
+ 'sneezing_face' => "\u{1f927}",
102
+ 'mask' => "\u{1f637}",
103
+ 'thermometer_face' => "\u{1f912}",
104
+ 'head_bandage' => "\u{1f915}",
105
+ 'smiling_imp' => "\u{1f608}",
106
+ 'imp' => "\u{1f47f}",
107
+ 'japanese_ogre' => "\u{1f479}",
108
+ 'japanese_goblin' => "\u{1f47a}",
109
+ 'poop' => "\u{1f4a9}",
110
+ 'ghost' => "\u{1f47b}",
111
+ 'skull' => "\u{1f480}",
112
+ 'skull_crossbones' => "\u{2620}",
113
+ 'alien' => "\u{1f47d}",
114
+ 'space_invader' => "\u{1f47e}",
115
+ 'robot' => "\u{1f916}",
116
+ 'jack_o_lantern' => "\u{1f383}",
117
+ 'smiley_cat' => "\u{1f63a}",
118
+ 'smile_cat' => "\u{1f638}",
119
+ 'joy_cat' => "\u{1f639}",
120
+ 'heart_eyes_cat' => "\u{1f63b}",
121
+ 'smirk_cat' => "\u{1f63c}",
122
+ 'kissing_cat' => "\u{1f63d}",
123
+ 'scream_cat' => "\u{1f640}",
124
+ 'crying_cat_face' => "\u{1f63f}",
125
+ 'pouting_cat' => "\u{1f63e}",
126
+ 'open_hands' => "\u{1f450}",
127
+ 'raised_hands' => "\u{1f64c}",
128
+ 'clap' => "\u{1f44f}",
129
+ 'pray' => "\u{1f64f}",
130
+ 'handshake' => "\u{1f91d}",
131
+ 'thumbsup' => "\u{1f44d}",
132
+ 'thumbsdown' => "\u{1f44e}",
133
+ 'punch' => "\u{1f44a}",
134
+ 'fist' => "\u{270a}",
135
+ 'left_facing_fist' => "\u{1f91b}",
136
+ 'right_facing_fist' => "\u{1f91c}",
137
+ 'fingers_crossed' => "\u{1f91e}",
138
+ 'v' => "\u{270c}",
139
+ 'metal' => "\u{1f918}",
140
+ 'ok_hand' => "\u{1f44c}",
141
+ 'point_left' => "\u{1f448}",
142
+ 'point_right' => "\u{1f449}",
143
+ 'point_up_2' => "\u{1f446}",
144
+ 'point_down' => "\u{1f447}",
145
+ 'point_up' => "\u{261d}",
146
+ 'raised_hand' => "\u{270b}",
147
+ 'raised_back_of_hand' => "\u{1f91a}",
148
+ 'hand_splayed' => "\u{1f590}",
149
+ 'vulcan' => "\u{1f596}",
150
+ 'wave' => "\u{1f44b}",
151
+ 'call_me' => "\u{1f919}",
152
+ 'muscle' => "\u{1f4aa}",
153
+ 'middle_finger' => "\u{1f595}",
154
+ 'writing_hand' => "\u{270d}",
155
+ 'selfie' => "\u{1f933}",
156
+ 'nail_care' => "\u{1f485}",
157
+ 'ring' => "\u{1f48d}",
158
+ 'lipstick' => "\u{1f484}",
159
+ 'kiss' => "\u{1f48b}",
160
+ 'lips' => "\u{1f444}",
161
+ 'tongue' => "\u{1f445}",
162
+ 'ear' => "\u{1f442}",
163
+ 'nose' => "\u{1f443}",
164
+ 'footprints' => "\u{1f463}",
165
+ 'eye' => "\u{1f441}",
166
+ 'eyes' => "\u{1f440}",
167
+ 'speaking_head' => "\u{1f5e3}",
168
+ 'bust_in_silhouette' => "\u{1f464}",
169
+ 'busts_in_silhouette' => "\u{1f465}",
170
+ 'baby' => "\u{1f476}",
171
+ 'boy' => "\u{1f466}",
172
+ 'girl' => "\u{1f467}",
173
+ 'man' => "\u{1f468}",
174
+ 'woman' => "\u{1f469}",
175
+ 'blond haired_woman' => "\u{1f471 2640}",
176
+ 'blond_haired_person' => "\u{1f471}",
177
+ 'older_man' => "\u{1f474}",
178
+ 'older_woman' => "\u{1f475}",
179
+ 'man_with_chinese_cap' => "\u{1f472}",
180
+ 'woman_wearing_turban' => "\u{1f473 2640}",
181
+ 'person_wearing_turban' => "\u{1f473}",
182
+ 'woman_police_officer' => "\u{1f46e 2640}",
183
+ 'police_officer' => "\u{1f46e}",
184
+ 'woman_construction_worker' => "\u{1f477 2640}",
185
+ 'construction_worker' => "\u{1f477}",
186
+ 'woman_guard' => "\u{1f482 2640}",
187
+ 'guard' => "\u{1f482}",
188
+ 'woman_detective' => "\u{1f575 2640}",
189
+ 'detective' => "\u{1f575}",
190
+ 'woman_health_worker' => "\u{1f469 2695}",
191
+ 'man_health_worker' => "\u{1f468 2695}",
192
+ 'woman_farmer' => "\u{1f469 1f33e}",
193
+ 'man_farmer' => "\u{1f468 1f33e}",
194
+ 'woman_cook' => "\u{1f469 1f373}",
195
+ 'man_cook' => "\u{1f468 1f373}",
196
+ 'woman_student' => "\u{1f469 1f393}",
197
+ 'man_student' => "\u{1f468 1f393}",
198
+ 'woman_singer' => "\u{1f469 1f3a4}",
199
+ 'man_singer' => "\u{1f468 1f3a4}",
200
+ 'woman_teacher' => "\u{1f469 1f3eb}",
201
+ 'man_teacher' => "\u{1f468 1f3eb}",
202
+ 'woman_factory_worker' => "\u{1f469 1f3ed}",
203
+ 'man_factory_worker' => "\u{1f468 1f3ed}",
204
+ 'woman_technologist' => "\u{1f469 1f4bb}",
205
+ 'man_technologist' => "\u{1f468 1f4bb}",
206
+ 'woman_office_worker' => "\u{1f469 1f4bc}",
207
+ 'man_office_worker' => "\u{1f468 1f4bc}",
208
+ 'woman_mechanic' => "\u{1f469 1f527}",
209
+ 'man_mechanic' => "\u{1f468 1f527}",
210
+ 'woman_scientist' => "\u{1f469 1f52c}",
211
+ 'man_scientist' => "\u{1f468 1f52c}",
212
+ 'woman_artist' => "\u{1f469 1f3a8}",
213
+ 'man_artist' => "\u{1f468 1f3a8}",
214
+ 'woman_firefighter' => "\u{1f469 1f692}",
215
+ 'man_firefighter' => "\u{1f468 1f692}",
216
+ 'woman_pilot' => "\u{1f469 2708}",
217
+ 'man_pilot' => "\u{1f468 2708}",
218
+ 'woman_astronaut' => "\u{1f469 1f680}",
219
+ 'man_astronaut' => "\u{1f468 1f680}",
220
+ 'woman_judge' => "\u{1f469 2696}",
221
+ 'man_judge' => "\u{1f468 2696}",
222
+ 'mrs_claus' => "\u{1f936}",
223
+ 'santa' => "\u{1f385}",
224
+ 'princess' => "\u{1f478}",
225
+ 'prince' => "\u{1f934}",
226
+ 'bride_with_veil' => "\u{1f470}",
227
+ 'man_in_tuxedo' => "\u{1f935}",
228
+ 'angel' => "\u{1f47c}",
229
+ 'pregnant_woman' => "\u{1f930}",
230
+ 'woman_bowing' => "\u{1f647 2640}",
231
+ 'person_bowing' => "\u{1f647}",
232
+ 'person_tipping_hand' => "\u{1f481}",
233
+ 'man_tipping_hand' => "\u{1f481 2642}",
234
+ 'person_gesturing_no' => "\u{1f645}",
235
+ 'man_gesturing_no' => "\u{1f645 2642}",
236
+ 'person_gesturing_ok' => "\u{1f646}",
237
+ 'man_gesturing_ok' => "\u{1f646 2642}",
238
+ 'person_raising_hand' => "\u{1f64b}",
239
+ 'man_raising_hand' => "\u{1f64b 2642}",
240
+ 'woman_facepalming' => "\u{1f926 2640}",
241
+ 'man_facepalming' => "\u{1f926 2642}",
242
+ 'woman_shrugging' => "\u{1f937 2640}",
243
+ 'man_shrugging' => "\u{1f937 2642}",
244
+ 'person_pouting' => "\u{1f64e}",
245
+ 'man_pouting' => "\u{1f64e 2642}",
246
+ 'person_frowning' => "\u{1f64d}",
247
+ 'man_frowning' => "\u{1f64d 2642}",
248
+ 'person_getting_haircut' => "\u{1f487}",
249
+ 'man_getting_haircut' => "\u{1f487 2642}",
250
+ 'person_getting_massage' => "\u{1f486}",
251
+ 'man_getting_face_massage' => "\u{1f486 2642}",
252
+ 'levitate' => "\u{1f574}",
253
+ 'dancer' => "\u{1f483}",
254
+ 'man_dancing' => "\u{1f57a}",
255
+ 'people_with_bunny_ears_partying' => "\u{1f46f}",
256
+ 'men_with_bunny_ears_partying' => "\u{1f46f 2642}",
257
+ 'woman_walking' => "\u{1f6b6 2640}",
258
+ 'person_walking' => "\u{1f6b6}",
259
+ 'woman_running' => "\u{1f3c3 2640}",
260
+ 'person_running' => "\u{1f3c3}",
261
+ 'couple' => "\u{1f46b}",
262
+ 'two_women_holding_hands' => "\u{1f46d}",
263
+ 'two_men_holding_hands' => "\u{1f46c}",
264
+ 'couple_with_heart' => "\u{1f491}",
265
+ 'couple_ww' => "\u{1f469 2764 1f469}",
266
+ 'couple_mm' => "\u{1f468 2764 1f468}",
267
+ 'couplekiss' => "\u{1f48f}",
268
+ 'kiss_ww' => "\u{1f469 2764 1f48b 1f469}",
269
+ 'kiss_mm' => "\u{1f468 2764 1f48b 1f468}",
270
+ 'family' => "\u{1f46a}",
271
+ 'family_mwg' => "\u{1f468 1f469 1f467}",
272
+ 'family_mwgb' => "\u{1f468 1f469 1f467 1f466}",
273
+ 'family_mwbb' => "\u{1f468 1f469 1f466 1f466}",
274
+ 'family_mwgg' => "\u{1f468 1f469 1f467 1f467}",
275
+ 'family_wwb' => "\u{1f469 1f469 1f466}",
276
+ 'family_wwg' => "\u{1f469 1f469 1f467}",
277
+ 'family_wwgb' => "\u{1f469 1f469 1f467 1f466}",
278
+ 'family_wwbb' => "\u{1f469 1f469 1f466 1f466}",
279
+ 'family_wwgg' => "\u{1f469 1f469 1f467 1f467}",
280
+ 'family_mmb' => "\u{1f468 1f468 1f466}",
281
+ 'family_mmg' => "\u{1f468 1f468 1f467}",
282
+ 'family_mmgb' => "\u{1f468 1f468 1f467 1f466}",
283
+ 'family_mmbb' => "\u{1f468 1f468 1f466 1f466}",
284
+ 'family_mmgg' => "\u{1f468 1f468 1f467 1f467}",
285
+ 'family_woman_boy' => "\u{1f469 1f466}",
286
+ 'family_woman_girl' => "\u{1f469 1f467}",
287
+ 'family_woman_girl_boy' => "\u{1f469 1f467 1f466}",
288
+ 'family_woman_boy_boy' => "\u{1f469 1f466 1f466}",
289
+ 'family_woman_girl_girl' => "\u{1f469 1f467 1f467}",
290
+ 'family_man_boy' => "\u{1f468 1f466}",
291
+ 'family_man_girl' => "\u{1f468 1f467}",
292
+ 'family_man_girl_boy' => "\u{1f468 1f467 1f466}",
293
+ 'family_man_boy_boy' => "\u{1f468 1f466 1f466}",
294
+ 'family_man_girl_girl' => "\u{1f468 1f467 1f467}",
295
+ 'womans_clothes' => "\u{1f45a}",
296
+ 'shirt' => "\u{1f455}",
297
+ 'jeans' => "\u{1f456}",
298
+ 'necktie' => "\u{1f454}",
299
+ 'dress' => "\u{1f457}",
300
+ 'bikini' => "\u{1f459}",
301
+ 'kimono' => "\u{1f458}",
302
+ 'high_heel' => "\u{1f460}",
303
+ 'sandal' => "\u{1f461}",
304
+ 'boot' => "\u{1f462}",
305
+ 'mans_shoe' => "\u{1f45e}",
306
+ 'athletic_shoe' => "\u{1f45f}",
307
+ 'womans_hat' => "\u{1f452}",
308
+ 'tophat' => "\u{1f3a9}",
309
+ 'mortar_board' => "\u{1f393}",
310
+ 'crown' => "\u{1f451}",
311
+ 'helmet_with_cross' => "\u{26d1}",
312
+ 'school_satchel' => "\u{1f392}",
313
+ 'pouch' => "\u{1f45d}",
314
+ 'purse' => "\u{1f45b}",
315
+ 'handbag' => "\u{1f45c}",
316
+ 'briefcase' => "\u{1f4bc}",
317
+ 'eyeglasses' => "\u{1f453}",
318
+ 'dark_sunglasses' => "\u{1f576}",
319
+ 'closed_umbrella' => "\u{1f302}",
320
+ 'umbrella2' => "\u{2602}",
321
+ 'face_with_raised_eyebrow' => "\u{1f928}",
322
+ 'star_struck' => "\u{1f929}",
323
+ 'crazy_face' => "\u{1f92a}",
324
+ 'shushing_face' => "\u{1f92b}",
325
+ 'face_with_symbols_over_mouth' => "\u{1f92c}",
326
+ 'face_with_hand_over_mouth' => "\u{1f92d}",
327
+ 'face_vomiting' => "\u{1f92e}",
328
+ 'exploding_head' => "\u{1f92f}",
329
+ 'face_with_monocle' => "\u{1f9d0}",
330
+ 'adult' => "\u{1f9d1}",
331
+ 'child' => "\u{1f9d2}",
332
+ 'older_adult' => "\u{1f9d3}",
333
+ 'bearded_person' => "\u{1f9d4}",
334
+ 'woman_with_headscarf' => "\u{1f9d5}",
335
+ 'brain' => "\u{1f9e0}",
336
+ 'billed_cap' => "\u{1f9e2}",
337
+ 'scarf' => "\u{1f9e3}",
338
+ 'gloves' => "\u{1f9e4}",
339
+ 'coat' => "\u{1f9e5}",
340
+ 'socks' => "\u{1f9e6}",
341
+ 'love_you_gesture' => "\u{1f91f}",
342
+ 'palms_up_together' => "\u{1f932}",
343
+ 'woman_mage' => "\u{1f9d9 2640}",
344
+ 'man_mage' => "\u{1f9d9 2642}",
345
+ 'woman_fairy' => "\u{1f9da 2640}",
346
+ 'man_fairy' => "\u{1f9da 2642}",
347
+ 'woman_vampire' => "\u{1f9db 2640}",
348
+ 'man_vampire' => "\u{1f9db 2642}",
349
+ 'mermaid' => "\u{1f9dc 2640}",
350
+ 'merman' => "\u{1f9dc 2642}",
351
+ 'woman_elf' => "\u{1f9dd 2640}",
352
+ 'man_elf' => "\u{1f9dd 2642}",
353
+ 'woman_genie' => "\u{1f9de 2640}",
354
+ 'man_genie' => "\u{1f9de 2642}",
355
+ 'woman_zombie' => "\u{1f9df 2640}",
356
+ 'man_zombie' => "\u{1f9df 2642}"
352
357
  }.freeze
353
358
  end
354
359
  end