emoji-commit 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0cbbb4763d657492458511f11ebc9f608ec52438
4
+ data.tar.gz: 8fff55d7184440e58cf841df6b26bd30d63a054a
5
+ SHA512:
6
+ metadata.gz: ac90d97e9ab97fc19072d50c85e85fb0299a53316ce5ae5f537e4d0c146336143af4ce12c9afa4688a383fc89900219a0edb7e9dccc32c61698bdc4dcae4c15d
7
+ data.tar.gz: 4902cb2a0195fe88f4292e7db43ff1aadfe273b2864b0cae3630635ee048590055a5d1d7eb0c7643b3610450f979010f4f19695757ffdcddff172edcba8afeb2
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.DS_Store
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --color
2
+ --require spec_helper
3
+ --format documentation
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.3
4
+ before_install: gem install bundler -v 1.10.6
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in emoji-commit.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Claire Parker
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,54 @@
1
+ # EmojiCommit
2
+
3
+ Have you ever found your Git commit messages a little ... boring? Well they are. Just look at them! Now you can spice them up with :curry::banana::bomb: everyone's favourite characters: emojis!
4
+
5
+ ## Installation
6
+
7
+ Install on the command line with:
8
+
9
+ $ gem install emoji-commit
10
+
11
+ ## Usage
12
+
13
+ The gem installs a special commit hook script in a repo of your choosing.
14
+
15
+ Make sure you're in the root directory of a Git initialised repo (it will have the `.git` hidden folder in it, check it's there with `ls -a`). Then execute:
16
+
17
+ `$ emoji install`
18
+
19
+ It will prompt to confirm you want to install, hit `y`. Now every time you write a commit message, a random emoji from [this](http://www.emoji-cheat-sheet.com/) list will be prefixed to it.
20
+
21
+ `$ git commit -m 'Some boring message'`
22
+
23
+ Will be added to your repo as:
24
+
25
+ `:kimono: Some boring message`
26
+ :kimono: Some boring message
27
+
28
+ Or:
29
+
30
+ `:sheep: Some boring message`
31
+ :sheep: Some boring message
32
+
33
+ Or even:
34
+
35
+ `:lock_with_ink_pen: Some boring message`
36
+ :lock_with_ink_pen: Some boring message
37
+
38
+ It is random after all.
39
+
40
+ ## Development
41
+
42
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
43
+
44
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
45
+
46
+ ## Contributing
47
+
48
+ Bug reports and pull requests are welcome on GitHub at https://github.com/claireparker/emoji-commit.
49
+
50
+
51
+ ## License
52
+
53
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
54
+
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/TODO.md ADDED
@@ -0,0 +1,25 @@
1
+ ### Before release
2
+
3
+ * ~~Get rid of warnings on fileutils~~
4
+ * Readme
5
+ * ~~Add more specs for emoji_exists regex~~
6
+ * ~~Add specs for get_emoji~~
7
+ * ~~Rename emoji-commit-msg class and methods~~
8
+ * ~~Print message on successful install~~
9
+ * Print message on unsuccessful install/exit
10
+ * Refactor and rename file-tasks
11
+ * ~~Ask whether they want to install~~
12
+ * Test asking whether they want to install
13
+ * Test all bundle exec Thor stuff
14
+ * Check Fileutils.cp is OK if file already exists
15
+ * Add a rescue in to file-tasks
16
+
17
+ ### Next version
18
+
19
+ * Can you do skin tone modifiers in Git emojis?
20
+ * Add support for this if yes
21
+ * Prompt user through install
22
+ * Add uninstall scripts method
23
+ * Add SimpleCov
24
+ * Spec for file-tasks
25
+ * Add colours to prompt messages
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "emoji/commit"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'file-tasks'
4
+
5
+ EmojiCommit::Cli.start(ARGV)
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'emoji-commit-version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'emoji-commit'
8
+ spec.version = EmojiCommit::VERSION
9
+ spec.authors = ['Claire Parker']
10
+ spec.email = ['claire.parker87@gmail.com']
11
+
12
+ spec.summary = %q(Adds an emoji to your commit message)
13
+ spec.description = %q(Prefixes and Git commit messages with a random Git-friendly emoji.)
14
+ spec.homepage = 'https://github.com/claireparker/emoji-commit'
15
+ spec.license = 'MIT'
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = 'bin'
19
+ spec.executables = ['emoji']
20
+ spec.require_paths = ['lib']
21
+
22
+ spec.add_dependency 'thor'
23
+
24
+ spec.add_development_dependency 'bundler', '~> 1.10'
25
+ spec.add_development_dependency 'rake', '~> 10.0'
26
+ spec.add_development_dependency 'rspec'
27
+ end
@@ -0,0 +1,880 @@
1
+ {
2
+ "bowtie": ":bowtie:",
3
+ "smile": ":smile:",
4
+ "laughing": ":laughing:",
5
+ "blush": ":blush:",
6
+ "smiley": ":smiley:",
7
+ "relaxed": ":relaxed:",
8
+ "smirk": ":smirk:",
9
+ "heart_eyes": ":heart_eyes:",
10
+ "kissing_heart": ":kissing_heart:",
11
+ "kissing_closed_eyes": ":kissing_closed_eyes:",
12
+ "flushed": ":flushed:",
13
+ "relieved": ":relieved:",
14
+ "satisfied": ":satisfied:",
15
+ "grin": ":grin:",
16
+ "wink": ":wink:",
17
+ "stuck_out_tongue_winking_eye": ":stuck_out_tongue_winking_eye:",
18
+ "stuck_out_tongue_closed_eyes": ":stuck_out_tongue_closed_eyes:",
19
+ "grinning": ":grinning:",
20
+ "kissing": ":kissing:",
21
+ "kissing_smiling_eyes": ":kissing_smiling_eyes:",
22
+ "stuck_out_tongue": ":stuck_out_tongue:",
23
+ "sleeping": ":sleeping:",
24
+ "worried": ":worried:",
25
+ "frowning": ":frowning:",
26
+ "anguished": ":anguished:",
27
+ "open_mouth": ":open_mouth:",
28
+ "grimacing": ":grimacing:",
29
+ "confused": ":confused:",
30
+ "hushed": ":hushed:",
31
+ "expressionless": ":expressionless:",
32
+ "unamused": ":unamused:",
33
+ "sweat_smile": ":sweat_smile:",
34
+ "sweat": ":sweat:",
35
+ "disappointed_relieved": ":disappointed_relieved:",
36
+ "weary": ":weary:",
37
+ "pensive": ":pensive:",
38
+ "disappointed": ":disappointed:",
39
+ "confounded": ":confounded:",
40
+ "fearful": ":fearful:",
41
+ "cold_sweat": ":cold_sweat:",
42
+ "persevere": ":persevere:",
43
+ "cry": ":cry:",
44
+ "sob": ":sob:",
45
+ "joy": ":joy:",
46
+ "astonished": ":astonished:",
47
+ "scream": ":scream:",
48
+ "neckbeard": ":neckbeard:",
49
+ "tired_face": ":tired_face:",
50
+ "angry": ":angry:",
51
+ "rage": ":rage:",
52
+ "triumph": ":triumph:",
53
+ "sleepy": ":sleepy:",
54
+ "yum": ":yum:",
55
+ "mask": ":mask:",
56
+ "sunglasses": ":sunglasses:",
57
+ "dizzy_face": ":dizzy_face:",
58
+ "imp": ":imp:",
59
+ "smiling_imp": ":smiling_imp:",
60
+ "neutral_face": ":neutral_face:",
61
+ "no_mouth": ":no_mouth:",
62
+ "innocent": ":innocent:",
63
+ "alien": ":alien:",
64
+ "yellow_heart": ":yellow_heart:",
65
+ "blue_heart": ":blue_heart:",
66
+ "purple_heart": ":purple_heart:",
67
+ "heart": ":heart:",
68
+ "green_heart": ":green_heart:",
69
+ "broken_heart": ":broken_heart:",
70
+ "heartbeat": ":heartbeat:",
71
+ "heartpulse": ":heartpulse:",
72
+ "two_hearts": ":two_hearts:",
73
+ "revolving_hearts": ":revolving_hearts:",
74
+ "cupid": ":cupid:",
75
+ "sparkling_heart": ":sparkling_heart:",
76
+ "sparkles": ":sparkles:",
77
+ "star": ":star:",
78
+ "star2": ":star2:",
79
+ "dizzy": ":dizzy:",
80
+ "boom": ":boom:",
81
+ "collision": ":collision:",
82
+ "anger": ":anger:",
83
+ "exclamation": ":exclamation:",
84
+ "question": ":question:",
85
+ "grey_exclamation": ":grey_exclamation:",
86
+ "grey_question": ":grey_question:",
87
+ "zzz": ":zzz:",
88
+ "dash": ":dash:",
89
+ "sweat_drops": ":sweat_drops:",
90
+ "notes": ":notes:",
91
+ "musical_note": ":musical_note:",
92
+ "fire": ":fire:",
93
+ "hankey": ":hankey:",
94
+ "poop": ":poop:",
95
+ "shit": ":shit:",
96
+ "+1": ":+1:",
97
+ "thumbsup": ":thumbsup:",
98
+ "-1": ":-1:",
99
+ "thumbsdown": ":thumbsdown:",
100
+ "ok_hand": ":ok_hand:",
101
+ "punch": ":punch:",
102
+ "facepunch": ":facepunch:",
103
+ "fist": ":fist:",
104
+ "v": ":v:",
105
+ "wave": ":wave:",
106
+ "hand": ":hand:",
107
+ "raised_hand": ":raised_hand:",
108
+ "open_hands": ":open_hands:",
109
+ "point_up": ":point_up:",
110
+ "point_down": ":point_down:",
111
+ "point_left": ":point_left:",
112
+ "point_right": ":point_right:",
113
+ "raised_hands": ":raised_hands:",
114
+ "pray": ":pray:",
115
+ "point_up_2": ":point_up_2:",
116
+ "clap": ":clap:",
117
+ "muscle": ":muscle:",
118
+ "metal": ":metal:",
119
+ "fu": ":fu:",
120
+ "runner": ":runner:",
121
+ "running": ":running:",
122
+ "couple": ":couple:",
123
+ "family": ":family:",
124
+ "two_men_holding_hands": ":two_men_holding_hands:",
125
+ "two_women_holding_hands": ":two_women_holding_hands:",
126
+ "dancer": ":dancer:",
127
+ "dancers": ":dancers:",
128
+ "ok_woman": ":ok_woman:",
129
+ "no_good": ":no_good:",
130
+ "information_desk_person": ":information_desk_person:",
131
+ "raising_hand": ":raising_hand:",
132
+ "bride_with_veil": ":bride_with_veil:",
133
+ "person_with_pouting_face": ":person_with_pouting_face:",
134
+ "person_frowning": ":person_frowning:",
135
+ "bow": ":bow:",
136
+ "couplekiss": ":couplekiss:",
137
+ "couple_with_heart": ":couple_with_heart:",
138
+ "massage": ":massage:",
139
+ "haircut": ":haircut:",
140
+ "nail_care": ":nail_care:",
141
+ "boy": ":boy:",
142
+ "girl": ":girl:",
143
+ "woman": ":woman:",
144
+ "man": ":man:",
145
+ "baby": ":baby:",
146
+ "older_woman": ":older_woman:",
147
+ "older_man": ":older_man:",
148
+ "person_with_blond_hair": ":person_with_blond_hair:",
149
+ "man_with_gua_pi_mao": ":man_with_gua_pi_mao:",
150
+ "man_with_turban": ":man_with_turban:",
151
+ "construction_worker": ":construction_worker:",
152
+ "cop": ":cop:",
153
+ "angel": ":angel:",
154
+ "princess": ":princess:",
155
+ "smiley_cat": ":smiley_cat:",
156
+ "smile_cat": ":smile_cat:",
157
+ "heart_eyes_cat": ":heart_eyes_cat:",
158
+ "kissing_cat": ":kissing_cat:",
159
+ "smirk_cat": ":smirk_cat:",
160
+ "scream_cat": ":scream_cat:",
161
+ "crying_cat_face": ":crying_cat_face:",
162
+ "joy_cat": ":joy_cat:",
163
+ "pouting_cat": ":pouting_cat:",
164
+ "japanese_ogre": ":japanese_ogre:",
165
+ "japanese_goblin": ":japanese_goblin:",
166
+ "see_no_evil": ":see_no_evil:",
167
+ "hear_no_evil": ":hear_no_evil:",
168
+ "speak_no_evil": ":speak_no_evil:",
169
+ "guardsman": ":guardsman:",
170
+ "skull": ":skull:",
171
+ "feet": ":feet:",
172
+ "lips": ":lips:",
173
+ "kiss": ":kiss:",
174
+ "droplet": ":droplet:",
175
+ "ear": ":ear:",
176
+ "eyes": ":eyes:",
177
+ "nose": ":nose:",
178
+ "tongue": ":tongue:",
179
+ "love_letter": ":love_letter:",
180
+ "bust_in_silhouette": ":bust_in_silhouette:",
181
+ "busts_in_silhouette": ":busts_in_silhouette:",
182
+ "speech_balloon": ":speech_balloon:",
183
+ "thought_balloon": ":thought_balloon:",
184
+ "feelsgood": ":feelsgood:",
185
+ "finnadie": ":finnadie:",
186
+ "goberserk": ":goberserk:",
187
+ "godmode": ":godmode:",
188
+ "hurtrealbad": ":hurtrealbad:",
189
+ "rage1": ":rage1:",
190
+ "rage2": ":rage2:",
191
+ "rage3": ":rage3:",
192
+ "rage4": ":rage4:",
193
+ "suspect": ":suspect:",
194
+ "trollface": ":trollface:",
195
+ "sunny": ":sunny:",
196
+ "umbrella": ":umbrella:",
197
+ "cloud": ":cloud:",
198
+ "snowflake": ":snowflake:",
199
+ "snowman": ":snowman:",
200
+ "zap": ":zap:",
201
+ "cyclone": ":cyclone:",
202
+ "foggy": ":foggy:",
203
+ "ocean": ":ocean:",
204
+ "cat": ":cat:",
205
+ "dog": ":dog:",
206
+ "mouse": ":mouse:",
207
+ "hamster": ":hamster:",
208
+ "rabbit": ":rabbit:",
209
+ "wolf": ":wolf:",
210
+ "frog": ":frog:",
211
+ "tiger": ":tiger:",
212
+ "koala": ":koala:",
213
+ "bear": ":bear:",
214
+ "pig": ":pig:",
215
+ "pig_nose": ":pig_nose:",
216
+ "cow": ":cow:",
217
+ "boar": ":boar:",
218
+ "monkey_face": ":monkey_face:",
219
+ "monkey": ":monkey:",
220
+ "horse": ":horse:",
221
+ "racehorse": ":racehorse:",
222
+ "camel": ":camel:",
223
+ "sheep": ":sheep:",
224
+ "elephant": ":elephant:",
225
+ "panda_face": ":panda_face:",
226
+ "snake": ":snake:",
227
+ "bird": ":bird:",
228
+ "baby_chick": ":baby_chick:",
229
+ "hatched_chick": ":hatched_chick:",
230
+ "hatching_chick": ":hatching_chick:",
231
+ "chicken": ":chicken:",
232
+ "penguin": ":penguin:",
233
+ "turtle": ":turtle:",
234
+ "bug": ":bug:",
235
+ "honeybee": ":honeybee:",
236
+ "ant": ":ant:",
237
+ "beetle": ":beetle:",
238
+ "snail": ":snail:",
239
+ "octopus": ":octopus:",
240
+ "tropical_fish": ":tropical_fish:",
241
+ "fish": ":fish:",
242
+ "whale": ":whale:",
243
+ "whale2": ":whale2:",
244
+ "dolphin": ":dolphin:",
245
+ "cow2": ":cow2:",
246
+ "ram": ":ram:",
247
+ "rat": ":rat:",
248
+ "water_buffalo": ":water_buffalo:",
249
+ "tiger2": ":tiger2:",
250
+ "rabbit2": ":rabbit2:",
251
+ "dragon": ":dragon:",
252
+ "goat": ":goat:",
253
+ "rooster": ":rooster:",
254
+ "dog2": ":dog2:",
255
+ "pig2": ":pig2:",
256
+ "mouse2": ":mouse2:",
257
+ "ox": ":ox:",
258
+ "dragon_face": ":dragon_face:",
259
+ "blowfish": ":blowfish:",
260
+ "crocodile": ":crocodile:",
261
+ "dromedary_camel": ":dromedary_camel:",
262
+ "leopard": ":leopard:",
263
+ "cat2": ":cat2:",
264
+ "poodle": ":poodle:",
265
+ "paw_prints": ":paw_prints:",
266
+ "bouquet": ":bouquet:",
267
+ "cherry_blossom": ":cherry_blossom:",
268
+ "tulip": ":tulip:",
269
+ "four_leaf_clover": ":four_leaf_clover:",
270
+ "rose": ":rose:",
271
+ "sunflower": ":sunflower:",
272
+ "hibiscus": ":hibiscus:",
273
+ "maple_leaf": ":maple_leaf:",
274
+ "leaves": ":leaves:",
275
+ "fallen_leaf": ":fallen_leaf:",
276
+ "herb": ":herb:",
277
+ "mushroom": ":mushroom:",
278
+ "cactus": ":cactus:",
279
+ "palm_tree": ":palm_tree:",
280
+ "evergreen_tree": ":evergreen_tree:",
281
+ "deciduous_tree": ":deciduous_tree:",
282
+ "chestnut": ":chestnut:",
283
+ "seedling": ":seedling:",
284
+ "blossom": ":blossom:",
285
+ "ear_of_rice": ":ear_of_rice:",
286
+ "shell": ":shell:",
287
+ "globe_with_meridians": ":globe_with_meridians:",
288
+ "sun_with_face": ":sun_with_face:",
289
+ "full_moon_with_face": ":full_moon_with_face:",
290
+ "new_moon_with_face": ":new_moon_with_face:",
291
+ "new_moon": ":new_moon:",
292
+ "waxing_crescent_moon": ":waxing_crescent_moon:",
293
+ "first_quarter_moon": ":first_quarter_moon:",
294
+ "waxing_gibbous_moon": ":waxing_gibbous_moon:",
295
+ "full_moon": ":full_moon:",
296
+ "waning_gibbous_moon": ":waning_gibbous_moon:",
297
+ "last_quarter_moon": ":last_quarter_moon:",
298
+ "waning_crescent_moon": ":waning_crescent_moon:",
299
+ "last_quarter_moon_with_face": ":last_quarter_moon_with_face:",
300
+ "first_quarter_moon_with_face": ":first_quarter_moon_with_face:",
301
+ "crescent_moon": ":crescent_moon:",
302
+ "earth_africa": ":earth_africa:",
303
+ "earth_americas": ":earth_americas:",
304
+ "earth_asia": ":earth_asia:",
305
+ "volcano": ":volcano:",
306
+ "milky_way": ":milky_way:",
307
+ "partly_sunny": ":partly_sunny:",
308
+ "octocat": ":octocat:",
309
+ "squirrel": ":squirrel:",
310
+ "bamboo": ":bamboo:",
311
+ "gift_heart": ":gift_heart:",
312
+ "dolls": ":dolls:",
313
+ "school_satchel": ":school_satchel:",
314
+ "mortar_board": ":mortar_board:",
315
+ "flags": ":flags:",
316
+ "fireworks": ":fireworks:",
317
+ "sparkler": ":sparkler:",
318
+ "wind_chime": ":wind_chime:",
319
+ "rice_scene": ":rice_scene:",
320
+ "jack_o_lantern": ":jack_o_lantern:",
321
+ "ghost": ":ghost:",
322
+ "santa": ":santa:",
323
+ "christmas_tree": ":christmas_tree:",
324
+ "gift": ":gift:",
325
+ "bell": ":bell:",
326
+ "no_bell": ":no_bell:",
327
+ "tanabata_tree": ":tanabata_tree:",
328
+ "tada": ":tada:",
329
+ "confetti_ball": ":confetti_ball:",
330
+ "balloon": ":balloon:",
331
+ "crystal_ball": ":crystal_ball:",
332
+ "cd": ":cd:",
333
+ "dvd": ":dvd:",
334
+ "floppy_disk": ":floppy_disk:",
335
+ "camera": ":camera:",
336
+ "video_camera": ":video_camera:",
337
+ "movie_camera": ":movie_camera:",
338
+ "computer": ":computer:",
339
+ "tv": ":tv:",
340
+ "iphone": ":iphone:",
341
+ "phone": ":phone:",
342
+ "telephone": ":telephone:",
343
+ "telephone_receiver": ":telephone_receiver:",
344
+ "pager": ":pager:",
345
+ "fax": ":fax:",
346
+ "minidisc": ":minidisc:",
347
+ "vhs": ":vhs:",
348
+ "sound": ":sound:",
349
+ "speaker": ":speaker:",
350
+ "mute": ":mute:",
351
+ "loudspeaker": ":loudspeaker:",
352
+ "mega": ":mega:",
353
+ "hourglass": ":hourglass:",
354
+ "hourglass_flowing_sand": ":hourglass_flowing_sand:",
355
+ "alarm_clock": ":alarm_clock:",
356
+ "watch": ":watch:",
357
+ "radio": ":radio:",
358
+ "satellite": ":satellite:",
359
+ "loop": ":loop:",
360
+ "mag": ":mag:",
361
+ "mag_right": ":mag_right:",
362
+ "unlock": ":unlock:",
363
+ "lock": ":lock:",
364
+ "lock_with_ink_pen": ":lock_with_ink_pen:",
365
+ "closed_lock_with_key": ":closed_lock_with_key:",
366
+ "key": ":key:",
367
+ "bulb": ":bulb:",
368
+ "flashlight": ":flashlight:",
369
+ "high_brightness": ":high_brightness:",
370
+ "low_brightness": ":low_brightness:",
371
+ "electric_plug": ":electric_plug:",
372
+ "battery": ":battery:",
373
+ "calling": ":calling:",
374
+ "email": ":email:",
375
+ "mailbox": ":mailbox:",
376
+ "postbox": ":postbox:",
377
+ "bath": ":bath:",
378
+ "bathtub": ":bathtub:",
379
+ "shower": ":shower:",
380
+ "toilet": ":toilet:",
381
+ "wrench": ":wrench:",
382
+ "nut_and_bolt": ":nut_and_bolt:",
383
+ "hammer": ":hammer:",
384
+ "seat": ":seat:",
385
+ "moneybag": ":moneybag:",
386
+ "yen": ":yen:",
387
+ "dollar": ":dollar:",
388
+ "pound": ":pound:",
389
+ "euro": ":euro:",
390
+ "credit_card": ":credit_card:",
391
+ "money_with_wings": ":money_with_wings:",
392
+ "e-mail": ":e-mail:",
393
+ "inbox_tray": ":inbox_tray:",
394
+ "outbox_tray": ":outbox_tray:",
395
+ "envelope": ":envelope:",
396
+ "incoming_envelope": ":incoming_envelope:",
397
+ "postal_horn": ":postal_horn:",
398
+ "mailbox_closed": ":mailbox_closed:",
399
+ "mailbox_with_mail": ":mailbox_with_mail:",
400
+ "mailbox_with_no_mail": ":mailbox_with_no_mail:",
401
+ "package": ":package:",
402
+ "door": ":door:",
403
+ "smoking": ":smoking:",
404
+ "bomb": ":bomb:",
405
+ "gun": ":gun:",
406
+ "hocho": ":hocho:",
407
+ "pill": ":pill:",
408
+ "syringe": ":syringe:",
409
+ "page_facing_up": ":page_facing_up:",
410
+ "page_with_curl": ":page_with_curl:",
411
+ "bookmark_tabs": ":bookmark_tabs:",
412
+ "bar_chart": ":bar_chart:",
413
+ "chart_with_upwards_trend": ":chart_with_upwards_trend:",
414
+ "chart_with_downwards_trend": ":chart_with_downwards_trend:",
415
+ "scroll": ":scroll:",
416
+ "clipboard": ":clipboard:",
417
+ "calendar": ":calendar:",
418
+ "date": ":date:",
419
+ "card_index": ":card_index:",
420
+ "file_folder": ":file_folder:",
421
+ "open_file_folder": ":open_file_folder:",
422
+ "scissors": ":scissors:",
423
+ "pushpin": ":pushpin:",
424
+ "paperclip": ":paperclip:",
425
+ "black_nib": ":black_nib:",
426
+ "pencil2": ":pencil2:",
427
+ "straight_ruler": ":straight_ruler:",
428
+ "triangular_ruler": ":triangular_ruler:",
429
+ "closed_book": ":closed_book:",
430
+ "green_book": ":green_book:",
431
+ "blue_book": ":blue_book:",
432
+ "orange_book": ":orange_book:",
433
+ "notebook": ":notebook:",
434
+ "notebook_with_decorative_cover": ":notebook_with_decorative_cover:",
435
+ "ledger": ":ledger:",
436
+ "books": ":books:",
437
+ "bookmark": ":bookmark:",
438
+ "name_badge": ":name_badge:",
439
+ "microscope": ":microscope:",
440
+ "telescope": ":telescope:",
441
+ "newspaper": ":newspaper:",
442
+ "football": ":football:",
443
+ "basketball": ":basketball:",
444
+ "soccer": ":soccer:",
445
+ "baseball": ":baseball:",
446
+ "tennis": ":tennis:",
447
+ "8ball": ":8ball:",
448
+ "8ball": ":8ball:",
449
+ "rugby_football": ":rugby_football:",
450
+ "bowling": ":bowling:",
451
+ "golf": ":golf:",
452
+ "mountain_bicyclist": ":mountain_bicyclist:",
453
+ "bicyclist": ":bicyclist:",
454
+ "horse_racing": ":horse_racing:",
455
+ "snowboarder": ":snowboarder:",
456
+ "swimmer": ":swimmer:",
457
+ "surfer": ":surfer:",
458
+ "ski": ":ski:",
459
+ "spades": ":spades:",
460
+ "hearts": ":hearts:",
461
+ "clubs": ":clubs:",
462
+ "diamonds": ":diamonds:",
463
+ "gem": ":gem:",
464
+ "ring": ":ring:",
465
+ "trophy": ":trophy:",
466
+ "musical_score": ":musical_score:",
467
+ "musical_keyboard": ":musical_keyboard:",
468
+ "violin": ":violin:",
469
+ "space_invader": ":space_invader:",
470
+ "video_game": ":video_game:",
471
+ "black_joker": ":black_joker:",
472
+ "flower_playing_cards": ":flower_playing_cards:",
473
+ "game_die": ":game_die:",
474
+ "dart": ":dart:",
475
+ "mahjong": ":mahjong:",
476
+ "clapper": ":clapper:",
477
+ "memo": ":memo:",
478
+ "pencil": ":pencil:",
479
+ "book": ":book:",
480
+ "art": ":art:",
481
+ "microphone": ":microphone:",
482
+ "headphones": ":headphones:",
483
+ "trumpet": ":trumpet:",
484
+ "saxophone": ":saxophone:",
485
+ "guitar": ":guitar:",
486
+ "shoe": ":shoe:",
487
+ "sandal": ":sandal:",
488
+ "high_heel": ":high_heel:",
489
+ "lipstick": ":lipstick:",
490
+ "boot": ":boot:",
491
+ "shirt": ":shirt:",
492
+ "tshirt": ":tshirt:",
493
+ "necktie": ":necktie:",
494
+ "womans_clothes": ":womans_clothes:",
495
+ "dress": ":dress:",
496
+ "running_shirt_with_sash": ":running_shirt_with_sash:",
497
+ "jeans": ":jeans:",
498
+ "kimono": ":kimono:",
499
+ "bikini": ":bikini:",
500
+ "ribbon": ":ribbon:",
501
+ "tophat": ":tophat:",
502
+ "crown": ":crown:",
503
+ "womans_hat": ":womans_hat:",
504
+ "mans_shoe": ":mans_shoe:",
505
+ "closed_umbrella": ":closed_umbrella:",
506
+ "briefcase": ":briefcase:",
507
+ "handbag": ":handbag:",
508
+ "pouch": ":pouch:",
509
+ "purse": ":purse:",
510
+ "eyeglasses": ":eyeglasses:",
511
+ "fishing_pole_and_fish": ":fishing_pole_and_fish:",
512
+ "coffee": ":coffee:",
513
+ "tea": ":tea:",
514
+ "sake": ":sake:",
515
+ "baby_bottle": ":baby_bottle:",
516
+ "beer": ":beer:",
517
+ "beers": ":beers:",
518
+ "cocktail": ":cocktail:",
519
+ "tropical_drink": ":tropical_drink:",
520
+ "wine_glass": ":wine_glass:",
521
+ "fork_and_knife": ":fork_and_knife:",
522
+ "pizza": ":pizza:",
523
+ "hamburger": ":hamburger:",
524
+ "fries": ":fries:",
525
+ "poultry_leg": ":poultry_leg:",
526
+ "meat_on_bone": ":meat_on_bone:",
527
+ "spaghetti": ":spaghetti:",
528
+ "curry": ":curry:",
529
+ "fried_shrimp": ":fried_shrimp:",
530
+ "bento": ":bento:",
531
+ "sushi": ":sushi:",
532
+ "fish_cake": ":fish_cake:",
533
+ "rice_ball": ":rice_ball:",
534
+ "rice_cracker": ":rice_cracker:",
535
+ "rice": ":rice:",
536
+ "ramen": ":ramen:",
537
+ "stew": ":stew:",
538
+ "oden": ":oden:",
539
+ "dango": ":dango:",
540
+ "egg": ":egg:",
541
+ "bread": ":bread:",
542
+ "doughnut": ":doughnut:",
543
+ "custard": ":custard:",
544
+ "icecream": ":icecream:",
545
+ "ice_cream": ":ice_cream:",
546
+ "shaved_ice": ":shaved_ice:",
547
+ "birthday": ":birthday:",
548
+ "cake": ":cake:",
549
+ "cookie": ":cookie:",
550
+ "chocolate_bar": ":chocolate_bar:",
551
+ "candy": ":candy:",
552
+ "lollipop": ":lollipop:",
553
+ "honey_pot": ":honey_pot:",
554
+ "apple": ":apple:",
555
+ "green_apple": ":green_apple:",
556
+ "tangerine": ":tangerine:",
557
+ "lemon": ":lemon:",
558
+ "cherries": ":cherries:",
559
+ "grapes": ":grapes:",
560
+ "watermelon": ":watermelon:",
561
+ "strawberry": ":strawberry:",
562
+ "peach": ":peach:",
563
+ "melon": ":melon:",
564
+ "banana": ":banana:",
565
+ "pear": ":pear:",
566
+ "pineapple": ":pineapple:",
567
+ "sweet_potato": ":sweet_potato:",
568
+ "eggplant": ":eggplant:",
569
+ "tomato": ":tomato:",
570
+ "corn": ":corn:",
571
+ "house": ":house:",
572
+ "house_with_garden": ":house_with_garden:",
573
+ "school": ":school:",
574
+ "office": ":office:",
575
+ "post_office": ":post_office:",
576
+ "hospital": ":hospital:",
577
+ "bank": ":bank:",
578
+ "convenience_store": ":convenience_store:",
579
+ "love_hotel": ":love_hotel:",
580
+ "hotel": ":hotel:",
581
+ "wedding": ":wedding:",
582
+ "church": ":church:",
583
+ "department_store": ":department_store:",
584
+ "european_post_office": ":european_post_office:",
585
+ "city_sunrise": ":city_sunrise:",
586
+ "city_sunset": ":city_sunset:",
587
+ "japanese_castle": ":japanese_castle:",
588
+ "european_castle": ":european_castle:",
589
+ "tent": ":tent:",
590
+ "factory": ":factory:",
591
+ "tokyo_tower": ":tokyo_tower:",
592
+ "japan": ":japan:",
593
+ "mount_fuji": ":mount_fuji:",
594
+ "sunrise_over_mountains": ":sunrise_over_mountains:",
595
+ "sunrise": ":sunrise:",
596
+ "stars": ":stars:",
597
+ "statue_of_liberty": ":statue_of_liberty:",
598
+ "bridge_at_night": ":bridge_at_night:",
599
+ "carousel_horse": ":carousel_horse:",
600
+ "rainbow": ":rainbow:",
601
+ "ferris_wheel": ":ferris_wheel:",
602
+ "fountain": ":fountain:",
603
+ "roller_coaster": ":roller_coaster:",
604
+ "ship": ":ship:",
605
+ "speedboat": ":speedboat:",
606
+ "boat": ":boat:",
607
+ "sailboat": ":sailboat:",
608
+ "rowboat": ":rowboat:",
609
+ "anchor": ":anchor:",
610
+ "rocket": ":rocket:",
611
+ "airplane": ":airplane:",
612
+ "helicopter": ":helicopter:",
613
+ "steam_locomotive": ":steam_locomotive:",
614
+ "tram": ":tram:",
615
+ "mountain_railway": ":mountain_railway:",
616
+ "bike": ":bike:",
617
+ "aerial_tramway": ":aerial_tramway:",
618
+ "suspension_railway": ":suspension_railway:",
619
+ "mountain_cableway": ":mountain_cableway:",
620
+ "tractor": ":tractor:",
621
+ "blue_car": ":blue_car:",
622
+ "oncoming_automobile": ":oncoming_automobile:",
623
+ "car": ":car:",
624
+ "red_car": ":red_car:",
625
+ "taxi": ":taxi:",
626
+ "oncoming_taxi": ":oncoming_taxi:",
627
+ "articulated_lorry": ":articulated_lorry:",
628
+ "bus": ":bus:",
629
+ "oncoming_bus": ":oncoming_bus:",
630
+ "rotating_light": ":rotating_light:",
631
+ "police_car": ":police_car:",
632
+ "oncoming_police_car": ":oncoming_police_car:",
633
+ "fire_engine": ":fire_engine:",
634
+ "ambulance": ":ambulance:",
635
+ "minibus": ":minibus:",
636
+ "truck": ":truck:",
637
+ "train": ":train:",
638
+ "station": ":station:",
639
+ "train2": ":train2:",
640
+ "bullettrain_front": ":bullettrain_front:",
641
+ "bullettrain_side": ":bullettrain_side:",
642
+ "light_rail": ":light_rail:",
643
+ "monorail": ":monorail:",
644
+ "railway_car": ":railway_car:",
645
+ "trolleybus": ":trolleybus:",
646
+ "ticket": ":ticket:",
647
+ "fuelpump": ":fuelpump:",
648
+ "vertical_traffic_light": ":vertical_traffic_light:",
649
+ "traffic_light": ":traffic_light:",
650
+ "warning": ":warning:",
651
+ "construction": ":construction:",
652
+ "beginner": ":beginner:",
653
+ "atm": ":atm:",
654
+ "slot_machine": ":slot_machine:",
655
+ "busstop": ":busstop:",
656
+ "barber": ":barber:",
657
+ "hotsprings": ":hotsprings:",
658
+ "checkered_flag": ":checkered_flag:",
659
+ "crossed_flags": ":crossed_flags:",
660
+ "izakaya_lantern": ":izakaya_lantern:",
661
+ "moyai": ":moyai:",
662
+ "circus_tent": ":circus_tent:",
663
+ "performing_arts": ":performing_arts:",
664
+ "round_pushpin": ":round_pushpin:",
665
+ "triangular_flag_on_post": ":triangular_flag_on_post:",
666
+ "jp": ":jp:",
667
+ "kr": ":kr:",
668
+ "cn": ":cn:",
669
+ "us": ":us:",
670
+ "fr": ":fr:",
671
+ "es": ":es:",
672
+ "it": ":it:",
673
+ "ru": ":ru:",
674
+ "gb": ":gb:",
675
+ "uk": ":uk:",
676
+ "de": ":de:",
677
+ "one": ":one:",
678
+ "two": ":two:",
679
+ "three": ":three:",
680
+ "four": ":four:",
681
+ "five": ":five:",
682
+ "six": ":six:",
683
+ "seven": ":seven:",
684
+ "eight": ":eight:",
685
+ "nine": ":nine:",
686
+ "keycap_ten": ":keycap_ten:",
687
+ "1234": ":1234:",
688
+ "zero": ":zero:",
689
+ "hash": ":hash:",
690
+ "symbols": ":symbols:",
691
+ "arrow_backward": ":arrow_backward:",
692
+ "arrow_down": ":arrow_down:",
693
+ "arrow_forward": ":arrow_forward:",
694
+ "arrow_left": ":arrow_left:",
695
+ "capital_abcd": ":capital_abcd:",
696
+ "abcd": ":abcd:",
697
+ "abc": ":abc:",
698
+ "arrow_lower_left": ":arrow_lower_left:",
699
+ "arrow_lower_right": ":arrow_lower_right:",
700
+ "arrow_right": ":arrow_right:",
701
+ "arrow_up": ":arrow_up:",
702
+ "arrow_upper_left": ":arrow_upper_left:",
703
+ "arrow_upper_right": ":arrow_upper_right:",
704
+ "arrow_double_down": ":arrow_double_down:",
705
+ "arrow_double_up": ":arrow_double_up:",
706
+ "arrow_down_small": ":arrow_down_small:",
707
+ "arrow_heading_down": ":arrow_heading_down:",
708
+ "arrow_heading_up": ":arrow_heading_up:",
709
+ "leftwards_arrow_with_hook": ":leftwards_arrow_with_hook:",
710
+ "arrow_right_hook": ":arrow_right_hook:",
711
+ "left_right_arrow": ":left_right_arrow:",
712
+ "arrow_up_down": ":arrow_up_down:",
713
+ "arrow_up_small": ":arrow_up_small:",
714
+ "arrows_clockwise": ":arrows_clockwise:",
715
+ "arrows_counterclockwise": ":arrows_counterclockwise:",
716
+ "rewind": ":rewind:",
717
+ "fast_forward": ":fast_forward:",
718
+ "information_source": ":information_source:",
719
+ "ok": ":ok:",
720
+ "twisted_rightwards_arrows": ":twisted_rightwards_arrows:",
721
+ "repeat": ":repeat:",
722
+ "repeat_one": ":repeat_one:",
723
+ "new": ":new:",
724
+ "top": ":top:",
725
+ "up": ":up:",
726
+ "cool": ":cool:",
727
+ "free": ":free:",
728
+ "ng": ":ng:",
729
+ "cinema": ":cinema:",
730
+ "koko": ":koko:",
731
+ "signal_strength": ":signal_strength:",
732
+ "u5272": ":u5272:",
733
+ "u5408": ":u5408:",
734
+ "u55b6": ":u55b6:",
735
+ "u6307": ":u6307:",
736
+ "u6708": ":u6708:",
737
+ "u6709": ":u6709:",
738
+ "u6e80": ":u6e80:",
739
+ "u7121": ":u7121:",
740
+ "u7533": ":u7533:",
741
+ "u7a7a": ":u7a7a:",
742
+ "u7981": ":u7981:",
743
+ "sa": ":sa:",
744
+ "restroom": ":restroom:",
745
+ "mens": ":mens:",
746
+ "womens": ":womens:",
747
+ "baby_symbol": ":baby_symbol:",
748
+ "no_smoking": ":no_smoking:",
749
+ "parking": ":parking:",
750
+ "wheelchair": ":wheelchair:",
751
+ "metro": ":metro:",
752
+ "baggage_claim": ":baggage_claim:",
753
+ "accept": ":accept:",
754
+ "wc": ":wc:",
755
+ "potable_water": ":potable_water:",
756
+ "put_litter_in_its_place": ":put_litter_in_its_place:",
757
+ "secret": ":secret:",
758
+ "congratulations": ":congratulations:",
759
+ "m": ":m:",
760
+ "passport_control": ":passport_control:",
761
+ "left_luggage": ":left_luggage:",
762
+ "customs": ":customs:",
763
+ "ideograph_advantage": ":ideograph_advantage:",
764
+ "cl": ":cl:",
765
+ "sos": ":sos:",
766
+ "id": ":id:",
767
+ "no_entry_sign": ":no_entry_sign:",
768
+ "underage": ":underage:",
769
+ "no_mobile_phones": ":no_mobile_phones:",
770
+ "do_not_litter": ":do_not_litter:",
771
+ "non-potable_water": ":non-potable_water:",
772
+ "no_bicycles": ":no_bicycles:",
773
+ "no_pedestrians": ":no_pedestrians:",
774
+ "children_crossing": ":children_crossing:",
775
+ "no_entry": ":no_entry:",
776
+ "eight_spoked_asterisk": ":eight_spoked_asterisk:",
777
+ "sparkle": ":sparkle:",
778
+ "eight_pointed_black_star": ":eight_pointed_black_star:",
779
+ "heart_decoration": ":heart_decoration:",
780
+ "vs": ":vs:",
781
+ "vibration_mode": ":vibration_mode:",
782
+ "mobile_phone_off": ":mobile_phone_off:",
783
+ "chart": ":chart:",
784
+ "currency_exchange": ":currency_exchange:",
785
+ "aries": ":aries:",
786
+ "taurus": ":taurus:",
787
+ "gemini": ":gemini:",
788
+ "cancer": ":cancer:",
789
+ "leo": ":leo:",
790
+ "virgo": ":virgo:",
791
+ "libra": ":libra:",
792
+ "scorpius": ":scorpius:",
793
+ "sagittarius": ":sagittarius:",
794
+ "capricorn": ":capricorn:",
795
+ "aquarius": ":aquarius:",
796
+ "pisces": ":pisces:",
797
+ "ophiuchus": ":ophiuchus:",
798
+ "six_pointed_star": ":six_pointed_star:",
799
+ "negative_squared_cross_mark": ":negative_squared_cross_mark:",
800
+ "a": ":a:",
801
+ "b": ":b:",
802
+ "ab": ":ab:",
803
+ "o2": ":o2:",
804
+ "diamond_shape_with_a_dot_inside": ":diamond_shape_with_a_dot_inside:",
805
+ "recycle": ":recycle:",
806
+ "end": ":end:",
807
+ "back": ":back:",
808
+ "on": ":on:",
809
+ "soon": ":soon:",
810
+ "clock1": ":clock1:",
811
+ "clock130": ":clock130:",
812
+ "clock10": ":clock10:",
813
+ "clock1030": ":clock1030:",
814
+ "clock11": ":clock11:",
815
+ "clock1130": ":clock1130:",
816
+ "clock12": ":clock12:",
817
+ "clock1230": ":clock1230:",
818
+ "clock2": ":clock2:",
819
+ "clock230": ":clock230:",
820
+ "clock3": ":clock3:",
821
+ "clock330": ":clock330:",
822
+ "clock4": ":clock4:",
823
+ "clock430": ":clock430:",
824
+ "clock5": ":clock5:",
825
+ "clock530": ":clock530:",
826
+ "clock6": ":clock6:",
827
+ "clock630": ":clock630:",
828
+ "clock7": ":clock7:",
829
+ "clock730": ":clock730:",
830
+ "clock8": ":clock8:",
831
+ "clock830": ":clock830:",
832
+ "clock9": ":clock9:",
833
+ "clock930": ":clock930:",
834
+ "heavy_dollar_sign": ":heavy_dollar_sign:",
835
+ "copyright": ":copyright:",
836
+ "registered": ":registered:",
837
+ "tm": ":tm:",
838
+ "x": ":x:",
839
+ "heavy_exclamation_mark": ":heavy_exclamation_mark:",
840
+ "bangbang": ":bangbang:",
841
+ "interrobang": ":interrobang:",
842
+ "o": ":o:",
843
+ "heavy_multiplication_x": ":heavy_multiplication_x:",
844
+ "heavy_plus_sign": ":heavy_plus_sign:",
845
+ "heavy_minus_sign": ":heavy_minus_sign:",
846
+ "heavy_division_sign": ":heavy_division_sign:",
847
+ "white_flower": ":white_flower:",
848
+ "100": ":100:",
849
+ "heavy_check_mark": ":heavy_check_mark:",
850
+ "ballot_box_with_check": ":ballot_box_with_check:",
851
+ "radio_button": ":radio_button:",
852
+ "link": ":link:",
853
+ "curly_loop": ":curly_loop:",
854
+ "wavy_dash": ":wavy_dash:",
855
+ "part_alternation_mark": ":part_alternation_mark:",
856
+ "trident": ":trident:",
857
+ "black_small_square": ":black_small_square:",
858
+ "white_small_square": ":white_small_square:",
859
+ "black_medium_small_square": ":black_medium_small_square:",
860
+ "white_medium_small_square": ":white_medium_small_square:",
861
+ "black_medium_square": ":black_medium_square:",
862
+ "white_medium_square": ":white_medium_square:",
863
+ "black_large_square": ":black_large_square:",
864
+ "white_large_square": ":white_large_square:",
865
+ "white_check_mark": ":white_check_mark:",
866
+ "black_square_button": ":black_square_button:",
867
+ "white_square_button": ":white_square_button:",
868
+ "black_circle": ":black_circle:",
869
+ "white_circle": ":white_circle:",
870
+ "red_circle": ":red_circle:",
871
+ "large_blue_circle": ":large_blue_circle:",
872
+ "large_blue_diamond": ":large_blue_diamond:",
873
+ "large_orange_diamond": ":large_orange_diamond:",
874
+ "small_blue_diamond": ":small_blue_diamond:",
875
+ "small_orange_diamond": ":small_orange_diamond:",
876
+ "small_red_triangle": ":small_red_triangle:",
877
+ "small_red_triangle_down": ":small_red_triangle_down:",
878
+ "shipit": ":shipit:"
879
+ }
880
+
@@ -0,0 +1,5 @@
1
+ #!/bin/sh
2
+
3
+ exec < /dev/tty
4
+
5
+ .git/hooks/emoji-script.rb $1
@@ -0,0 +1,34 @@
1
+ #!/usr/bin/ruby
2
+ require 'json'
3
+
4
+ module EmojiCommit
5
+ class EmojiCommitMsg
6
+ attr_accessor :msg_file
7
+
8
+ def initialize(file)
9
+ @msg_file = file
10
+ end
11
+
12
+ def emoji_exists?(message)
13
+ message.match(/^:(-|\+|non-|e-\w+)?(\w+):/) ? true : false
14
+ end
15
+
16
+ def get_emoji
17
+ puts Dir.pwd
18
+
19
+ emojis_file = File.read(path_to_emojis)
20
+ emojis_hash = JSON.parse(emojis_file)
21
+ emojis_hash[emojis_hash.keys.sample].strip
22
+ end
23
+
24
+ def path_to_emojis
25
+ "#{Dir.pwd}/.git/hooks/emojis.json"
26
+ end
27
+
28
+ def edit_commit_msg
29
+ commit_msg = File.read(@msg_file)
30
+ return if emoji_exists?(commit_msg)
31
+ File.write(@msg_file, "#{get_emoji} #{commit_msg}")
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,3 @@
1
+ module EmojiCommit
2
+ VERSION = "1.0.0"
3
+ end
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/ruby
2
+ require 'emoji-commit-msg'
3
+
4
+ EmojiCommit::EmojiCommitMsg.new(ARGV[0]).edit_commit_msg
@@ -0,0 +1,45 @@
1
+ #!/usr/bin/ruby
2
+ require 'fileutils'
3
+ require 'Thor'
4
+
5
+ module EmojiCommit
6
+ class Cli < Thor
7
+ desc 'install', 'installs commit hook scripts'
8
+
9
+ def install
10
+ puts 'You are about to overwrite any existing Git commit hook with the emoji script'
11
+ puts 'Is that OK? (y|n)'
12
+ answer = STDIN.gets.strip.downcase
13
+ if answer == 'n'
14
+ puts 'Fine whatever. Bye'
15
+ exit
16
+ elsif answer != 'y'
17
+ puts 'Pardon? Oh who cares. Bye'
18
+ exit
19
+ end
20
+
21
+ unless Dir.exist?('.git')
22
+ puts 'Git has not been initialised in this directory. Bye'
23
+ exit
24
+ end
25
+
26
+ if File.exist?('.git/hooks/commit-msg') then FileUtils.rm('.git/hooks/commit-msg') end
27
+ if File.exist?('.git/hooks/commit-msg.sample') then FileUtils.rm('.git/hooks/commit-msg.sample') end
28
+
29
+ path = path_to_resources
30
+
31
+ FileUtils.cp(path + '/emoji-script.rb', '.git/hooks/emoji-script.rb')
32
+ FileUtils.cp(path + '/emoji-commit-msg.rb', '.git/hooks/emoji-commit-msg.rb')
33
+ FileUtils.cp(path + '/commit-msg', '.git/hooks/commit-msg')
34
+ FileUtils.cp(path + '/assets/emojis.json', '.git/hooks/emojis.json')
35
+ FileUtils.chmod 0755, %w(.git/hooks/emoji-script.rb .git/hooks/emoji-commit-msg.rb .git/hooks/commit-msg .git/hooks/emojis.json)
36
+ puts 'Installed scripts successfully. Commit emoji-ful messages!'
37
+ end
38
+
39
+ no_commands do
40
+ def path_to_resources
41
+ File.dirname(File.expand_path(__FILE__))
42
+ end
43
+ end
44
+ end
45
+ end
metadata ADDED
@@ -0,0 +1,119 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: emoji-commit
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Claire Parker
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-12-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.10'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.10'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: Prefixes and Git commit messages with a random Git-friendly emoji.
70
+ email:
71
+ - claire.parker87@gmail.com
72
+ executables:
73
+ - emoji
74
+ extensions: []
75
+ extra_rdoc_files: []
76
+ files:
77
+ - .gitignore
78
+ - .rspec
79
+ - .travis.yml
80
+ - Gemfile
81
+ - LICENSE.txt
82
+ - README.md
83
+ - Rakefile
84
+ - TODO.md
85
+ - bin/console
86
+ - bin/emoji
87
+ - bin/setup
88
+ - emoji-commit.gemspec
89
+ - lib/assets/emojis.json
90
+ - lib/commit-msg
91
+ - lib/emoji-commit-msg.rb
92
+ - lib/emoji-commit-version.rb
93
+ - lib/emoji-script.rb
94
+ - lib/file-tasks.rb
95
+ homepage: https://github.com/claireparker/emoji-commit
96
+ licenses:
97
+ - MIT
98
+ metadata: {}
99
+ post_install_message:
100
+ rdoc_options: []
101
+ require_paths:
102
+ - lib
103
+ required_ruby_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - '>='
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ required_rubygems_version: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - '>='
111
+ - !ruby/object:Gem::Version
112
+ version: '0'
113
+ requirements: []
114
+ rubyforge_project:
115
+ rubygems_version: 2.0.14
116
+ signing_key:
117
+ specification_version: 4
118
+ summary: Adds an emoji to your commit message
119
+ test_files: []