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
d1314d39
Commit
d1314d39
authored
May 10, 2016
by
Mark Wunsch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #28 from christophemaximin/add-missing
Add 300+ missing Emoji
parents
a6c23da9
c1d63843
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
137 additions
and
51 deletions
+137
-51
lib/rumoji/emoji/nature.rb
+17
-13
lib/rumoji/emoji/objects.rb
+34
-11
lib/rumoji/emoji/people.rb
+48
-20
lib/rumoji/emoji/places.rb
+0
-0
lib/rumoji/emoji/symbols.rb
+34
-3
spec/rumoji_spec.rb
+4
-4
No files found.
lib/rumoji/emoji/nature.rb
View file @
d1314d39
...
@@ -10,20 +10,23 @@ module Rumoji
...
@@ -10,20 +10,23 @@ module Rumoji
self
.
new
(
"
\u
{2614}"
,
[
:umbrella
],
"UMBRELLA WITH RAIN DROPS"
),
self
.
new
(
"
\u
{2614}"
,
[
:umbrella
],
"UMBRELLA WITH RAIN DROPS"
),
self
.
new
(
"
\u
{2601}"
,
[
:cloud
]),
self
.
new
(
"
\u
{2601}"
,
[
:cloud
]),
self
.
new
(
"
\u
{2744}"
,
[
:snowflake
]),
self
.
new
(
"
\u
{2744}"
,
[
:snowflake
]),
self
.
new
(
"
\u
{26C4}"
,
[
:snowman
],
"SNOWMAN WITHOUT SNOW"
),
self
.
new
(
"
\u
{26C4}"
,
[
:snowman
,
:snowman_without_snow
],
"SNOWMAN WITHOUT SNOW"
),
self
.
new
(
"
\u
{26A1}"
,
[
:zap
],
"HIGH VOLTAGE SIGN"
),
self
.
new
(
"
\u
{26A1}"
,
[
:zap
],
"HIGH VOLTAGE SIGN"
),
self
.
new
(
"
\u
{1F300}"
,
[
:cyclone
]),
# "typhoon, hurricane
self
.
new
(
"
\u
{1F300}"
,
[
:cyclone
]),
# "typhoon, hurricane
self
.
new
(
"
\u
{1F301}"
,
[
:foggy
]),
self
.
new
(
"
\u
{1F301}"
,
[
:foggy
]),
self
.
new
(
"
\u
{1F30A}"
,
[
:ocean
],
"WATER WAVE"
),
self
.
new
(
"
\u
{1F30A}"
,
[
:ocean
],
"WATER WAVE"
),
self
.
new
(
"
\u
{1F324}"
,
[
:sun_behind_small_cloud
],
"WHITE SUN WITH SMALL CLOUD"
),
self
.
new
(
"
\u
{1F324}"
,
[
:sun_behind_small_cloud
,
:mostly_sunny
],
"WHITE SUN WITH SMALL CLOUD"
),
self
.
new
(
"
\u
{1F325}"
,
[
:sun_behind_large_cloud
],
"WHITE SUN BEHIND CLOUD"
),
self
.
new
(
"
\u
{1F325}"
,
[
:sun_behind_large_cloud
],
"WHITE SUN BEHIND CLOUD"
),
self
.
new
(
"
\u
{1F326}"
,
[
:sun_behind_cloud_with_rain
],
"WHITE SUN BEHIND CLOUD WITH RAIN"
),
self
.
new
(
"
\u
{1F326}"
,
[
:sun_behind_cloud_with_rain
,
:partly_sunny_rain
],
"WHITE SUN BEHIND CLOUD WITH RAIN"
),
self
.
new
(
"
\u
{1F327}"
,
[
:cloud_with_rain
],
"CLOUD WITH RAIN"
),
self
.
new
(
"
\u
{1F327}"
,
[
:cloud_with_rain
,
:rain_cloud
],
"CLOUD WITH RAIN"
),
self
.
new
(
"
\u
{1F328}"
,
[
:cloud_with_snow
],
"CLOUD WITH SNOW"
),
self
.
new
(
"
\u
{1F328}"
,
[
:cloud_with_snow
,
:snow_cloud
],
"CLOUD WITH SNOW"
),
self
.
new
(
"
\u
{1F329}"
,
[
:cloud_with_lightning
],
"CLOUD WITH LIGHTNING"
),
self
.
new
(
"
\u
{1F329}"
,
[
:cloud_with_lightning
,
:lightning
],
"CLOUD WITH LIGHTNING"
),
self
.
new
(
"
\u
{1F32A}"
,
[
:cloud_with_tornado
],
"CLOUD WITH TORNADO"
),
self
.
new
(
"
\u
{1F32A}"
,
[
:cloud_with_tornado
,
:tornado
],
"CLOUD WITH TORNADO"
),
self
.
new
(
"
\u
{1F32B}"
,
[
:fog
],
"FOG"
),
self
.
new
(
"
\u
{1F32B}"
,
[
:fog
],
"FOG"
),
self
.
new
(
"
\u
{1F32C}"
,
[
:wind_face
],
"WIND BLOWING FACE"
),
self
.
new
(
"
\u
{1F32C}"
,
[
:wind_face
,
:wind_blowing_face
],
"WIND BLOWING FACE"
),
self
.
new
(
"
\u
{2603}"
,
[
:snowman_with_snow
],
"SNOWMAN"
),
self
.
new
(
"
\u
{2604}"
,
[
:comet
],
"COMET"
),
self
.
new
(
"
\u
{2618}"
,
[
:shamrock
],
"SHAMROCK"
),
# Animals
# Animals
self
.
new
(
"
\u
{1F431}"
,
[
:cat
],
"CAT FACE"
),
self
.
new
(
"
\u
{1F431}"
,
[
:cat
],
"CAT FACE"
),
...
@@ -57,7 +60,7 @@ module Rumoji
...
@@ -57,7 +60,7 @@ module Rumoji
self
.
new
(
"
\u
{1F427}"
,
[
:penguin
]),
self
.
new
(
"
\u
{1F427}"
,
[
:penguin
]),
self
.
new
(
"
\u
{1F422}"
,
[
:turtle
]),
self
.
new
(
"
\u
{1F422}"
,
[
:turtle
]),
self
.
new
(
"
\u
{1F41B}"
,
[
:bug
]),
self
.
new
(
"
\u
{1F41B}"
,
[
:bug
]),
self
.
new
(
"
\u
{1F41D}"
,
[
:honeybee
]),
self
.
new
(
"
\u
{1F41D}"
,
[
:honeybee
,
:bee
]),
self
.
new
(
"
\u
{1F41C}"
,
[
:ant
]),
self
.
new
(
"
\u
{1F41C}"
,
[
:ant
]),
self
.
new
(
"
\u
{1F41E}"
,
[
:beetle
],
"LADY BEETLE"
),
# "ladybird, ladybug, coccinellids"
self
.
new
(
"
\u
{1F41E}"
,
[
:beetle
],
"LADY BEETLE"
),
# "ladybird, ladybug, coccinellids"
self
.
new
(
"
\u
{1F40C}"
,
[
:snail
]),
self
.
new
(
"
\u
{1F40C}"
,
[
:snail
]),
...
@@ -88,8 +91,8 @@ module Rumoji
...
@@ -88,8 +91,8 @@ module Rumoji
self
.
new
(
"
\u
{1F408}"
,
[
:cat2
],
"CAT"
),
self
.
new
(
"
\u
{1F408}"
,
[
:cat2
],
"CAT"
),
self
.
new
(
"
\u
{1F429}"
,
[
:poodle
]),
self
.
new
(
"
\u
{1F429}"
,
[
:poodle
]),
self
.
new
(
"
\u
{1F43E}"
,
[
:paw_prints
]),
self
.
new
(
"
\u
{1F43E}"
,
[
:paw_prints
]),
self
.
new
(
"
\u
{1F981}"
,
[
:lion
]),
self
.
new
(
"
\u
{1F981}"
,
[
:lion
,
:lion_face
]),
self
.
new
(
"
\u
{1F984}"
,
[
:unicorn
]),
self
.
new
(
"
\u
{1F984}"
,
[
:unicorn
,
:unicorn_face
]),
self
.
new
(
"
\u
{1F983}"
,
[
:turkey
]),
self
.
new
(
"
\u
{1F983}"
,
[
:turkey
]),
self
.
new
(
"
\u
{1F980}"
,
[
:crab
]),
self
.
new
(
"
\u
{1F980}"
,
[
:crab
]),
self
.
new
(
"
\u
{1F982}"
,
[
:scorpion
]),
self
.
new
(
"
\u
{1F982}"
,
[
:scorpion
]),
...
@@ -135,13 +138,14 @@ module Rumoji
...
@@ -135,13 +138,14 @@ module Rumoji
self
.
new
(
"
\u
{1F318}"
,
[
:waning_crescent_moon
],
"WANING CRESCENT MOON SYMBOL"
),
self
.
new
(
"
\u
{1F318}"
,
[
:waning_crescent_moon
],
"WANING CRESCENT MOON SYMBOL"
),
self
.
new
(
"
\u
{1F31C}"
,
[
:last_quarter_moon_with_face
]),
self
.
new
(
"
\u
{1F31C}"
,
[
:last_quarter_moon_with_face
]),
self
.
new
(
"
\u
{1F31B}"
,
[
:first_quarter_moon_with_face
]),
self
.
new
(
"
\u
{1F31B}"
,
[
:first_quarter_moon_with_face
]),
self
.
new
(
"
\u
{1F319}"
,
[
:moon
],
"CRESCENT MOON"
),
# "may indicate either the first or last quarter moon"
self
.
new
(
"
\u
{1F319}"
,
[
:moon
,
:crescent_moon
],
"CRESCENT MOON"
),
# "may indicate either the first or last quarter moon"
self
.
new
(
"
\u
{1F30D}"
,
[
:earth_africa
],
"EARTH GLOBE EUROPE-AFRICA"
),
self
.
new
(
"
\u
{1F30D}"
,
[
:earth_africa
],
"EARTH GLOBE EUROPE-AFRICA"
),
self
.
new
(
"
\u
{1F30E}"
,
[
:earth_americas
],
"EARTH GLOBE AMERICAS"
),
self
.
new
(
"
\u
{1F30E}"
,
[
:earth_americas
],
"EARTH GLOBE AMERICAS"
),
self
.
new
(
"
\u
{1F30F}"
,
[
:earth_asia
],
"EARTH GLOBE ASIA-AUSTRALIA"
),
self
.
new
(
"
\u
{1F30F}"
,
[
:earth_asia
],
"EARTH GLOBE ASIA-AUSTRALIA"
),
self
.
new
(
"
\u
{1F30B}"
,
[
:volcano
]),
self
.
new
(
"
\u
{1F30B}"
,
[
:volcano
]),
self
.
new
(
"
\u
{1F30C}"
,
[
:milky_way
]),
self
.
new
(
"
\u
{1F30C}"
,
[
:milky_way
]),
self
.
new
(
"
\u
{26C5}"
,
[
:partly_sunny
],
"SUN BEHIND CLOUD"
)
self
.
new
(
"
\u
{26C5}"
,
[
:partly_sunny
,
:barely_sunny
],
"SUN BEHIND CLOUD"
),
self
.
new
(
"
\u
{26c8}"
,
[
:thunder_cloud_and_rain
],
"THUNDER CLOUD AND RAIN"
),
]
]
end
end
end
end
lib/rumoji/emoji/objects.rb
View file @
d1314d39
...
@@ -220,11 +220,11 @@ module Rumoji
...
@@ -220,11 +220,11 @@ module Rumoji
self
.
new
(
"
\u
{1f6ac}"
,
[
:smoking
]),
self
.
new
(
"
\u
{1f6ac}"
,
[
:smoking
]),
self
.
new
(
"
\u
{1f3c2}"
,
[
:snowboarder
]),
self
.
new
(
"
\u
{1f3c2}"
,
[
:snowboarder
]),
self
.
new
(
"
\u
{26bd}"
,
[
:soccer
]),
self
.
new
(
"
\u
{26bd}"
,
[
:soccer
]),
self
.
new
(
"
\u
{1f509}"
,
[
:sound
]),
self
.
new
(
"
\u
{1f509}"
,
[
:sound
,
:speaker_with_one_sound_wave
]),
self
.
new
(
"
\u
{1f47e}"
,
[
:space_invader
]),
self
.
new
(
"
\u
{1f47e}"
,
[
:space_invader
]),
self
.
new
(
"
\u
{2660}"
,
[
:spades
]),
self
.
new
(
"
\u
{2660}"
,
[
:spades
]),
self
.
new
(
"
\u
{1f35d}"
,
[
:spaghetti
]),
self
.
new
(
"
\u
{1f35d}"
,
[
:spaghetti
]),
self
.
new
(
"
\u
{1f50a}"
,
[
:speaker
]),
self
.
new
(
"
\u
{1f50a}"
,
[
:speaker
,
:speaker_with_three_sound_waves
]),
self
.
new
(
"
\u
{1f372}"
,
[
:stew
]),
self
.
new
(
"
\u
{1f372}"
,
[
:stew
]),
self
.
new
(
"
\u
{1f4cf}"
,
[
:straight_ruler
]),
self
.
new
(
"
\u
{1f4cf}"
,
[
:straight_ruler
]),
self
.
new
(
"
\u
{1f353}"
,
[
:strawberry
]),
self
.
new
(
"
\u
{1f353}"
,
[
:strawberry
]),
...
@@ -264,27 +264,27 @@ module Rumoji
...
@@ -264,27 +264,27 @@ module Rumoji
self
.
new
(
"
\u
{1f4ff}"
,
[
:prayer_beads
],
"PRAYER BEADS"
),
self
.
new
(
"
\u
{1f4ff}"
,
[
:prayer_beads
],
"PRAYER BEADS"
),
self
.
new
(
"
\u
{1f336}"
,
[
:hot_pepper
]),
self
.
new
(
"
\u
{1f336}"
,
[
:hot_pepper
]),
self
.
new
(
"
\u
{1f9c0}"
,
[
:cheese_wedge
]),
self
.
new
(
"
\u
{1f9c0}"
,
[
:cheese_wedge
]),
self
.
new
(
"
\u
{1f32d}"
,
[
:hot_dog
]),
self
.
new
(
"
\u
{1f32d}"
,
[
:hot_dog
,
:hotdog
]),
self
.
new
(
"
\u
{1f32e}"
,
[
:taco
]),
self
.
new
(
"
\u
{1f32e}"
,
[
:taco
]),
self
.
new
(
"
\u
{1f32f}"
,
[
:burrito
]),
self
.
new
(
"
\u
{1f32f}"
,
[
:burrito
]),
self
.
new
(
"
\u
{1f37f}"
,
[
:popcorn
]),
self
.
new
(
"
\u
{1f37f}"
,
[
:popcorn
]),
self
.
new
(
"
\u
{1f37e}"
,
[
:bottle_popping_cork
]),
self
.
new
(
"
\u
{1f37e}"
,
[
:bottle_popping_cork
,
:champagne
]),
self
.
new
(
"
\u
{1f3fa}"
,
[
:amphora
]),
self
.
new
(
"
\u
{1f3fa}"
,
[
:amphora
]),
self
.
new
(
"
\u
{1f579}"
,
[
:joystick
]),
self
.
new
(
"
\u
{1f579}"
,
[
:joystick
]),
self
.
new
(
"
\u
{1f3f9}"
,
[
:bow_arrow
]),
self
.
new
(
"
\u
{1f3f9}"
,
[
:bow_arrow
,
:bow_and_arrow
]),
self
.
new
(
"
\u
{1f5e1}"
,
[
:dagger_knife
]),
self
.
new
(
"
\u
{1f5e1}"
,
[
:dagger_knife
]),
self
.
new
(
"
\u
{1f3f3}"
,
[
:waving_white_flag
]),
self
.
new
(
"
\u
{1f3f3}"
,
[
:waving_white_flag
]),
self
.
new
(
"
\u
{1f3f4}"
,
[
:waving_black_flag
]),
self
.
new
(
"
\u
{1f3f4}"
,
[
:waving_black_flag
]),
self
.
new
(
"
\u
{1f6e2}"
,
[
:oil_drum
]),
self
.
new
(
"
\u
{1f6e2}"
,
[
:oil_drum
]),
self
.
new
(
"
\u
{1f6e1}"
,
[
:shield
]),
self
.
new
(
"
\u
{1f6e1}"
,
[
:shield
]),
self
.
new
(
"
\u
{1f5dc}"
,
[
:compression
]),
self
.
new
(
"
\u
{1f5dc}"
,
[
:compression
]),
self
.
new
(
"
\u
{1f6e0}"
,
[
:hammer_wrench
]),
self
.
new
(
"
\u
{1f6e0}"
,
[
:hammer_wrench
,
:hammer_and_wrench
]),
self
.
new
(
"
\u
{1f5dd}"
,
[
:old_key
]),
self
.
new
(
"
\u
{1f5dd}"
,
[
:old_key
]),
self
.
new
(
"
\u
{1f5d1}"
,
[
:wastebasket
]),
self
.
new
(
"
\u
{1f5d1}"
,
[
:wastebasket
]),
self
.
new
(
"
\u
{1f5c4}"
,
[
:file_cabinet
]),
self
.
new
(
"
\u
{1f5c4}"
,
[
:file_cabinet
]),
self
.
new
(
"
\u
{1f5c3}"
,
[
:card_file_box
]),
self
.
new
(
"
\u
{1f5c3}"
,
[
:card_file_box
]),
self
.
new
(
"
\u
{1f587}"
,
[
:linked_paperclips
]),
self
.
new
(
"
\u
{1f587}"
,
[
:linked_paperclips
]),
self
.
new
(
"
\u
{1f5d3}"
,
[
:spiral_calendar
]),
self
.
new
(
"
\u
{1f5d3}"
,
[
:spiral_calendar
,
:spiral_calendar_pad
]),
self
.
new
(
"
\u
{1f5d2}"
,
[
:spiral_note_pad
]),
self
.
new
(
"
\u
{1f5d2}"
,
[
:spiral_note_pad
]),
self
.
new
(
"
\u
{1f5c2}"
,
[
:card_index_dividers
]),
self
.
new
(
"
\u
{1f5c2}"
,
[
:card_index_dividers
]),
self
.
new
(
"
\u
{1f58d}"
,
[
:lower_left_crayon
]),
self
.
new
(
"
\u
{1f58d}"
,
[
:lower_left_crayon
]),
...
@@ -294,7 +294,7 @@ module Rumoji
...
@@ -294,7 +294,7 @@ module Rumoji
self
.
new
(
"
\u
{1f5f3}"
,
[
:ballot_box_with_ballot
]),
self
.
new
(
"
\u
{1f5f3}"
,
[
:ballot_box_with_ballot
]),
self
.
new
(
"
\u
{1f5de}"
,
[
:rollet_newspaper
]),
self
.
new
(
"
\u
{1f5de}"
,
[
:rollet_newspaper
]),
self
.
new
(
"
\u
{1f56f}"
,
[
:candle
]),
self
.
new
(
"
\u
{1f56f}"
,
[
:candle
]),
self
.
new
(
"
\u
{1f4f8}"
,
[
:camera_flash
]),
self
.
new
(
"
\u
{1f4f8}"
,
[
:camera_flash
,
:camera_with_flash
]),
self
.
new
(
"
\u
{1f4fd}"
,
[
:film_projector
]),
self
.
new
(
"
\u
{1f4fd}"
,
[
:film_projector
]),
self
.
new
(
"
\u
{1f5b2}"
,
[
:trackball
]),
self
.
new
(
"
\u
{1f5b2}"
,
[
:trackball
]),
self
.
new
(
"
\u
{1f5b1}"
,
[
:three_button_mouse
]),
self
.
new
(
"
\u
{1f5b1}"
,
[
:three_button_mouse
]),
...
@@ -305,12 +305,35 @@ module Rumoji
...
@@ -305,12 +305,35 @@ module Rumoji
self
.
new
(
"
\u
{1f399}"
,
[
:studio_microphone
]),
self
.
new
(
"
\u
{1f399}"
,
[
:studio_microphone
]),
self
.
new
(
"
\u
{1f321}"
,
[
:thermometer
]),
self
.
new
(
"
\u
{1f321}"
,
[
:thermometer
]),
self
.
new
(
"
\u
{1f570}"
,
[
:mantelpiece_clock
]),
self
.
new
(
"
\u
{1f570}"
,
[
:mantelpiece_clock
]),
self
.
new
(
"
\u
{1f6cb}"
,
[
:couch_lamp
]),
self
.
new
(
"
\u
{1f6cb}"
,
[
:couch_lamp
,
:couch_and_lamp
]),
self
.
new
(
"
\u
{1f6cf}"
,
[
:bed
]),
self
.
new
(
"
\u
{1f6cf}"
,
[
:bed
]),
self
.
new
(
"
\u
{1f6cc}"
,
[
:person_bed
]),
self
.
new
(
"
\u
{1f6cc}"
,
[
:person_bed
]),
self
.
new
(
"
\u
{1f6ce}"
,
[
:bellhop_bell
]),
self
.
new
(
"
\u
{1f6ce}"
,
[
:bellhop_bell
]),
self
.
new
(
"
\u
{1f37d}"
,
[
:fork_knife_plate
]),
self
.
new
(
"
\u
{1f37d}"
,
[
:fork_knife_plate
,
:knife_fork_plate
]),
self
.
new
(
"
\u
{2328}"
,
[
:keyboard
],
"KEYBOARD"
),
self
.
new
(
"
\u
{23f1}"
,
[
:stopwatch
],
"STOPWATCH"
),
self
.
new
(
"
\u
{23f2}"
,
[
:timer_clock
],
"TIMER CLOCK"
),
self
.
new
(
"
\u
{2620}"
,
[
:skull_and_crossbones
],
"SKULL AND CROSSBONES"
),
self
.
new
(
"
\u
{2692}"
,
[
:hammer_and_pick
],
"HAMMER AND PICK"
),
self
.
new
(
"
\u
{2694}"
,
[
:crossed_swords
],
"CROSSED SWORDS"
),
self
.
new
(
"
\u
{2696}"
,
[
:scales
],
"SCALES"
),
self
.
new
(
"
\u
{2697}"
,
[
:alembic
],
"ALEMBIC"
),
self
.
new
(
"
\u
{2699}"
,
[
:gear
],
"GEAR"
),
self
.
new
(
"
\u
{26b0}"
,
[
:coffin
],
"COFFIN"
),
self
.
new
(
"
\u
{26b1}"
,
[
:funeral_urn
],
"FUNERAL URN"
),
self
.
new
(
"
\u
{26cf}"
,
[
:pick
],
"PICK"
),
self
.
new
(
"
\u
{26d3}"
,
[
:chains
],
"CHAINS"
),
self
.
new
(
"
\u
{26f1}"
,
[
:umbrella_on_ground
],
"UMBRELLA ON GROUND"
),
self
.
new
(
"
\u
{1f3ee}"
,
[
:izakaya_lantern
],
"IZAKAYA LANTERN"
),
self
.
new
(
"
\u
{1f4d6}"
,
[
:book
],
"OPEN BOOK"
),
self
.
new
(
"
\u
{1f4e6}"
,
[
:package
],
"PACKAGE"
),
self
.
new
(
"
\u
{1f4e9}"
,
[
:envelope_with_arrow
],
"ENVELOPE WITH DOWNWARDS ARROW ABOVE"
),
self
.
new
(
"
\u
{1f58a}"
,
[
:lower_left_ballpoint_pen
],
"LOWER LEFT BALLPOINT PEN"
),
self
.
new
(
"
\u
{1f58b}"
,
[
:lower_left_fountain_pen
],
"LOWER LEFT FOUNTAIN PEN"
),
self
.
new
(
"
\u
{1f5de}"
,
[
:rolled_up_newspaper
],
"ROLLED-UP NEWSPAPER"
),
self
.
new
(
"
\u
{1f396}"
,
[
:military_medal
,
:medal
],
"MILITARY MEDAL"
),
self
.
new
(
"
\u
{1f3c5}"
,
[
:sports_medal
],
"SPORTS MEDAL"
),
self
.
new
(
"
\u
{26f8}"
,
[
:ice_skate
],
"ICE SKATE"
),
]
]
end
end
end
end
lib/rumoji/emoji/people.rb
View file @
d1314d39
...
@@ -16,7 +16,7 @@ module Rumoji
...
@@ -16,7 +16,7 @@ module Rumoji
self
.
new
(
"
\u
{1F618}"
,
[
:kissing_heart
],
"FACE THROWING KISS"
),
self
.
new
(
"
\u
{1F618}"
,
[
:kissing_heart
],
"FACE THROWING KISS"
),
self
.
new
(
"
\u
{1F61A}"
,
[
:kissing_closed_eyes
],
"KISSING FACE WITH CLOSED EYES"
),
self
.
new
(
"
\u
{1F61A}"
,
[
:kissing_closed_eyes
],
"KISSING FACE WITH CLOSED EYES"
),
self
.
new
(
"
\u
{1F633}"
,
[
:flushed
],
"FLUSHED FACE"
),
self
.
new
(
"
\u
{1F633}"
,
[
:flushed
],
"FLUSHED FACE"
),
self
.
new
(
"
\u
{1F625}"
,
[
:relieved
],
"DISAPPOINTED BUT RELIEVED FACE"
),
self
.
new
(
"
\u
{1F625}"
,
[
:relieved
,
:disappointed_relieved
],
"DISAPPOINTED BUT RELIEVED FACE"
),
self
.
new
(
"
\u
{1F60C}"
,
[
:satisfied
],
"RELIEVED FACE"
),
self
.
new
(
"
\u
{1F60C}"
,
[
:satisfied
],
"RELIEVED FACE"
),
self
.
new
(
"
\u
{1F601}"
,
[
:grin
],
"GRINNING FACE WITH SMILING EYES"
),
self
.
new
(
"
\u
{1F601}"
,
[
:grin
],
"GRINNING FACE WITH SMILING EYES"
),
self
.
new
(
"
\u
{1F609}"
,
[
:wink
],
"WINKING FACE"
),
self
.
new
(
"
\u
{1F609}"
,
[
:wink
],
"WINKING FACE"
),
...
@@ -93,22 +93,22 @@ module Rumoji
...
@@ -93,22 +93,22 @@ module Rumoji
self
.
new
(
"
\u
{1F3B6}"
,
[
:notes
],
"MULTIPLE MUSICAL NOTES"
),
# "dancing notes, mood, melody"
self
.
new
(
"
\u
{1F3B6}"
,
[
:notes
],
"MULTIPLE MUSICAL NOTES"
),
# "dancing notes, mood, melody"
self
.
new
(
"
\u
{1F3B5}"
,
[
:musical_note
]),
# "music, being in good mood"
self
.
new
(
"
\u
{1F3B5}"
,
[
:musical_note
]),
# "music, being in good mood"
self
.
new
(
"
\u
{1F525}"
,
[
:fire
],
"FIRE"
),
self
.
new
(
"
\u
{1F525}"
,
[
:fire
],
"FIRE"
),
self
.
new
(
"
\u
{1F917}"
,
[
:hugging
],
"HUGGING FACE"
),
self
.
new
(
"
\u
{1F917}"
,
[
:hugging
,
:hugging_face
],
"HUGGING FACE"
),
self
.
new
(
"
\u
{1F914}"
,
[
:thinking
],
"THINKING FACE"
),
self
.
new
(
"
\u
{1F914}"
,
[
:thinking
,
:thinking_face
],
"THINKING FACE"
),
self
.
new
(
"
\u
{1F644}"
,
[
:rolling_eyes
],
"FACE WITH ROLLING EYES"
),
self
.
new
(
"
\u
{1F644}"
,
[
:rolling_eyes
,
:face_with_rolling_eyes
],
"FACE WITH ROLLING EYES"
),
self
.
new
(
"
\u
{1F910}"
,
[
:zipper_mouth
],
"ZIPPER-MOUTH FACE"
),
self
.
new
(
"
\u
{1F910}"
,
[
:zipper_mouth
,
:zipper_mouth_face
],
"ZIPPER-MOUTH FACE"
),
self
.
new
(
"
\u
{1F913}"
,
[
:nerd
],
"NERD FACE"
),
self
.
new
(
"
\u
{1F913}"
,
[
:nerd
,
:nerd_face
],
"NERD FACE"
),
self
.
new
(
"
\u
{1F643}"
,
[
:upside_down
],
"UPSIDE-DOWN FACE"
),
self
.
new
(
"
\u
{1F643}"
,
[
:upside_down
,
:upside_down_face
],
"UPSIDE-DOWN FACE"
),
self
.
new
(
"
\u
{1F912}"
,
[
:face_thermometer
],
"FACE WITH THERMOMETER"
),
self
.
new
(
"
\u
{1F912}"
,
[
:face_thermometer
,
:face_with_thermometer
],
"FACE WITH THERMOMETER"
),
self
.
new
(
"
\u
{1F915}"
,
[
:head_bandage
],
"FACE WITH HEAD-BANDAGE"
),
self
.
new
(
"
\u
{1F915}"
,
[
:head_bandage
,
:face_with_head_bandage
],
"FACE WITH HEAD-BANDAGE"
),
self
.
new
(
"
\u
{1F911}"
,
[
:money_mouth
],
"MONEY-MOUTH FACE"
),
self
.
new
(
"
\u
{1F911}"
,
[
:money_mouth
,
:money_mouth_face
],
"MONEY-MOUTH FACE"
),
self
.
new
(
"
\u
{1F916}"
,
[
:robot
],
"ROBOT FACE"
),
self
.
new
(
"
\u
{1F916}"
,
[
:robot
,
:robot_face
],
"ROBOT FACE"
),
self
.
new
(
"
\u
{1F575}"
,
[
:sleuth
],
"SLEUTH OR SPY"
),
self
.
new
(
"
\u
{1F575}"
,
[
:sleuth
,
:sleuth_or_spy
],
"SLEUTH OR SPY"
),
self
.
new
(
"
\u
{1F3CB}"
,
[
:weight_lifter
],
"WEIGHT LIFTER"
),
self
.
new
(
"
\u
{1F3CB}"
,
[
:weight_lifter
],
"WEIGHT LIFTER"
),
self
.
new
(
"
\u
{1F3CC}"
,
[
:golfer
],
"GOLFER"
),
self
.
new
(
"
\u
{1F3CC}"
,
[
:golfer
],
"GOLFER"
),
self
.
new
(
"
\u
{1F574}"
,
[
:man_levitating
],
"MAN IN BUSINESS SUIT LEVITATING"
),
self
.
new
(
"
\u
{1F574}"
,
[
:man_levitating
,
:man_in_business_suit_levitating
],
"MAN IN BUSINESS SUIT LEVITATING"
),
self
.
new
(
"
\u
{1F641}"
,
[
:slightly_frowning
],
"SLIGHTLY FROWNING FACE"
),
self
.
new
(
"
\u
{1F641}"
,
[
:slightly_frowning
,
:slightly_frowning_face
],
"SLIGHTLY FROWNING FACE"
),
self
.
new
(
"
\u
{1F642}"
,
[
:slightly_smiling
],
"SLIGHTLY SMILING FACE"
),
self
.
new
(
"
\u
{1F642}"
,
[
:slightly_smiling
,
:slightly_smiling_face
],
"SLIGHTLY SMILING FACE"
),
# Poop
# Poop
self
.
new
(
"
\u
{1F4A9}"
,
[
:poop
,
:hankey
,
:shit
],
"PILE OF POO"
),
# "dog dirt"
self
.
new
(
"
\u
{1F4A9}"
,
[
:poop
,
:hankey
,
:shit
],
"PILE OF POO"
),
# "dog dirt"
...
@@ -141,10 +141,10 @@ module Rumoji
...
@@ -141,10 +141,10 @@ module Rumoji
self
.
new
(
"
\u
{1F646}"
,
[
:ok_woman
],
"FACE WITH OK GESTURE"
),
self
.
new
(
"
\u
{1F646}"
,
[
:ok_woman
],
"FACE WITH OK GESTURE"
),
self
.
new
(
"
\u
{1F645}"
,
[
:no_good
],
"FACE WITH NO GOOD GESTURE"
),
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
],
"HAPPY PERSON RAISING ONE HAND"
),
self
.
new
(
"
\u
{1F64B}"
,
[
:raised_hand
,
:raising_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
]),
self
.
new
(
"
\u
{1F64D}"
,
[
:person_frowning
]),
self
.
new
(
"
\u
{1F64D}"
,
[
:person_frowning
,
:white_frowning_face
]),
self
.
new
(
"
\u
{1F647}"
,
[
:bow
],
"PERSON BOWING DEEPLY"
),
self
.
new
(
"
\u
{1F647}"
,
[
:bow
],
"PERSON BOWING DEEPLY"
),
self
.
new
(
"
\u
{1F48F}"
,
[
:couplekiss
],
"KISS"
),
# "two people kissing"
self
.
new
(
"
\u
{1F48F}"
,
[
:couplekiss
],
"KISS"
),
# "two people kissing"
self
.
new
(
"
\u
{1F491}"
,
[
:couple_with_heart
]),
self
.
new
(
"
\u
{1F491}"
,
[
:couple_with_heart
]),
...
@@ -167,8 +167,8 @@ module Rumoji
...
@@ -167,8 +167,8 @@ module Rumoji
self
.
new
(
"
\u
{1F478}"
,
[
:princess
]),
self
.
new
(
"
\u
{1F478}"
,
[
:princess
]),
self
.
new
(
"
\u
{1F595}"
,
[
:middle_finger
],
"REVERSED HAND WITH MIDDLE FINGER EXTENDED"
),
self
.
new
(
"
\u
{1F595}"
,
[
:middle_finger
],
"REVERSED HAND WITH MIDDLE FINGER EXTENDED"
),
self
.
new
(
"
\u
{1F596}"
,
[
:vulcan_salute
],
"RAISED HAND WITH PART BETWEEN MIDDLE AND RING FINGERS"
),
# vulcan salute
self
.
new
(
"
\u
{1F596}"
,
[
:vulcan_salute
],
"RAISED HAND WITH PART BETWEEN MIDDLE AND RING FINGERS"
),
# vulcan salute
self
.
new
(
"
\u
{1F918}"
,
[
:sign_horns
],
"SIGN OF THE HORNS"
),
self
.
new
(
"
\u
{1F918}"
,
[
:sign_horns
,
:the_horns
],
"SIGN OF THE HORNS"
),
self
.
new
(
"
\u
{1F590}"
,
[
:fingers_splayed
],
"RAISED HAND WITH FINGERS SPLAYED"
),
self
.
new
(
"
\u
{1F590}"
,
[
:fingers_splayed
,
:raised_hand_with_fingers_splayed
],
"RAISED HAND WITH FINGERS SPLAYED"
),
# Cats
# Cats
self
.
new
(
"
\u
{1F63A}"
,
[
:smiley_cat
],
"SMILING CAT FACE WITH OPEN MOUTH"
),
self
.
new
(
"
\u
{1F63A}"
,
[
:smiley_cat
],
"SMILING CAT FACE WITH OPEN MOUTH"
),
...
@@ -188,7 +188,7 @@ module Rumoji
...
@@ -188,7 +188,7 @@ module Rumoji
self
.
new
(
"
\u
{1F64A}"
,
[
:speak_no_evil
],
"SPEAK-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
],
"FOOTPRINTS"
),
self
.
new
(
"
\u
{1F463}"
,
[
:feet
,
:footprints
],
"FOOTPRINTS"
),
self
.
new
(
"
\u
{1F444}"
,
[
:lips
],
"MOUTH"
),
self
.
new
(
"
\u
{1F444}"
,
[
:lips
],
"MOUTH"
),
self
.
new
(
"
\u
{1F48B}"
,
[
:kiss
],
"KISS MARK"
),
# "lips"
self
.
new
(
"
\u
{1F48B}"
,
[
:kiss
],
"KISS MARK"
),
# "lips"
self
.
new
(
"
\u
{1F4A7}"
,
[
:droplet
]),
# "represents a drop of sweat or drop of water"
self
.
new
(
"
\u
{1F4A7}"
,
[
:droplet
]),
# "represents a drop of sweat or drop of water"
...
@@ -212,6 +212,34 @@ module Rumoji
...
@@ -212,6 +212,34 @@ module Rumoji
self
.
new
(
"
\u
{1F3FD}"
,
[
:type_4
]),
self
.
new
(
"
\u
{1F3FD}"
,
[
:type_4
]),
self
.
new
(
"
\u
{1F3FE}"
,
[
:type_5
]),
self
.
new
(
"
\u
{1F3FE}"
,
[
:type_5
]),
self
.
new
(
"
\u
{1F3FF}"
,
[
:type_6
]),
self
.
new
(
"
\u
{1F3FF}"
,
[
:type_6
]),
self
.
new
(
"
\u
{26d1}"
,
[
:helmet_with_white_cross
],
"HELMET WITH WHITE CROSS"
),
self
.
new
(
"
\u
{270d}"
,
[
:writing_hand
],
"WRITING HAND"
),
self
.
new
(
"
\u
{1f45f}"
,
[
:athletic_shoe
],
"ATHLETIC SHOE"
),
self
.
new
(
"
\u
{1f596}"
,
[
:vulcan_hand
,
:"spock-hand"
],
"RAISED HAND WITH PART BETWEEN MIDDLE AND RING FINGERS"
),
self
.
new
(
"
\u
{1f5e3}"
,
[
:speaking_head_in_silhouette
],
"SPEAKING HEAD IN SILHOUETTE"
),
self
.
new
(
"
\u
{26F9}"
,
[
:person_with_ball
],
"PERSON WITH BALL"
),
self
.
new
(
"
\u
{26F7}"
,
[
:skier
],
"SKIER"
),
self
.
new
(
"
\u
{1F468 200D 1F468 200D 1F466}"
,
[
:"man-man-boy"
],
"MAN MAN BOY"
),
self
.
new
(
"
\u
{1F468 200D 1F468 200D 1F466 200D 1F466}"
,
[
:"man-man-boy-boy"
],
"MAN MAN BOY BOY"
),
self
.
new
(
"
\u
{1F468 200D 1F468 200D 1F467 200D 1F466}"
,
[
:"man-man-girl-boy"
],
"MAN MAN GIRL BOY"
),
self
.
new
(
"
\u
{0000}"
,
[
:"man-man-girl-girl"
],
"MAN MAN GIRL GIRL"
),
self
.
new
(
"
\u
{1F468 200D 1F468 200D 1F467}"
,
[
:"man-man-girl"
],
"MAN MAN GIRL"
),
self
.
new
(
"
\u
{1F468 200D 1F469 200D 1F467 200D 1F467}"
,
[
:"man-woman-girl-girl"
],
"MAN WOMAN GIRL GIRL"
),
self
.
new
(
"
\u
{1F468 200D 1F469 200D 1F466 200D 1F466}"
,
[
:"man-woman-boy-boy"
],
"MAN WOMAN BOY BOY"
),
self
.
new
(
"
\u
{1F468 200D 1F469 200D 1F467}"
,
[
:"man-woman-girl"
],
"MAN WOMAN GIRL"
),
self
.
new
(
"
\u
{1F468 200D 1F469 200D 1F467 200D 1F466}"
,
[
:"man-woman-girl-boy"
],
"MAN WOMAN GIRL BOY"
),
self
.
new
(
"
\u
{1F469 200D 1F469 200D 1F466}"
,
[
:"woman-woman-boy"
],
"WOMAN WOMAN BOY"
),
self
.
new
(
"
\u
{1F469 200D 1F469 200D 1F466 200D 1F466}"
,
[
:"woman-woman-boy-boy"
],
"WOMAN WOMAN BOY BOY"
),
self
.
new
(
"
\u
{1F469 200D 1F469 200D 1F467}"
,
[
:"woman-woman-girl"
],
"WOMAN WOMAN GIRL"
),
self
.
new
(
"
\u
{1F469 200D 1F469 200D 1F467 200D 1F466}"
,
[
:"woman-woman-girl-boy"
],
"WOMAN WOMAN GIRL BOY"
),
self
.
new
(
"
\u
{1F469 200D 1F469 200D 1F467 200D 1F467}"
,
[
:"woman-woman-girl-girl"
],
"WOMAN WOMAN GIRL GIRL"
),
self
.
new
(
"
\u
{1F469 200D 2764 FE0F 200D 1F48B 200D 1F468}"
,
[
:"woman-kiss-man"
],
"WOMAN KISS MAN"
),
# ZWJ version of U+1F48F ("couple kiss")
self
.
new
(
"
\u
{1F469 200D 2764 FE0F 200D 1F468}"
,
[
:"woman-heart-man"
],
"WOMAN HEART MAN"
),
# ZWJ version of U+1F491 ("couple with heart")
self
.
new
(
"
\u
{1F468 200D 1F469 200D 1F466}"
,
[
:"man-woman-boy"
],
"MAN WOMAN BOY BOY"
),
# ZWJ version of U+1F46A ("family")
self
.
new
(
"
\u
{1F468 200D 2764 FE0F 200D 1F468}"
,
[
:"man-heart-man"
],
"MAN HEART MAN"
),
self
.
new
(
"
\u
{1F468 200D 2764 FE0F 200D 1F48B 200D 1F468}"
,
[
:"man-kiss-man"
],
"MAN KISS MAN"
),
self
.
new
(
"
\u
{1F469 200D 2764 FE0F 200D 1F469}"
,
[
:"woman-heart-woman"
],
"WOMAN HEART WOMAN"
),
self
.
new
(
"
\u
{1F469 200D 2764 FE0F 200D 1F48B 200D 1F469}"
,
[
:"woman-kiss-woman"
],
"WOMAN KISS WOMAN"
),
]
]
end
end
end
end
lib/rumoji/emoji/places.rb
View file @
d1314d39
This diff is collapsed.
Click to expand it.
lib/rumoji/emoji/symbols.rb
View file @
d1314d39
...
@@ -198,10 +198,41 @@ module Rumoji
...
@@ -198,10 +198,41 @@ module Rumoji
self
.
new
(
"
\u
{0030 fe0f 20e3}"
,
[
:zero
]),
self
.
new
(
"
\u
{0030 fe0f 20e3}"
,
[
:zero
]),
self
.
new
(
"
\u
{1f3fa}"
,
[
:black_circle_record
]),
self
.
new
(
"
\u
{1f3fa}"
,
[
:black_circle_record
]),
self
.
new
(
"
\u
{1f3f9}"
,
[
:black_square_stop
]),
self
.
new
(
"
\u
{1f3f9}"
,
[
:black_square_stop
]),
self
.
new
(
"
\u
{
1f
3f8}"
,
[
:double_vertical_bar
]),
self
.
new
(
"
\u
{
2
3f8}"
,
[
:double_vertical_bar
]),
self
.
new
(
"
\u
{1f549}"
,
[
:om
]),
self
.
new
(
"
\u
{1f549}"
,
[
:om
,
:om_symbol
]),
self
.
new
(
"
\u
{1f6d0}"
,
[
:place_worship
]),
self
.
new
(
"
\u
{1f6d0}"
,
[
:place_worship
]),
self
.
new
(
"
\u
{1f54e}"
,
[
:menorah
]),
self
.
new
(
"
\u
{1f54e}"
,
[
:menorah
,
:menorah_with_nine_branches
]),
self
.
new
(
"
\u
{23ed}"
,
[
:black_right_pointing_double_triangle_with_vertical_bar
],
"BLACK RIGHT-POINTING DOUBLE TRIANGLE WITH VERTICAL BAR"
),
self
.
new
(
"
\u
{23ee}"
,
[
:black_left_pointing_double_triangle_with_vertical_bar
],
"BLACK LEFT-POINTING DOUBLE TRIANGLE WITH VERTICAL BAR"
),
self
.
new
(
"
\u
{23ef}"
,
[
:black_right_pointing_triangle_with_double_vertical_bar
],
"BLACK RIGHT-POINTING TRIANGLE WITH DOUBLE VERTICAL BAR"
),
self
.
new
(
"
\u
{23f9}"
,
[
:black_square_for_stop
],
"BLACK SQUARE FOR STOP"
),
self
.
new
(
"
\u
{23fa}"
,
[
:black_circle_for_record
],
"BLACK CIRCLE FOR RECORD"
),
self
.
new
(
"
\u
{25aa}"
,
[
:black_small_square
],
"BLACK SMALL SQUARE"
),
self
.
new
(
"
\u
{25ab}"
,
[
:white_small_square
],
"WHITE SMALL SQUARE"
),
self
.
new
(
"
\u
{25fb}"
,
[
:white_medium_square
],
"WHITE MEDIUM SQUARE"
),
self
.
new
(
"
\u
{25fc}"
,
[
:black_medium_square
],
"BLACK MEDIUM SQUARE"
),
self
.
new
(
"
\u
{25fd}"
,
[
:white_medium_small_square
],
"WHITE MEDIUM SMALL SQUARE"
),
self
.
new
(
"
\u
{25fe}"
,
[
:black_medium_small_square
],
"BLACK MEDIUM SMALL SQUARE"
),
self
.
new
(
"
\u
{2622}"
,
[
:radioactive_sign
],
"RADIOACTIVE SIGN"
),
self
.
new
(
"
\u
{2623}"
,
[
:biohazard_sign
],
"BIOHAZARD SIGN"
),
self
.
new
(
"
\u
{2626}"
,
[
:orthodox_cross
],
"ORTHODOX CROSS"
),
self
.
new
(
"
\u
{262a}"
,
[
:star_and_crescent
],
"STAR AND CRESCENT"
),
self
.
new
(
"
\u
{262e}"
,
[
:peace_symbol
],
"PEACE SYMBOL"
),
self
.
new
(
"
\u
{262f}"
,
[
:yin_yang
],
"YIN YANG"
),
self
.
new
(
"
\u
{2638}"
,
[
:wheel_of_dharma
],
"WHEEL OF DHARMA"
),
self
.
new
(
"
\u
{269b}"
,
[
:atom_symbol
],
"ATOM SYMBOL"
),
self
.
new
(
"
\u
{269c}"
,
[
:fleur_de_lis
],
"FLEUR-DE-LIS"
),
self
.
new
(
"
\u
{271d}"
,
[
:latin_cross
],
"LATIN CROSS"
),
self
.
new
(
"
\u
{2721}"
,
[
:star_of_david
],
"STAR OF DAVID"
),
self
.
new
(
"
\u
{2747}"
,
[
:sparkle
],
"SPARKLE"
),
self
.
new
(
"
\u
{2763}"
,
[
:heavy_heart_exclamation_mark_ornament
],
"HEAVY HEART EXCLAMATION MARK ORNAMENT"
),
self
.
new
(
"
\u
{2b1b}"
,
[
:black_large_square
],
"BLACK LARGE SQUARE"
),
self
.
new
(
"
\u
{2b1c}"
,
[
:white_large_square
],
"WHITE LARGE SQUARE"
),
self
.
new
(
"
\u
{1f50a}"
,
[
:loud_sound
],
"SPEAKER WITH THREE SOUND WAVES"
),
self
.
new
(
"
\u
{1f519}"
,
[
:back
],
"BACK WITH LEFTWARDS ARROW ABOVE"
),
self
.
new
(
"
\u
{1f5ef}"
,
[
:right_anger_bubble
],
"RIGHT ANGER BUBBLE"
),
self
.
new
(
"
\u
{1f6d0}"
,
[
:place_of_worship
],
"PLACE OF WORSHIP"
),
self
.
new
(
"
\u
{1f6cc}"
,
[
:sleeping_accommodation
],
"SLEEPING ACCOMMODATION"
),
]
]
end
end
end
end
spec/rumoji_spec.rb
View file @
d1314d39
...
@@ -27,7 +27,7 @@ describe Rumoji do
...
@@ -27,7 +27,7 @@ describe Rumoji do
describe
"with multiple codepoints"
do
describe
"with multiple codepoints"
do
it
"transforms a stream"
do
it
"transforms a stream"
do
Rumoji
.
encode
(
"
#{
@zero
}
"
).
must_equal
":zero:"
Rumoji
.
encode
(
"
#{
@zero
}
"
).
must_equal
":zero:"
Rumoji
.
encode
(
"
#{
@us
}
"
).
must_equal
":us:"
Rumoji
.
encode
(
"
#{
@us
}
"
).
must_equal
":
flag-
us:"
end
end
it
"transforms a stream of many emoji"
do
it
"transforms a stream of many emoji"
do
...
@@ -45,7 +45,7 @@ describe Rumoji do
...
@@ -45,7 +45,7 @@ describe Rumoji do
describe
"with leading and trailing characters"
do
describe
"with leading and trailing characters"
do
it
"is able to pull multipoint emoji out of a sequence"
do
it
"is able to pull multipoint emoji out of a sequence"
do
string
=
"An example of a multipoint emoji is the
#{
@us
}
flag."
string
=
"An example of a multipoint emoji is the
#{
@us
}
flag."
Rumoji
.
encode
(
string
).
must_equal
"An example of a multipoint emoji is the :us: flag."
Rumoji
.
encode
(
string
).
must_equal
"An example of a multipoint emoji is the :
flag-
us: flag."
end
end
end
end
...
@@ -97,7 +97,7 @@ describe Rumoji do
...
@@ -97,7 +97,7 @@ describe Rumoji do
io1
=
StringIO
.
new
(
"
#{
@zero
}
"
)
io1
=
StringIO
.
new
(
"
#{
@zero
}
"
)
io2
=
StringIO
.
new
(
"
#{
@us
}
"
)
io2
=
StringIO
.
new
(
"
#{
@us
}
"
)
Rumoji
.
encode_io
(
io1
).
string
.
must_equal
":zero:"
Rumoji
.
encode_io
(
io1
).
string
.
must_equal
":zero:"
Rumoji
.
encode_io
(
io2
).
string
.
must_equal
":us:"
Rumoji
.
encode_io
(
io2
).
string
.
must_equal
":
flag-
us:"
end
end
it
"transforms a stream of many emoji"
do
it
"transforms a stream of many emoji"
do
...
@@ -115,7 +115,7 @@ describe Rumoji do
...
@@ -115,7 +115,7 @@ describe Rumoji do
describe
"with leading and trailing characters"
do
describe
"with leading and trailing characters"
do
it
"is able to pull multipoint emoji out of a sequence"
do
it
"is able to pull multipoint emoji out of a sequence"
do
io
=
StringIO
.
new
(
"An example of a multipoint emoji is the
#{
@us
}
flag."
)
io
=
StringIO
.
new
(
"An example of a multipoint emoji is the
#{
@us
}
flag."
)
Rumoji
.
encode_io
(
io
).
string
.
must_equal
"An example of a multipoint emoji is the :us: flag."
Rumoji
.
encode_io
(
io
).
string
.
must_equal
"An example of a multipoint emoji is the :
flag-
us: flag."
end
end
end
end
...
...
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