Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rumoji
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
rumoji
Commits
f7d39d98
Commit
f7d39d98
authored
Jan 29, 2013
by
Mark Wunsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add descriptions for emoticons
I love these descriptions
parent
18889217
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
78 additions
and
77 deletions
+78
-77
lib/rumoji/emoji.rb
+78
-77
No files found.
lib/rumoji/emoji.rb
View file @
f7d39d98
...
@@ -6,10 +6,10 @@ module Rumoji
...
@@ -6,10 +6,10 @@ module Rumoji
attr_reader
:name
attr_reader
:name
def
initialize
(
string
,
symbols
,
name
)
def
initialize
(
string
,
symbols
,
name
=
nil
)
@codepoints
=
string
.
codepoints
@codepoints
=
string
.
codepoints
@cheat_codes
=
[
symbols
].
flatten
@cheat_codes
=
[
symbols
].
flatten
@name
=
name
@name
=
name
||
@cheat_codes
.
first
.
to_s
.
upcase
.
gsub
(
"_"
,
" "
)
end
end
def
code
def
code
...
@@ -34,63 +34,63 @@ module Rumoji
...
@@ -34,63 +34,63 @@ module Rumoji
PEOPLE
=
Set
[
PEOPLE
=
Set
[
self
.
new
(
"
\u
{1F604}"
,
[
:smile
],
"SMILING FACE WITH OPEN MOUTH AND SMILING EYES"
),
self
.
new
(
"
\u
{1F604}"
,
[
:smile
],
"SMILING FACE WITH OPEN MOUTH AND SMILING EYES"
),
self
.
new
(
"
\u
{1F606}"
,
[
:laughing
],
""
),
self
.
new
(
"
\u
{1F606}"
,
[
:laughing
],
"
SMILING FACE WITH OPEN MOUTH AND TIGHTLY-CLOSED EYES
"
),
self
.
new
(
"
\u
{1F60A}"
,
[
:blush
],
""
),
self
.
new
(
"
\u
{1F60A}"
,
[
:blush
],
"
SMILING FACE WITH SMILING EYES
"
),
self
.
new
(
"
\u
{1F603}"
,
[
:smiley
],
""
),
self
.
new
(
"
\u
{1F603}"
,
[
:smiley
],
"
SMILING FACE WITH OPEN MOUTH
"
),
self
.
new
(
"
\u
{263A}"
,
[
:relaxed
],
""
),
self
.
new
(
"
\u
{263A}"
,
[
:relaxed
],
"
WHITE SMILING FACE
"
),
self
.
new
(
"
\u
{1F60F}"
,
[
:smirk
],
""
),
self
.
new
(
"
\u
{1F60F}"
,
[
:smirk
],
"
SMIRKING FACE
"
),
self
.
new
(
"
\u
{1F60D}"
,
[
:heart_eyes
],
""
),
self
.
new
(
"
\u
{1F60D}"
,
[
:heart_eyes
],
"
SMILING FACE WITH HEART-SHAPED EYES
"
),
self
.
new
(
"
\u
{1F618}"
,
[
:kissing_heart
],
""
),
self
.
new
(
"
\u
{1F618}"
,
[
:kissing_heart
],
"
FACE THROWING KISS
"
),
self
.
new
(
"
\u
{1F61A}"
,
[
:kissing_closed_eyes
],
""
),
self
.
new
(
"
\u
{1F61A}"
,
[
:kissing_closed_eyes
],
"
KISSING FACE WITH CLOSED EYES
"
),
self
.
new
(
"
\u
{1F633}"
,
[
:flushed
],
""
),
self
.
new
(
"
\u
{1F633}"
,
[
:flushed
],
"
FLUSHED FACE
"
),
self
.
new
(
"
\u
{1F625}"
,
[
:relieved
],
""
),
self
.
new
(
"
\u
{1F625}"
,
[
:relieved
],
"
DISAPPOINTED BUT RELIEVED FACE
"
),
self
.
new
(
"
\u
{1F60C}"
,
[
:satisfied
],
""
),
self
.
new
(
"
\u
{1F60C}"
,
[
:satisfied
],
"
RELIEVED FACE
"
),
self
.
new
(
"
\u
{1F601}"
,
[
:grin
],
""
),
self
.
new
(
"
\u
{1F601}"
,
[
:grin
],
"
GRINNING FACE WITH SMILING EYES
"
),
self
.
new
(
"
\u
{1F609}"
,
[
:wink
],
""
),
self
.
new
(
"
\u
{1F609}"
,
[
:wink
],
"
WINKING FACE
"
),
self
.
new
(
"
\u
{1F61C}"
,
[
:wink2
,
:stuck_out_tongue_winking_eye
],
"
"
),
self
.
new
(
"
\u
{1F61C}"
,
[
:wink2
,
:stuck_out_tongue_winking_eye
],
"
FACE WITH STUCK OUT TONGUE AND WINKING EYE"
),
# "kidding, not serious"
self
.
new
(
"
\u
{1F61D}"
,
[
:stuck_out_tongue_closed_eyes
],
"
"
),
self
.
new
(
"
\u
{1F61D}"
,
[
:stuck_out_tongue_closed_eyes
],
"
FACE WITH STUCK-OUT TONGUE AND TIGHTLY-CLOSED EYES"
),
# "kidding, not serious"
self
.
new
(
"
\u
{1F600}"
,
[
:grinning
],
""
),
self
.
new
(
"
\u
{1F600}"
,
[
:grinning
],
"
GRINNING FACE
"
),
self
.
new
(
"
\u
{1F617}"
,
[
:kissing
],
""
),
self
.
new
(
"
\u
{1F617}"
,
[
:kissing
],
"
KISSING FACE
"
),
self
.
new
(
"
\u
{1F619}"
,
[
:kissing_smiling_eyes
],
""
),
self
.
new
(
"
\u
{1F619}"
,
[
:kissing_smiling_eyes
],
"
KISSING FACE WITH SMILING EYES
"
),
self
.
new
(
"
\u
{1F61B}"
,
[
:stuck_out_tongue
],
""
),
self
.
new
(
"
\u
{1F61B}"
,
[
:stuck_out_tongue
],
"
FACE WITH STUCK-OUT TONGUE
"
),
self
.
new
(
"
\u
{1F634}"
,
[
:sleeping
],
""
),
self
.
new
(
"
\u
{1F634}"
,
[
:sleeping
],
"
SLEEPING FACE
"
),
self
.
new
(
"
\u
{1F61F}"
,
[
:worried
],
""
),
self
.
new
(
"
\u
{1F61F}"
,
[
:worried
],
"
WORRIED FACE
"
),
self
.
new
(
"
\u
{1F626}"
,
[
:frowning
],
""
),
self
.
new
(
"
\u
{1F626}"
,
[
:frowning
],
"
FROWNING FACE WITH OPEN MOUTH
"
),
self
.
new
(
"
\u
{1F627}"
,
[
:anguished
],
""
),
self
.
new
(
"
\u
{1F627}"
,
[
:anguished
],
"
ANGUISHED FACE
"
),
self
.
new
(
"
\u
{1F62E}"
,
[
:open_mouth
],
""
),
self
.
new
(
"
\u
{1F62E}"
,
[
:open_mouth
],
"
FACE WITH OPEN MOUTH
"
),
self
.
new
(
"
\u
{1F62C}"
,
[
:grimacing
],
""
),
self
.
new
(
"
\u
{1F62C}"
,
[
:grimacing
],
"
GRIMACING FACE
"
),
self
.
new
(
"
\u
{1F615}"
,
[
:confused
],
""
),
self
.
new
(
"
\u
{1F615}"
,
[
:confused
],
"
CONFUSED FACE
"
),
self
.
new
(
"
\u
{1F62F}"
,
[
:hushed
],
""
),
self
.
new
(
"
\u
{1F62F}"
,
[
:hushed
],
"
HUSHED FACE
"
),
self
.
new
(
"
\u
{1F611}"
,
[
:expressionless
],
""
),
self
.
new
(
"
\u
{1F611}"
,
[
:expressionless
],
"
EXPRESSIONLESS FACE
"
),
self
.
new
(
"
\u
{1F612}"
,
[
:unamused
],
""
),
self
.
new
(
"
\u
{1F612}"
,
[
:unamused
],
"
UNAMUSED FACE
"
),
self
.
new
(
"
\u
{1F605}"
,
[
:sweat_smile
],
""
),
self
.
new
(
"
\u
{1F605}"
,
[
:sweat_smile
],
"
SMILING FACE WITH OPEN MOUTH AND COLD SWEAT
"
),
self
.
new
(
"
\u
{1F613}"
,
[
:sweat
],
""
),
self
.
new
(
"
\u
{1F613}"
,
[
:sweat
],
"
FACE WITH COLD SWEAT
"
),
self
.
new
(
"
\u
{1F629}"
,
[
:weary
],
""
),
self
.
new
(
"
\u
{1F629}"
,
[
:weary
],
"
WEARY FACE
"
),
self
.
new
(
"
\u
{1F614}"
,
[
:pensive
],
""
),
self
.
new
(
"
\u
{1F614}"
,
[
:pensive
],
"
PENSIVE FACE
"
),
self
.
new
(
"
\u
{1F61E}"
,
[
:dissapointed
],
""
),
self
.
new
(
"
\u
{1F61E}"
,
[
:dissapointed
],
"
DISAPPOINTED FACE
"
),
self
.
new
(
"
\u
{1F616}"
,
[
:confounded
],
""
),
self
.
new
(
"
\u
{1F616}"
,
[
:confounded
],
"
CONFOUNDED FACE
"
),
self
.
new
(
"
\u
{1F628}"
,
[
:fearful
],
""
),
self
.
new
(
"
\u
{1F628}"
,
[
:fearful
],
"
FEARFUL FACE
"
),
self
.
new
(
"
\u
{1F630}"
,
[
:cold_sweat
],
""
),
self
.
new
(
"
\u
{1F630}"
,
[
:cold_sweat
],
"
FACE WITH OPEN MOUTH AND COLD SWEAT
"
),
self
.
new
(
"
\u
{1F623}"
,
[
:persevere
],
""
),
self
.
new
(
"
\u
{1F623}"
,
[
:persevere
],
"
PERSEVERING FACE
"
),
self
.
new
(
"
\u
{1F622}"
,
[
:cry
],
""
),
self
.
new
(
"
\u
{1F622}"
,
[
:cry
],
"
CRYING FACE
"
),
self
.
new
(
"
\u
{1F62D}"
,
[
:sob
],
""
),
self
.
new
(
"
\u
{1F62D}"
,
[
:sob
],
"
LOUDLY CRYING FACE
"
),
self
.
new
(
"
\u
{1F602}"
,
[
:joy
],
""
),
self
.
new
(
"
\u
{1F602}"
,
[
:joy
],
"
FACE WITH TEARS OF JOY
"
),
self
.
new
(
"
\u
{1F632}"
,
[
:astonished
],
""
),
self
.
new
(
"
\u
{1F632}"
,
[
:astonished
],
"
ASTONISHED FACE
"
),
self
.
new
(
"
\u
{1F631}"
,
[
:scream
],
""
),
self
.
new
(
"
\u
{1F631}"
,
[
:scream
],
"
FACE SCREAMING IN FEAR
"
),
self
.
new
(
"
\u
{1F62B}"
,
[
:tired_face
],
""
),
self
.
new
(
"
\u
{1F62B}"
,
[
:tired_face
],
"
TIRED FACE
"
),
self
.
new
(
"
\u
{1F620}"
,
[
:angry
],
""
),
self
.
new
(
"
\u
{1F620}"
,
[
:angry
],
"
ANGRY FACE
"
),
self
.
new
(
"
\u
{1F621}"
,
[
:rage
],
""
),
self
.
new
(
"
\u
{1F621}"
,
[
:rage
],
"
POUTING FACE
"
),
self
.
new
(
"
\u
{1F624}"
,
[
:triumph
],
""
),
self
.
new
(
"
\u
{1F624}"
,
[
:triumph
],
"
FACE WITH LOOK OF TRIUMPH
"
),
self
.
new
(
"
\u
{1F62A}"
,
[
:sleepy
],
""
),
self
.
new
(
"
\u
{1F62A}"
,
[
:sleepy
],
"
SLEEPY FACE
"
),
self
.
new
(
"
\u
{1F60B}"
,
[
:yum
],
""
),
self
.
new
(
"
\u
{1F60B}"
,
[
:yum
],
"
FACE SAVOURING DELICIOUS FOOD
"
),
self
.
new
(
"
\u
{1F637}"
,
[
:mask
],
""
),
self
.
new
(
"
\u
{1F637}"
,
[
:mask
],
"
FACE WITH MEDICAL MASK
"
),
self
.
new
(
"
\u
{1F60E}"
,
[
:sunglasses
],
""
),
self
.
new
(
"
\u
{1F60E}"
,
[
:sunglasses
],
"
SMILING FACE WITH SUNGLASSES
"
),
self
.
new
(
"
\u
{1F635}"
,
[
:dizzy_face
],
""
),
self
.
new
(
"
\u
{1F635}"
,
[
:dizzy_face
],
"
DIZZY FACE
"
),
self
.
new
(
"
\u
{1F47F}"
,
[
:imp
],
""
),
self
.
new
(
"
\u
{1F47F}"
,
[
:imp
],
""
),
self
.
new
(
"
\u
{1F608}"
,
[
:smiling_imp
],
""
),
self
.
new
(
"
\u
{1F608}"
,
[
:smiling_imp
],
"
SMILING FACE WITH HORNS
"
),
self
.
new
(
"
\u
{1F610}"
,
[
:neutral_face
],
""
),
self
.
new
(
"
\u
{1F610}"
,
[
:neutral_face
],
"
NEUTRAL FACE
"
),
self
.
new
(
"
\u
{1F636}"
,
[
:no_mouth
],
""
),
self
.
new
(
"
\u
{1F636}"
,
[
:no_mouth
],
"
FACE WITHOUT MOUTH
"
),
self
.
new
(
"
\u
{1F607}"
,
[
:innocent
],
""
),
self
.
new
(
"
\u
{1F607}"
,
[
:innocent
],
"
SMILING FACE WITH HALO
"
),
self
.
new
(
"
\u
{1F47D}"
,
[
:alien
],
""
),
self
.
new
(
"
\u
{1F47D}"
,
[
:alien
],
""
),
self
.
new
(
"
\u
{1F49B}"
,
[
:yellow_heart
],
""
),
self
.
new
(
"
\u
{1F49B}"
,
[
:yellow_heart
],
""
),
self
.
new
(
"
\u
{1F499}"
,
[
:blue_heart
],
""
),
self
.
new
(
"
\u
{1F499}"
,
[
:blue_heart
],
""
),
...
@@ -135,8 +135,8 @@ module Rumoji
...
@@ -135,8 +135,8 @@ module Rumoji
self
.
new
(
"
\u
{1F447}"
,
[
:point_down
],
""
),
self
.
new
(
"
\u
{1F447}"
,
[
:point_down
],
""
),
self
.
new
(
"
\u
{1F448}"
,
[
:point_left
],
""
),
self
.
new
(
"
\u
{1F448}"
,
[
:point_left
],
""
),
self
.
new
(
"
\u
{1F449}"
,
[
:point_right
],
""
),
self
.
new
(
"
\u
{1F449}"
,
[
:point_right
],
""
),
self
.
new
(
"
\u
{1F64C}"
,
[
:raised_hands
],
"
"
),
self
.
new
(
"
\u
{1F64C}"
,
[
:raised_hands
],
"
PERSON RAISING BOTH HANDS IN CELEBRATION"
),
# "banzai!"
self
.
new
(
"
\u
{1F64F}"
,
[
:pray
],
"
"
),
self
.
new
(
"
\u
{1F64F}"
,
[
:pray
],
"
PERSON WITH FOLDED HANDS"
),
# "can indicate sorrow or regret; can indicate pleading"
self
.
new
(
"
\u
{1F446}"
,
[
:point_up_2
],
""
),
self
.
new
(
"
\u
{1F446}"
,
[
:point_up_2
],
""
),
self
.
new
(
"
\u
{1F44F}"
,
[
:clap
],
""
),
self
.
new
(
"
\u
{1F44F}"
,
[
:clap
],
""
),
self
.
new
(
"
\u
{1F4AA}"
,
[
:muscle
],
""
),
self
.
new
(
"
\u
{1F4AA}"
,
[
:muscle
],
""
),
...
@@ -148,14 +148,14 @@ module Rumoji
...
@@ -148,14 +148,14 @@ module Rumoji
self
.
new
(
"
\u
{1F46D}"
,
[
:two_women_holding_hands
],
"TWO WOMEN HOLDING HANDS"
),
self
.
new
(
"
\u
{1F46D}"
,
[
:two_women_holding_hands
],
"TWO WOMEN HOLDING HANDS"
),
self
.
new
(
"
\u
{1F483}"
,
[
:dancer
],
""
),
self
.
new
(
"
\u
{1F483}"
,
[
:dancer
],
""
),
self
.
new
(
"
\u
{1F46F}"
,
[
:dancers
],
""
),
self
.
new
(
"
\u
{1F46F}"
,
[
:dancers
],
""
),
self
.
new
(
"
\u
{1F646}"
,
[
:ok_woman
],
""
),
self
.
new
(
"
\u
{1F646}"
,
[
:ok_woman
],
"
FACE WITH OK GESTURE
"
),
self
.
new
(
"
\u
{1F645}"
,
[
:no_good
],
""
),
self
.
new
(
"
\u
{1F645}"
,
[
:no_good
],
"
FACE WITH NO GOOD GESTURE
"
),
self
.
new
(
"
\u
{1F481}"
,
[
:information_desk_person
],
""
),
self
.
new
(
"
\u
{1F481}"
,
[
:information_desk_person
],
""
),
self
.
new
(
"
\u
{1F64B}"
,
[
:raised_hand
],
""
),
self
.
new
(
"
\u
{1F64B}"
,
[
:raised_hand
],
"
HAPPY PERSON RAISING ONE HAND
"
),
self
.
new
(
"
\u
{1F470}"
,
[
:bride_with_veil
],
""
),
self
.
new
(
"
\u
{1F470}"
,
[
:bride_with_veil
],
""
),
self
.
new
(
"
\u
{1F64E}"
,
[
:person_with_pouting_face
],
""
),
self
.
new
(
"
\u
{1F64E}"
,
[
:person_with_pouting_face
],
"
PERSON WITH POUTING FACE
"
),
self
.
new
(
"
\u
{1F64D}"
,
[
:person_frowning
],
""
),
self
.
new
(
"
\u
{1F64D}"
,
[
:person_frowning
],
"
PERSON FROWNING
"
),
self
.
new
(
"
\u
{1F647}"
,
[
:bow
],
""
),
self
.
new
(
"
\u
{1F647}"
,
[
:bow
],
"
PERSON BOWING DEEPLY
"
),
self
.
new
(
"
\u
{1F48F}"
,
[
:couplekiss
],
""
),
self
.
new
(
"
\u
{1F48F}"
,
[
:couplekiss
],
""
),
self
.
new
(
"
\u
{1F491}"
,
[
:couple_with_heart
],
""
),
self
.
new
(
"
\u
{1F491}"
,
[
:couple_with_heart
],
""
),
self
.
new
(
"
\u
{1F486}"
,
[
:massage
],
""
),
self
.
new
(
"
\u
{1F486}"
,
[
:massage
],
""
),
...
@@ -176,20 +176,21 @@ module Rumoji
...
@@ -176,20 +176,21 @@ module Rumoji
self
.
new
(
"
\u
{1F47C}"
,
[
:angel
],
""
),
self
.
new
(
"
\u
{1F47C}"
,
[
:angel
],
""
),
self
.
new
(
"
\u
{1F478}"
,
[
:princess
],
""
),
self
.
new
(
"
\u
{1F478}"
,
[
:princess
],
""
),
# Cats
# Cats
self
.
new
(
"
\u
{1F63A}"
,
[
:smiley_cat
],
""
),
self
.
new
(
"
\u
{1F63A}"
,
[
:smiley_cat
],
"
SMILING CAT FACE WITH OPEN MOUTH
"
),
self
.
new
(
"
\u
{1F638}"
,
[
:smile_cat
],
""
),
self
.
new
(
"
\u
{1F638}"
,
[
:smile_cat
],
"
GRINNING CAT FACE WITH SMILING EYES
"
),
self
.
new
(
"
\u
{1F63B}"
,
[
:heart_eyes_cat
],
""
),
self
.
new
(
"
\u
{1F63B}"
,
[
:heart_eyes_cat
],
"
SMILING CAT FACE WITH HEART-SHAPED EYES
"
),
self
.
new
(
"
\u
{1F63D}"
,
[
:kissing_cat
],
""
),
self
.
new
(
"
\u
{1F63D}"
,
[
:kissing_cat
],
"
KISSING CAT FACE WITH CLOSED EYES
"
),
self
.
new
(
"
\u
{1F63C}"
,
[
:smirk_cat
],
""
),
self
.
new
(
"
\u
{1F63C}"
,
[
:smirk_cat
],
"
CAT FACE WITH WRY SMILE
"
),
self
.
new
(
"
\u
{1F640}"
,
[
:scream_cat
],
""
),
self
.
new
(
"
\u
{1F640}"
,
[
:scream_cat
],
"
WEARY CAT FACE
"
),
self
.
new
(
"
\u
{1F63F}"
,
[
:crying_cat_face
],
""
),
self
.
new
(
"
\u
{1F63F}"
,
[
:crying_cat_face
],
"
CRYING CAT FACE
"
),
self
.
new
(
"
\u
{1F639}"
,
[
:joy_cat
],
""
),
self
.
new
(
"
\u
{1F639}"
,
[
:joy_cat
],
"
CAT FACE WITH TEARS OF JOY
"
),
self
.
new
(
"
\u
{1F63E}"
,
[
:pouting_cat
],
""
),
self
.
new
(
"
\u
{1F63E}"
,
[
:pouting_cat
],
"
POUTING CAT FACE
"
),
self
.
new
(
"
\u
{1F479}"
,
[
:japanese_ogre
],
""
),
self
.
new
(
"
\u
{1F479}"
,
[
:japanese_ogre
],
""
),
self
.
new
(
"
\u
{1F47A}"
,
[
:japanese_goblin
],
""
),
self
.
new
(
"
\u
{1F47A}"
,
[
:japanese_goblin
],
""
),
# Monkeys
# Monkeys
self
.
new
(
"
\u
{1F648}"
,
[
:see_no_evil
],
""
),
self
.
new
(
"
\u
{1F648}"
,
[
:see_no_evil
],
"SEE-NO-EVIL MONKEY"
),
self
.
new
(
"
\u
{1F649}"
,
[
:hear_no_evil
,
:speak_no_evil
],
""
),
self
.
new
(
"
\u
{1F649}"
,
[
:hear_no_evil
],
"HEAR-NO-EVIL MONKEY"
),
self
.
new
(
"
\u
{1F64A}"
,
[
:speak_no_evil
],
"SPEAK-NO-EVIL MONKEY"
),
self
.
new
(
"
\u
{1F482}"
,
[
:guardsman
],
""
),
self
.
new
(
"
\u
{1F482}"
,
[
:guardsman
],
""
),
self
.
new
(
"
\u
{1F480}"
,
[
:skull
],
""
),
self
.
new
(
"
\u
{1F480}"
,
[
:skull
],
""
),
self
.
new
(
"
\u
{1F463}"
,
[
:feet
],
""
),
self
.
new
(
"
\u
{1F463}"
,
[
:feet
],
""
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment