emojis 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +2 -0
- data/LICENSE.txt +22 -0
- data/README.md +33 -0
- data/Rakefile +1 -0
- data/emojis.gemspec +19 -0
- data/lib/emojis.rb +743 -0
- data/lib/emojis/version.rb +3 -0
- metadata +55 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Shannon Skipper
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# Emojis
|
2
|
+
|
3
|
+
A Ruby gem for Emojis! Over 700 Emoji symbols ready to use. Emojis gem is based upon Apple and Google's UTC Subcommittee proposal for Unicode Symbols for Emoji.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Intstall:
|
8
|
+
|
9
|
+
`gem install emojis`
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'emojis'
|
15
|
+
|
16
|
+
emojis = Emojis.new
|
17
|
+
|
18
|
+
emojies.list
|
19
|
+
```
|
20
|
+
# :airplane => :airplane:
|
21
|
+
# :bear_face => :bear:
|
22
|
+
# :beer_mug => :beer:
|
23
|
+
# etcetera...
|
24
|
+
```ruby
|
25
|
+
emojies[:birthday_cake]
|
26
|
+
```
|
27
|
+
#=> :cake:
|
28
|
+
|
29
|
+
## Contributing
|
30
|
+
|
31
|
+
1. Fork it
|
32
|
+
2. Commit your changes
|
33
|
+
3. Create a pull request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'bundler/gem_tasks'
|
data/emojis.gemspec
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'emojis/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = 'emojis'
|
8
|
+
gem.version = Emojis::VERSION
|
9
|
+
gem.authors = ['Shannon Skipper']
|
10
|
+
gem.email = ['shannonskipper@gmail.com']
|
11
|
+
gem.description = %q{A Ruby gem for Emoji!}
|
12
|
+
gem.summary = %q{Over 700 Emoji symbols ready for Ruby. Follows Apple and Google's UTC Subcommittee proposal for Unicode Symbols for Emoji.}
|
13
|
+
gem.homepage = 'https://github.com/Havenwood/emojis'
|
14
|
+
|
15
|
+
gem.files = `git ls-files`.split($/)
|
16
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
|
+
gem.require_paths = ['lib']
|
19
|
+
end
|
data/lib/emojis.rb
ADDED
@@ -0,0 +1,743 @@
|
|
1
|
+
require 'emojis/version'
|
2
|
+
|
3
|
+
class Emojis
|
4
|
+
def initialize
|
5
|
+
@emoji = {
|
6
|
+
airplane: 9992,
|
7
|
+
alarm_clock: 9200,
|
8
|
+
alien_monster: 128126,
|
9
|
+
ambulance: 128657,
|
10
|
+
american_football: 127944,
|
11
|
+
anchor: 9875,
|
12
|
+
anger_symbol: 128162,
|
13
|
+
angry_face: 128544,
|
14
|
+
ant: 128028,
|
15
|
+
antenna_with_bars: 128246,
|
16
|
+
aquarius: 9810,
|
17
|
+
aries: 9800,
|
18
|
+
arrow_pointing_rightwards_then_curving_downwards: 10549,
|
19
|
+
arrow_pointing_rightwards_then_curving_upwards: 10548,
|
20
|
+
artist_palette: 127912,
|
21
|
+
astonished_face: 128562,
|
22
|
+
athletic_shoe: 128095,
|
23
|
+
aubergine: 127814,
|
24
|
+
automated_teller_machine: 127975,
|
25
|
+
automobile: 128663,
|
26
|
+
baby: 128118,
|
27
|
+
baby_angel: 128124,
|
28
|
+
baby_chick: 128036,
|
29
|
+
baby_symbol: 128700,
|
30
|
+
back_with_leftwards_arrow_above: 128281,
|
31
|
+
bactrian_camel: 128043,
|
32
|
+
balloon: 127880,
|
33
|
+
ballot_box_with_check: 9745,
|
34
|
+
banana: 127820,
|
35
|
+
bank: 127974,
|
36
|
+
banknote_with_dollar_sign: 128181,
|
37
|
+
banknote_with_yen_sign: 128180,
|
38
|
+
bar_chart: 128202,
|
39
|
+
barber_pole: 128136,
|
40
|
+
baseball: 9918,
|
41
|
+
basketball_and_hoop: 127936,
|
42
|
+
bath: 128704,
|
43
|
+
battery: 128267,
|
44
|
+
bear_face: 128059,
|
45
|
+
beating_heart: 128147,
|
46
|
+
beer_mug: 127866,
|
47
|
+
bell: 128276,
|
48
|
+
bento_box: 127857,
|
49
|
+
bicycle: 128690,
|
50
|
+
bikini: 128089,
|
51
|
+
billiards: 127921,
|
52
|
+
bird: 128038,
|
53
|
+
birthday_cake: 127874,
|
54
|
+
black_club_suit: 9827,
|
55
|
+
black_diamond_suit: 9830,
|
56
|
+
black_down_pointing_double_triangle: 9196,
|
57
|
+
black_heart_suit: 9829,
|
58
|
+
black_large_square: 11035,
|
59
|
+
black_left_pointing_double_triangle: 9194,
|
60
|
+
black_left_pointing_triangle: 9664,
|
61
|
+
black_medium_small_square: 9726,
|
62
|
+
black_medium_square: 9724,
|
63
|
+
black_nib: 10002,
|
64
|
+
black_question_mark_ornament: 10067,
|
65
|
+
black_right_pointing_double_triangle: 9193,
|
66
|
+
black_right_pointing_triangle: 9654,
|
67
|
+
black_rightwards_arrow: 10145,
|
68
|
+
black_scissors: 9986,
|
69
|
+
black_small_square: 9642,
|
70
|
+
black_spade_suit: 9824,
|
71
|
+
black_square_button: 128306,
|
72
|
+
black_sun_with_rays: 9728,
|
73
|
+
black_telephone: 9742,
|
74
|
+
black_universal_recycling_symbol: 9851,
|
75
|
+
black_up_pointing_double_triangle: 9195,
|
76
|
+
blossom: 127804,
|
77
|
+
blowfish: 128033,
|
78
|
+
blue_book: 128216,
|
79
|
+
blue_heart: 128153,
|
80
|
+
boar: 128023,
|
81
|
+
bomb: 128163,
|
82
|
+
bookmark: 128278,
|
83
|
+
bookmark_tabs: 128209,
|
84
|
+
books: 128218,
|
85
|
+
bouquet: 128144,
|
86
|
+
bowling: 127923,
|
87
|
+
boy: 128102,
|
88
|
+
bread: 127838,
|
89
|
+
bride_with_veil: 128112,
|
90
|
+
bridge_at_night: 127753,
|
91
|
+
briefcase: 128188,
|
92
|
+
broken_heart: 128148,
|
93
|
+
bug: 128027,
|
94
|
+
bus: 128652,
|
95
|
+
bus_stop: 128655,
|
96
|
+
bust_in_silhouette: 128100,
|
97
|
+
cactus: 127797,
|
98
|
+
calendar: 128197,
|
99
|
+
camera: 128247,
|
100
|
+
cancer: 9803,
|
101
|
+
candy: 127852,
|
102
|
+
capricorn: 9809,
|
103
|
+
card_index: 128199,
|
104
|
+
carousel_horse: 127904,
|
105
|
+
carp_streamer: 127887,
|
106
|
+
cat_face: 128049,
|
107
|
+
cat_face_with_tears_of_joy: 128569,
|
108
|
+
cat_face_with_wry_smile: 128572,
|
109
|
+
chart_with_downwards_trend: 128201,
|
110
|
+
chart_with_upwards_trend: 128200,
|
111
|
+
chart_with_upwards_trend_and_yen_sign: 128185,
|
112
|
+
cheering_megaphone: 128227,
|
113
|
+
chequered_flag: 127937,
|
114
|
+
cherries: 127826,
|
115
|
+
cherry_blossom: 127800,
|
116
|
+
chestnut: 127792,
|
117
|
+
chicken: 128020,
|
118
|
+
chocolate_bar: 127851,
|
119
|
+
christmas_tree: 127876,
|
120
|
+
church: 9962,
|
121
|
+
cinema: 127910,
|
122
|
+
circled_ideograph_accept: 127569,
|
123
|
+
circled_ideograph_advantage: 127568,
|
124
|
+
circled_ideograph_congratulation: 12951,
|
125
|
+
circled_ideograph_secret: 12953,
|
126
|
+
circled_latin_capital_letter_m: 9410,
|
127
|
+
circus_tent: 127914,
|
128
|
+
cityscape_at_dusk: 127750,
|
129
|
+
clapper_board: 127916,
|
130
|
+
clapping_hands_sign: 128079,
|
131
|
+
clinking_beer_mugs: 127867,
|
132
|
+
clipboard: 128203,
|
133
|
+
clock_face_eight_oclock: 128343,
|
134
|
+
clock_face_eleven_oclock: 128346,
|
135
|
+
clock_face_five_oclock: 128340,
|
136
|
+
clock_face_four_oclock: 128339,
|
137
|
+
clock_face_nine_oclock: 128344,
|
138
|
+
clock_face_one_oclock: 128336,
|
139
|
+
clock_face_seven_oclock: 128342,
|
140
|
+
clock_face_six_oclock: 128341,
|
141
|
+
clock_face_ten_oclock: 128345,
|
142
|
+
clock_face_three_oclock: 128338,
|
143
|
+
clock_face_twelve_oclock: 128347,
|
144
|
+
clock_face_two_oclock: 128337,
|
145
|
+
clockwise_downwards_and_upwards_open_circle_arrows: 128259,
|
146
|
+
closed_book: 128213,
|
147
|
+
closed_lock_with_key: 128272,
|
148
|
+
closed_mailbox_with_lowered_flag: 128234,
|
149
|
+
closed_mailbox_with_raised_flag: 128235,
|
150
|
+
closed_umbrella: 127746,
|
151
|
+
cloud: 9729,
|
152
|
+
cocktail_glass: 127864,
|
153
|
+
collision_symbol: 128165,
|
154
|
+
confetti_ball: 127882,
|
155
|
+
confounded_face: 128534,
|
156
|
+
construction_sign: 128679,
|
157
|
+
construction_worker: 128119,
|
158
|
+
convenience_store: 127978,
|
159
|
+
cooked_rice: 127834,
|
160
|
+
cookie: 127850,
|
161
|
+
cooking: 127859,
|
162
|
+
copyright_sign: 169,
|
163
|
+
couple_with_heart: 128145,
|
164
|
+
cow_face: 128046,
|
165
|
+
credit_card: 128179,
|
166
|
+
crescent_moon: 127769,
|
167
|
+
cross_mark: 10060,
|
168
|
+
crossed_flags: 127884,
|
169
|
+
crown: 128081,
|
170
|
+
crying_cat_face: 128575,
|
171
|
+
crying_face: 128546,
|
172
|
+
crystal_ball: 128302,
|
173
|
+
curly_loop: 10160,
|
174
|
+
currency_exchange: 128177,
|
175
|
+
curry_and_rice: 127835,
|
176
|
+
custard: 127854,
|
177
|
+
cyclone: 127744,
|
178
|
+
dancer: 128131,
|
179
|
+
dango: 127841,
|
180
|
+
dash_symbol: 128168,
|
181
|
+
delivery_truck: 128666,
|
182
|
+
department_store: 127980,
|
183
|
+
diamond_shape_with_a_dot_inside: 128160,
|
184
|
+
direct_hit: 127919,
|
185
|
+
disappointed_but_relieved_face: 128549,
|
186
|
+
disappointed_face: 128542,
|
187
|
+
dizzy_face: 128565,
|
188
|
+
dizzy_symbol: 128171,
|
189
|
+
dog_face: 128054,
|
190
|
+
dolphin: 128044,
|
191
|
+
door: 128682,
|
192
|
+
double_curly_loop: 10175,
|
193
|
+
double_exclamation_mark: 8252,
|
194
|
+
doughnut: 127849,
|
195
|
+
down_pointing_red_triangle: 128315,
|
196
|
+
down_pointing_small_red_triangle: 128317,
|
197
|
+
downwards_black_arrow: 11015,
|
198
|
+
dragon_face: 128050,
|
199
|
+
dress: 128087,
|
200
|
+
droplet: 128167,
|
201
|
+
dvd: 128192,
|
202
|
+
e_mail_symbol: 128231,
|
203
|
+
ear: 128066,
|
204
|
+
ear_of_maize: 127805,
|
205
|
+
ear_of_rice: 127806,
|
206
|
+
earth_globe_asia_australia: 127759,
|
207
|
+
eight_pointed_black_star: 10036,
|
208
|
+
eight_spoked_asterisk: 10035,
|
209
|
+
electric_light_bulb: 128161,
|
210
|
+
electric_plug: 128268,
|
211
|
+
electric_torch: 128294,
|
212
|
+
elephant: 128024,
|
213
|
+
em_space: 8195,
|
214
|
+
en_space: 8194,
|
215
|
+
end_with_leftwards_arrow_above: 128282,
|
216
|
+
envelope: 9993,
|
217
|
+
envelope_with_downwards_arrow_above: 128233,
|
218
|
+
european_castle: 127984,
|
219
|
+
exclamation_question_mark: 8265,
|
220
|
+
extraterrestrial_alien: 128125,
|
221
|
+
eyeglasses: 128083,
|
222
|
+
eyes: 128064,
|
223
|
+
face_massage: 128134,
|
224
|
+
face_savouring_delicious_food: 128523,
|
225
|
+
face_screaming_in_fear: 128561,
|
226
|
+
face_throwing_a_kiss: 128536,
|
227
|
+
face_with_cold_sweat: 128531,
|
228
|
+
face_with_look_of_triumph: 128548,
|
229
|
+
face_with_medical_mask: 128567,
|
230
|
+
face_with_no_good_gesture: 128581,
|
231
|
+
face_with_ok_gesture: 128582,
|
232
|
+
face_with_open_mouth_and_cold_sweat: 128560,
|
233
|
+
face_with_stuck_out_tongue_and_tightly_closed_eyes: 128541,
|
234
|
+
face_with_stuck_out_tongue_and_winking_eye: 128540,
|
235
|
+
face_with_tears_of_joy: 128514,
|
236
|
+
factory: 127981,
|
237
|
+
fallen_leaf: 127810,
|
238
|
+
family: 128106,
|
239
|
+
father_christmas: 127877,
|
240
|
+
fax_machine: 128224,
|
241
|
+
fearful_face: 128552,
|
242
|
+
ferris_wheel: 127905,
|
243
|
+
file_folder: 128193,
|
244
|
+
fire: 128293,
|
245
|
+
fire_engine: 128658,
|
246
|
+
firework_sparkler: 127879,
|
247
|
+
fireworks: 127878,
|
248
|
+
first_quarter_moon_symbol: 127763,
|
249
|
+
first_quarter_moon_with_face: 127771,
|
250
|
+
fish: 128031,
|
251
|
+
fish_cake_with_swirl_design: 127845,
|
252
|
+
fishing_pole_and_fish: 127907,
|
253
|
+
fisted_hand_sign: 128074,
|
254
|
+
flag_in_hole: 9971,
|
255
|
+
flexed_biceps: 128170,
|
256
|
+
floppy_disk: 128190,
|
257
|
+
flower_playing_cards: 127924,
|
258
|
+
flushed_face: 128563,
|
259
|
+
foggy: 127745,
|
260
|
+
footprints: 128099,
|
261
|
+
fork_and_knife: 127860,
|
262
|
+
fountain: 9970,
|
263
|
+
four_leaf_clover: 127808,
|
264
|
+
four_per_em_space: 8197,
|
265
|
+
french_fries: 127839,
|
266
|
+
fried_shrimp: 127844,
|
267
|
+
frog_face: 128056,
|
268
|
+
front_facing_baby_chick: 128037,
|
269
|
+
fuel_pump: 9981,
|
270
|
+
full_moon_symbol: 127765,
|
271
|
+
game_die: 127922,
|
272
|
+
gem_stone: 128142,
|
273
|
+
gemini: 9802,
|
274
|
+
ghost: 128123,
|
275
|
+
girl: 128103,
|
276
|
+
glowing_star: 127775,
|
277
|
+
graduation_cap: 127891,
|
278
|
+
grapes: 127815,
|
279
|
+
green_apple: 127823,
|
280
|
+
green_book: 128215,
|
281
|
+
green_heart: 128154,
|
282
|
+
grinning_cat_face_with_smiling_eyes: 128568,
|
283
|
+
grinning_face_with_smiling_eyes: 128513,
|
284
|
+
growing_heart: 128151,
|
285
|
+
guardsman: 128130,
|
286
|
+
guitar: 127928,
|
287
|
+
haircut: 128135,
|
288
|
+
hamburger: 127828,
|
289
|
+
hammer: 128296,
|
290
|
+
hamster_face: 128057,
|
291
|
+
handbag: 128092,
|
292
|
+
happy_person_raising_one_hand: 128587,
|
293
|
+
hash_key: 35,
|
294
|
+
hatching_chick: 128035,
|
295
|
+
headphone: 127911,
|
296
|
+
hear_no_evil_monkey: 128585,
|
297
|
+
heart_decoration: 128159,
|
298
|
+
heart_with_arrow: 128152,
|
299
|
+
heart_with_ribbon: 128157,
|
300
|
+
heavy_black_heart: 10084,
|
301
|
+
heavy_check_mark: 10004,
|
302
|
+
heavy_division_sign: 10135,
|
303
|
+
heavy_dollar_sign: 128178,
|
304
|
+
heavy_exclamation_mark_symbol: 10071,
|
305
|
+
heavy_large_circle: 11093,
|
306
|
+
heavy_minus_sign: 10134,
|
307
|
+
heavy_multiplication_x: 10006,
|
308
|
+
heavy_plus_sign: 10133,
|
309
|
+
herb: 127807,
|
310
|
+
hibiscus: 127802,
|
311
|
+
high_heeled_shoe: 128096,
|
312
|
+
high_speed_train: 128644,
|
313
|
+
high_speed_train_with_bullet_nose: 128645,
|
314
|
+
high_voltage_sign: 9889,
|
315
|
+
hocho: 128298,
|
316
|
+
honey_pot: 127855,
|
317
|
+
honeybee: 128029,
|
318
|
+
horizontal_traffic_light: 128677,
|
319
|
+
horse: 128014,
|
320
|
+
horse_face: 128052,
|
321
|
+
hospital: 127973,
|
322
|
+
hot_beverage: 9749,
|
323
|
+
hot_springs: 9832,
|
324
|
+
hotel: 127976,
|
325
|
+
hourglass: 8987,
|
326
|
+
hourglass_with_flowing_sand: 9203,
|
327
|
+
house_building: 127968,
|
328
|
+
house_with_garden: 127969,
|
329
|
+
hundred_points_symbol: 128175,
|
330
|
+
ice_cream: 127848,
|
331
|
+
imp: 128127,
|
332
|
+
inbox_tray: 128229,
|
333
|
+
incoming_envelope: 128232,
|
334
|
+
information_desk_person: 128129,
|
335
|
+
information_source: 8505,
|
336
|
+
input_symbol_for_latin_capital_letters: 128288,
|
337
|
+
input_symbol_for_latin_letters: 128292,
|
338
|
+
input_symbol_for_latin_small_letters: 128289,
|
339
|
+
input_symbol_for_numbers: 128290,
|
340
|
+
input_symbol_for_symbols: 128291,
|
341
|
+
izakaya_lantern: 127982,
|
342
|
+
jack_o_lantern: 127875,
|
343
|
+
japanese_castle: 127983,
|
344
|
+
japanese_dolls: 127886,
|
345
|
+
japanese_goblin: 128122,
|
346
|
+
japanese_ogre: 128121,
|
347
|
+
japanese_post_office: 127971,
|
348
|
+
japanese_symbol_for_beginner: 128304,
|
349
|
+
jeans: 128086,
|
350
|
+
key: 128273,
|
351
|
+
keycap_0: 48,
|
352
|
+
keycap_1: 49,
|
353
|
+
keycap_2: 50,
|
354
|
+
keycap_3: 51,
|
355
|
+
keycap_4: 52,
|
356
|
+
keycap_5: 53,
|
357
|
+
keycap_6: 54,
|
358
|
+
keycap_7: 55,
|
359
|
+
keycap_8: 56,
|
360
|
+
keycap_9: 57,
|
361
|
+
keycap_ten: 128287,
|
362
|
+
kimono: 128088,
|
363
|
+
kiss: 128143,
|
364
|
+
kiss_mark: 128139,
|
365
|
+
kissing_cat_face_with_closed_eyes: 128573,
|
366
|
+
kissing_face_with_closed_eyes: 128538,
|
367
|
+
koala: 128040,
|
368
|
+
lady_beetle: 128030,
|
369
|
+
large_blue_circle: 128309,
|
370
|
+
large_blue_diamond: 128311,
|
371
|
+
large_orange_diamond: 128310,
|
372
|
+
large_red_circle: 128308,
|
373
|
+
leaf_fluttering_in_wind: 127811,
|
374
|
+
ledger: 128210,
|
375
|
+
left_pointing_magnifying_glass: 128269,
|
376
|
+
left_right_arrow: 8596,
|
377
|
+
leftwards_arrow_with_hook: 8617,
|
378
|
+
leftwards_black_arrow: 11013,
|
379
|
+
leo: 9804,
|
380
|
+
libra: 9806,
|
381
|
+
link_symbol: 128279,
|
382
|
+
lipstick: 128132,
|
383
|
+
lock: 128274,
|
384
|
+
lock_with_ink_pen: 128271,
|
385
|
+
lollipop: 127853,
|
386
|
+
loudly_crying_face: 128557,
|
387
|
+
love_hotel: 127977,
|
388
|
+
love_letter: 128140,
|
389
|
+
mahjong_tile_red_dragon: 126980,
|
390
|
+
man: 128104,
|
391
|
+
man_and_woman_holding_hands: 128107,
|
392
|
+
man_with_gua_pi_mao: 128114,
|
393
|
+
man_with_turban: 128115,
|
394
|
+
mans_shoe: 128094,
|
395
|
+
maple_leaf: 127809,
|
396
|
+
meat_on_bone: 127830,
|
397
|
+
medium_black_circle: 9899,
|
398
|
+
medium_white_circle: 9898,
|
399
|
+
melon: 127816,
|
400
|
+
memo: 128221,
|
401
|
+
mens_symbol: 128697,
|
402
|
+
metro: 128647,
|
403
|
+
microphone: 127908,
|
404
|
+
milky_way: 127756,
|
405
|
+
minidisc: 128189,
|
406
|
+
mobile_phone: 128241,
|
407
|
+
mobile_phone_off: 128244,
|
408
|
+
mobile_phone_with_rightwards_arrow_at_left: 128242,
|
409
|
+
money_bag: 128176,
|
410
|
+
money_with_wings: 128184,
|
411
|
+
monkey: 128018,
|
412
|
+
monkey_face: 128053,
|
413
|
+
moon_viewing_ceremony: 127889,
|
414
|
+
mount_fuji: 128507,
|
415
|
+
mouse_face: 128045,
|
416
|
+
mouth: 128068,
|
417
|
+
movie_camera: 127909,
|
418
|
+
moyai: 128511,
|
419
|
+
multiple_musical_notes: 127926,
|
420
|
+
mushroom: 127812,
|
421
|
+
musical_keyboard: 127929,
|
422
|
+
musical_note: 127925,
|
423
|
+
musical_score: 127932,
|
424
|
+
nail_polish: 128133,
|
425
|
+
name_badge: 128219,
|
426
|
+
necktie: 128084,
|
427
|
+
negative_squared_ab: 127374,
|
428
|
+
negative_squared_cross_mark: 10062,
|
429
|
+
negative_squared_latin_capital_letter_a: 127344,
|
430
|
+
negative_squared_latin_capital_letter_b: 127345,
|
431
|
+
negative_squared_latin_capital_letter_o: 127358,
|
432
|
+
negative_squared_latin_capital_letter_p: 127359,
|
433
|
+
new_moon_symbol: 127761,
|
434
|
+
newspaper: 128240,
|
435
|
+
night_with_stars: 127747,
|
436
|
+
no_entry: 9940,
|
437
|
+
no_entry_sign: 128683,
|
438
|
+
no_one_under_eighteen_symbol: 128286,
|
439
|
+
no_smoking_symbol: 128685,
|
440
|
+
north_east_arrow: 8599,
|
441
|
+
north_west_arrow: 8598,
|
442
|
+
nose: 128067,
|
443
|
+
notebook: 128211,
|
444
|
+
notebook_with_decorative_cover: 128212,
|
445
|
+
nut_and_bolt: 128297,
|
446
|
+
octopus: 128025,
|
447
|
+
oden: 127842,
|
448
|
+
office_building: 127970,
|
449
|
+
ok_hand_sign: 128076,
|
450
|
+
older_man: 128116,
|
451
|
+
older_woman: 128117,
|
452
|
+
on_with_exclamation_mark_with_left_right_arrow_above: 128283,
|
453
|
+
open_book: 128214,
|
454
|
+
open_file_folder: 128194,
|
455
|
+
open_hands_sign: 128080,
|
456
|
+
open_lock: 128275,
|
457
|
+
ophiuchus: 9934,
|
458
|
+
optical_disc: 128191,
|
459
|
+
orange_book: 128217,
|
460
|
+
outbox_tray: 128228,
|
461
|
+
package: 128230,
|
462
|
+
page_facing_up: 128196,
|
463
|
+
page_with_curl: 128195,
|
464
|
+
pager: 128223,
|
465
|
+
palm_tree: 127796,
|
466
|
+
panda_face: 128060,
|
467
|
+
paperclip: 128206,
|
468
|
+
part_alternation_mark: 12349,
|
469
|
+
party_popper: 127881,
|
470
|
+
paw_prints: 128062,
|
471
|
+
peach: 127825,
|
472
|
+
pedestrian: 128694,
|
473
|
+
pencil: 9999,
|
474
|
+
penguin: 128039,
|
475
|
+
pensive_face: 128532,
|
476
|
+
performing_arts: 127917,
|
477
|
+
persevering_face: 128547,
|
478
|
+
person_bowing_deeply: 128583,
|
479
|
+
person_frowning: 128589,
|
480
|
+
person_raising_both_hands_in_celebration: 128588,
|
481
|
+
person_with_blond_hair: 128113,
|
482
|
+
person_with_folded_hands: 128591,
|
483
|
+
person_with_pouting_face: 128590,
|
484
|
+
personal_computer: 128187,
|
485
|
+
pig_face: 128055,
|
486
|
+
pig_nose: 128061,
|
487
|
+
pile_of_poo: 128169,
|
488
|
+
pill: 128138,
|
489
|
+
pine_decoration: 127885,
|
490
|
+
pineapple: 127821,
|
491
|
+
pisces: 9811,
|
492
|
+
pistol: 128299,
|
493
|
+
playing_card_black_joker: 127183,
|
494
|
+
police_car: 128659,
|
495
|
+
police_cars_revolving_light: 128680,
|
496
|
+
police_officer: 128110,
|
497
|
+
poodle: 128041,
|
498
|
+
postbox: 128238,
|
499
|
+
pot_of_food: 127858,
|
500
|
+
pouch: 128093,
|
501
|
+
poultry_leg: 127831,
|
502
|
+
pouting_cat_face: 128574,
|
503
|
+
pouting_face: 128545,
|
504
|
+
princess: 128120,
|
505
|
+
public_address_loudspeaker: 128226,
|
506
|
+
purple_heart: 128156,
|
507
|
+
purse: 128091,
|
508
|
+
pushpin: 128204,
|
509
|
+
rabbit_face: 128048,
|
510
|
+
radio: 128251,
|
511
|
+
radio_button: 128280,
|
512
|
+
railway_car: 128643,
|
513
|
+
rainbow: 127752,
|
514
|
+
raised_fist: 9994,
|
515
|
+
raised_hand: 9995,
|
516
|
+
recreational_vehicle: 128665,
|
517
|
+
red_apple: 127822,
|
518
|
+
regional_indicator_symbol_letters_cn: 127464,
|
519
|
+
regional_indicator_symbol_letters_de: 127465,
|
520
|
+
regional_indicator_symbol_letters_es: 127466,
|
521
|
+
regional_indicator_symbol_letters_fr: 127467,
|
522
|
+
regional_indicator_symbol_letters_gb: 127468,
|
523
|
+
regional_indicator_symbol_letters_it: 127470,
|
524
|
+
regional_indicator_symbol_letters_jp: 127471,
|
525
|
+
regional_indicator_symbol_letters_kr: 127472,
|
526
|
+
regional_indicator_symbol_letters_ru: 127479,
|
527
|
+
regional_indicator_symbol_letters_us: 127482,
|
528
|
+
registered_sign: 174,
|
529
|
+
relieved_face: 128524,
|
530
|
+
restroom: 128699,
|
531
|
+
revolving_hearts: 128158,
|
532
|
+
ribbon: 127872,
|
533
|
+
rice_ball: 127833,
|
534
|
+
rice_cracker: 127832,
|
535
|
+
right_pointing_magnifying_glass: 128270,
|
536
|
+
rightwards_arrow_with_hook: 8618,
|
537
|
+
ring: 128141,
|
538
|
+
roasted_sweet_potato: 127840,
|
539
|
+
rocket: 128640,
|
540
|
+
roller_coaster: 127906,
|
541
|
+
rose: 127801,
|
542
|
+
round_pushpin: 128205,
|
543
|
+
runner: 127939,
|
544
|
+
running_shirt_with_sash: 127933,
|
545
|
+
sagittarius: 9808,
|
546
|
+
sailboat: 9973,
|
547
|
+
sake_bottle_and_cup: 127862,
|
548
|
+
satellite_antenna: 128225,
|
549
|
+
saxophone: 127927,
|
550
|
+
school: 127979,
|
551
|
+
school_satchel: 127890,
|
552
|
+
scorpius: 9807,
|
553
|
+
scroll: 128220,
|
554
|
+
seat: 128186,
|
555
|
+
see_no_evil_monkey: 128584,
|
556
|
+
seedling: 127793,
|
557
|
+
shaved_ice: 127847,
|
558
|
+
sheep: 128017,
|
559
|
+
ship: 128674,
|
560
|
+
shooting_star: 127776,
|
561
|
+
shortcake: 127856,
|
562
|
+
silhouette_of_japan: 128510,
|
563
|
+
six_pointed_star_with_middle_dot: 128303,
|
564
|
+
ski_and_ski_boot: 127935,
|
565
|
+
skull: 128128,
|
566
|
+
sleeping_symbol: 128164,
|
567
|
+
sleepy_face: 128554,
|
568
|
+
slice_of_pizza: 127829,
|
569
|
+
slot_machine: 127920,
|
570
|
+
small_blue_diamond: 128313,
|
571
|
+
small_orange_diamond: 128312,
|
572
|
+
smiling_cat_face_with_heart_shaped_eyes: 128571,
|
573
|
+
smiling_cat_face_with_open_mouth: 128570,
|
574
|
+
smiling_face_with_heart_shaped_eyes: 128525,
|
575
|
+
smiling_face_with_open_mouth: 128515,
|
576
|
+
smiling_face_with_open_mouth_and_cold_sweat: 128517,
|
577
|
+
smiling_face_with_open_mouth_and_smiling_eyes: 128516,
|
578
|
+
smiling_face_with_open_mouth_and_tightly_closed_eyes: 128518,
|
579
|
+
smiling_face_with_smiling_eyes: 128522,
|
580
|
+
smirking_face: 128527,
|
581
|
+
smoking_symbol: 128684,
|
582
|
+
snail: 128012,
|
583
|
+
snake: 128013,
|
584
|
+
snowboarder: 127938,
|
585
|
+
snowflake: 10052,
|
586
|
+
snowman_without_snow: 9924,
|
587
|
+
soccer_ball: 9917,
|
588
|
+
soft_ice_cream: 127846,
|
589
|
+
soon_with_rightwards_arrow_above: 128284,
|
590
|
+
south_east_arrow: 8600,
|
591
|
+
south_west_arrow: 8601,
|
592
|
+
spaghetti: 127837,
|
593
|
+
sparkle: 10055,
|
594
|
+
sparkles: 10024,
|
595
|
+
sparkling_heart: 128150,
|
596
|
+
speak_no_evil_monkey: 128586,
|
597
|
+
speaker_with_three_sound_waves: 128266,
|
598
|
+
speech_balloon: 128172,
|
599
|
+
speedboat: 128676,
|
600
|
+
spiral_shell: 128026,
|
601
|
+
splashing_sweat_symbol: 128166,
|
602
|
+
spouting_whale: 128051,
|
603
|
+
squared_cjk_unified_ideograph_5272: 127545,
|
604
|
+
squared_cjk_unified_ideograph_5408: 127540,
|
605
|
+
squared_cjk_unified_ideograph_55b6: 127546,
|
606
|
+
squared_cjk_unified_ideograph_6307: 127535,
|
607
|
+
squared_cjk_unified_ideograph_6708: 127543,
|
608
|
+
squared_cjk_unified_ideograph_6709: 127542,
|
609
|
+
squared_cjk_unified_ideograph_6e80: 127541,
|
610
|
+
squared_cjk_unified_ideograph_7121: 127514,
|
611
|
+
squared_cjk_unified_ideograph_7533: 127544,
|
612
|
+
squared_cjk_unified_ideograph_7981: 127538,
|
613
|
+
squared_cjk_unified_ideograph_7a7a: 127539,
|
614
|
+
squared_cl: 127377,
|
615
|
+
squared_cool: 127378,
|
616
|
+
squared_free: 127379,
|
617
|
+
squared_id: 127380,
|
618
|
+
squared_katakana_koko: 127489,
|
619
|
+
squared_katakana_sa: 127490,
|
620
|
+
squared_new: 127381,
|
621
|
+
squared_ng: 127382,
|
622
|
+
squared_ok: 127383,
|
623
|
+
squared_sos: 127384,
|
624
|
+
squared_up_with_exclamation_mark: 127385,
|
625
|
+
squared_vs: 127386,
|
626
|
+
station: 128649,
|
627
|
+
statue_of_liberty: 128509,
|
628
|
+
steaming_bowl: 127836,
|
629
|
+
straight_ruler: 128207,
|
630
|
+
strawberry: 127827,
|
631
|
+
sun_behind_cloud: 9925,
|
632
|
+
sunflower: 127803,
|
633
|
+
sunrise: 127749,
|
634
|
+
sunrise_over_mountains: 127748,
|
635
|
+
sunset_over_buildings: 127751,
|
636
|
+
surfer: 127940,
|
637
|
+
sushi: 127843,
|
638
|
+
swimmer: 127946,
|
639
|
+
syringe: 128137,
|
640
|
+
t_shirt: 128085,
|
641
|
+
tanabata_tree: 127883,
|
642
|
+
tangerine: 127818,
|
643
|
+
taurus: 9801,
|
644
|
+
taxi: 128661,
|
645
|
+
teacup_without_handle: 127861,
|
646
|
+
tear_off_calendar: 128198,
|
647
|
+
telephone_receiver: 128222,
|
648
|
+
television: 128250,
|
649
|
+
tennis_racquet_and_ball: 127934,
|
650
|
+
tent: 9978,
|
651
|
+
thumbs_down_sign: 128078,
|
652
|
+
thumbs_up_sign: 128077,
|
653
|
+
ticket: 127915,
|
654
|
+
tiger_face: 128047,
|
655
|
+
tired_face: 128555,
|
656
|
+
toilet: 128701,
|
657
|
+
tokyo_tower: 128508,
|
658
|
+
tomato: 127813,
|
659
|
+
tongue: 128069,
|
660
|
+
top_hat: 127913,
|
661
|
+
top_with_upwards_arrow_above: 128285,
|
662
|
+
trade_mark_sign: 8482,
|
663
|
+
triangular_flag_on_post: 128681,
|
664
|
+
triangular_ruler: 128208,
|
665
|
+
trident_emblem: 128305,
|
666
|
+
trophy: 127942,
|
667
|
+
tropical_drink: 127865,
|
668
|
+
tropical_fish: 128032,
|
669
|
+
trumpet: 127930,
|
670
|
+
tulip: 127799,
|
671
|
+
turtle: 128034,
|
672
|
+
two_hearts: 128149,
|
673
|
+
umbrella_with_rain_drops: 9748,
|
674
|
+
unamused_face: 128530,
|
675
|
+
up_down_arrow: 8597,
|
676
|
+
up_pointing_red_triangle: 128314,
|
677
|
+
up_pointing_small_red_triangle: 128316,
|
678
|
+
upwards_black_arrow: 11014,
|
679
|
+
vibration_mode: 128243,
|
680
|
+
victory_hand: 9996,
|
681
|
+
video_camera: 128249,
|
682
|
+
video_game: 127918,
|
683
|
+
videocassette: 128252,
|
684
|
+
violin: 127931,
|
685
|
+
virgo: 9805,
|
686
|
+
volcano: 127755,
|
687
|
+
warning_sign: 9888,
|
688
|
+
watch: 8986,
|
689
|
+
water_closet: 128702,
|
690
|
+
water_wave: 127754,
|
691
|
+
watermelon: 127817,
|
692
|
+
waving_hand_sign: 128075,
|
693
|
+
wavy_dash: 12336,
|
694
|
+
waxing_gibbous_moon_symbol: 127764,
|
695
|
+
weary_cat_face: 128576,
|
696
|
+
weary_face: 128553,
|
697
|
+
wedding: 128146,
|
698
|
+
wheelchair_symbol: 9855,
|
699
|
+
white_down_pointing_backhand_index: 128071,
|
700
|
+
white_exclamation_mark_ornament: 10069,
|
701
|
+
white_flower: 128174,
|
702
|
+
white_heavy_check_mark: 9989,
|
703
|
+
white_large_square: 11036,
|
704
|
+
white_left_pointing_backhand_index: 128072,
|
705
|
+
white_medium_small_square: 9725,
|
706
|
+
white_medium_square: 9723,
|
707
|
+
white_medium_star: 11088,
|
708
|
+
white_question_mark_ornament: 10068,
|
709
|
+
white_right_pointing_backhand_index: 128073,
|
710
|
+
white_small_square: 9643,
|
711
|
+
white_smiling_face: 9786,
|
712
|
+
white_square_button: 128307,
|
713
|
+
white_up_pointing_backhand_index: 128070,
|
714
|
+
white_up_pointing_index: 9757,
|
715
|
+
wind_chime: 127888,
|
716
|
+
wine_glass: 127863,
|
717
|
+
winking_face: 128521,
|
718
|
+
wolf_face: 128058,
|
719
|
+
woman: 128105,
|
720
|
+
woman_with_bunny_ears: 128111,
|
721
|
+
womans_boots: 128098,
|
722
|
+
womans_clothes: 128090,
|
723
|
+
womans_hat: 128082,
|
724
|
+
womans_sandal: 128097,
|
725
|
+
womens_symbol: 128698,
|
726
|
+
wrapped_present: 127873,
|
727
|
+
wrench: 128295,
|
728
|
+
yellow_heart: 128155
|
729
|
+
}
|
730
|
+
|
731
|
+
@emoji.each { |k, v| @emoji[k] = [v].pack('U') << ' ' }
|
732
|
+
end
|
733
|
+
|
734
|
+
|
735
|
+
def list
|
736
|
+
@emoji.each { |k, v| puts ":#{k} => #{v[0]}" }
|
737
|
+
nil
|
738
|
+
end
|
739
|
+
|
740
|
+
def [] emoji
|
741
|
+
@emoji[emoji]
|
742
|
+
end
|
743
|
+
end
|
metadata
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: emojis
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Shannon Skipper
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-01-16 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: A Ruby gem for Emoji!
|
15
|
+
email:
|
16
|
+
- shannonskipper@gmail.com
|
17
|
+
executables: []
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- .gitignore
|
22
|
+
- Gemfile
|
23
|
+
- LICENSE.txt
|
24
|
+
- README.md
|
25
|
+
- Rakefile
|
26
|
+
- emojis.gemspec
|
27
|
+
- lib/emojis.rb
|
28
|
+
- lib/emojis/version.rb
|
29
|
+
homepage: https://github.com/Havenwood/emojis
|
30
|
+
licenses: []
|
31
|
+
post_install_message:
|
32
|
+
rdoc_options: []
|
33
|
+
require_paths:
|
34
|
+
- lib
|
35
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
36
|
+
none: false
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
requirements: []
|
48
|
+
rubyforge_project:
|
49
|
+
rubygems_version: 1.8.24
|
50
|
+
signing_key:
|
51
|
+
specification_version: 3
|
52
|
+
summary: Over 700 Emoji symbols ready for Ruby. Follows Apple and Google's UTC Subcommittee
|
53
|
+
proposal for Unicode Symbols for Emoji.
|
54
|
+
test_files: []
|
55
|
+
has_rdoc:
|