rubymoji 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 +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/lib/rubymoji.rb +12 -0
- data/lib/rubymoji/version.rb +3 -0
- data/rubymoji.gemspec +23 -0
- metadata +86 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Burke Libbey
|
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,29 @@
|
|
1
|
+
# Rubymoji
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'rubymoji'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install rubymoji
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/lib/rubymoji.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
require "rubymoji/version"
|
2
|
+
|
3
|
+
module Rubymoji
|
4
|
+
CODEPOINTS = [["+1", "1F44D"], ["-1", "1F44E"], ["8ball", "1F3B1"], ["a", "1F170"], ["ab", "1F18E"], ["airplane", "2708"], ["alien", "1F47D"], ["ambulance", "1F691"], ["angel", "1F47C"], ["anger", "1F4A2"], ["angry", "1F620"], ["apple", "1F34E"], ["aquarius", "2652"], ["aries", "2648"], ["arrow_backward", "25C0"], ["arrow_down", "2B07"], ["arrow_forward", "25B6"], ["arrow_left", "2B05"], ["arrow_lower_left", "2199"], ["arrow_lower_right", "2198"], ["arrow_right", "27A1"], ["arrow_up", "2B06"], ["arrow_upper_left", "2196"], ["arrow_upper_right", "2197"], ["art", "1F3A8"], ["astonished", "1F632"], ["atm", "1F3E7"], ["b", "1F171"], ["baby", "1F476"], ["baby_chick", "1F424"], ["baby_symbol", "1F6BC"], ["balloon", "1F388"], ["bamboo", "1F38D"], ["bank", "1F3E6"], ["barber", "1F488"], ["baseball", "26BE"], ["basketball", "1F3C0"], ["bath", "1F6C0"], ["bear", "1F43B"], ["beer", "1F37A"], ["beers", "1F37B"], ["beginner", "1F530"], ["bell", "1F514"], ["bento", "1F371"], ["bike", "1F6B2"], ["bikini", "1F459"], ["bird", "1F426"], ["birthday", "1F382"], ["black_square", "25FC"], ["blue_car", "1F699"], ["blue_heart", "1F499"], ["blush", "1F60A"], ["boar", "1F417"], ["boat", "26F5"], ["bomb", "1F4A3"], ["book", "1F4D6"], ["boot", "1F462"], ["bouquet", "1F490"], ["bow", "1F647"], ["boy", "1F466"], ["bread", "1F35E"], ["briefcase", "1F4BC"], ["broken_heart", "1F494"], ["bug", "1F41B"], ["bulb", "1F4A1"], ["bullettrain_front", "1F685"], ["bullettrain_side", "1F684"], ["bus", "1F68C"], ["busstop", "1F68F"], ["cactus", "1F335"], ["cake", "1F370"], ["calling", "1F4F2"], ["camel", "1F42B"], ["camera", "1F4F7"], ["cancer", "264B"], ["capricorn", "2651"], ["car", "1F697"], ["cat", "1F431"], ["cd", "1F4BF"], ["chart", "1F4B9"], ["checkered_flag", "1F3C1"], ["cherry_blossom", "1F338"], ["chicken", "1F414"], ["christmas_tree", "1F384"], ["church", "26EA"], ["cinema", "1F3A6"], ["city_sunrise", "1F307"], ["city_sunset", "1F306"], ["clap", "1F44F"], ["clapper", "1F3AC"], ["clock1", "1F550"], ["clock10", "1F559"], ["clock11", "1F55A"], ["clock12", "1F55B"], ["clock2", "1F551"], ["clock3", "1F552"], ["clock4", "1F553"], ["clock5", "1F554"], ["clock6", "1F555"], ["clock7", "1F556"], ["clock8", "1F557"], ["clock9", "1F558"], ["closed_umbrella", "1F302"], ["cloud", "2601"], ["clubs", "2663"], ["cocktail", "1F378"], ["coffee", "2615"], ["cold_sweat", "1F630"], ["computer", "1F4BB"], ["confounded", "1F616"], ["congratulations", "3297"], ["construction", "1F6A7"], ["construction_worker", "1F477"], ["convenience_store", "1F3EA"], ["cool", "1F192"], ["cop", "1F46E"], ["copyright", "00A9"], ["couple", "1F46B"], ["couple_with_heart", "1F491"], ["couplekiss", "1F48F"], ["cow", "1F42E"], ["crossed_flags", "1F38C"], ["crown", "1F451"], ["cry", "1F622"], ["cupid", "1F498"], ["currency_exchange", "1F4B1"], ["curry", "1F35B"], ["cyclone", "1F300"], ["dancer", "1F483"], ["dancers", "1F46F"], ["dango", "1F361"], ["dart", "1F3AF"], ["dash", "1F4A8"], ["department_store", "1F3EC"], ["diamonds", "2666"], ["disappointed", "1F61E"], ["dog", "1F436"], ["dolls", "1F38E"], ["dolphin", "1F42C"], ["dress", "1F457"], ["dvd", "1F4C0"], ["ear", "1F442"], ["ear_of_rice", "1F33E"], ["egg", "1F373"], ["eggplant", "1F346"], ["eight_pointed_black_star", "2734"], ["eight_spoked_asterisk", "2733"], ["elephant", "1F418"], ["email", "1F4E9"], ["european_castle", "1F3F0"], ["exclamation", "2755"], ["eyes", "1F440"], ["factory", "1F3ED"], ["fallen_leaf", "1F342"], ["fast_forward", "23E9"], ["fax", "1F4E0"], ["fearful", "1F628"], ["feet", "1F463"], ["ferris_wheel", "1F3A1"], ["fire", "1F525"], ["fire_engine", "1F692"], ["fireworks", "1F386"], ["fish", "1F41F"], ["fist", "270A"], ["flags", "1F38F"], ["flushed", "1F633"], ["football", "1F3C8"], ["fork_and_knife", "1F374"], ["fountain", "26F2"], ["four_leaf_clover", "1F340"], ["fries", "1F35F"], ["frog", "1F438"], ["fuelpump", "26FD"], ["gem", "1F48E"], ["gemini", "264A"], ["ghost", "1F47B"], ["gift", "1F381"], ["gift_heart", "1F49D"], ["girl", "1F467"], ["golf", "26F3"], ["green_heart", "1F49A"], ["grey_exclamation", "2755"], ["grey_question", "2754"], ["grin", "1F601"], ["guardsman", "1F482"], ["guitar", "1F3B8"], ["gun", "1F52B"], ["haircut", "1F487"], ["hamburger", "1F354"], ["hammer", "1F528"], ["hamster", "1F439"], ["hand", "270B"], ["handbag", "1F45C"], ["hankey", "1F4A9"], ["headphones", "1F3A7"], ["heart", "2764"], ["heart_decoration", "1F49F"], ["heart_eyes", "1F60D"], ["heartbeat", "1F493"], ["heartpulse", "1F497"], ["hearts", "2665"], ["hibiscus", "1F33A"], ["high_heel", "1F460"], ["horse", "1F434"], ["hospital", "1F3E5"], ["hotel", "1F3E8"], ["hotsprings", "2668"], ["house", "1F3E0"], ["icecream", "1F366"], ["id", "1F194"], ["ideograph_advantage", "1F250"], ["imp", "1F47F"], ["information_desk_person", "1F481"], ["iphone", "1F4F1"], ["jack_o_lantern", "1F383"], ["japanese_castle", "1F3EF"], ["joy", "1F602"], ["key", "1F511"], ["kimono", "1F458"], ["kiss", "1F48B"], ["kissing_face", "1F61A"], ["kissing_heart", "1F618"], ["koala", "1F428"], ["koko", "1F201"], ["leaves", "1F343"], ["leo", "264C"], ["libra", "264E"], ["lips", "1F444"], ["lipstick", "1F484"], ["lock", "1F512"], ["loop", "27BF"], ["loudspeaker", "1F4E2"], ["love_hotel", "1F3E9"], ["mag", "1F50D"], ["mahjong", "1F004"], ["mailbox", "1F4EB"], ["man", "1F468"], ["man_with_gua_pi_mao", "1F472"], ["man_with_turban", "1F473"], ["maple_leaf", "1F341"], ["mask", "1F637"], ["massage", "1F486"], ["mega", "1F4E3"], ["memo", "1F4DD"], ["mens", "1F6B9"], ["metro", "1F687"], ["microphone", "1F3A4"], ["minidisc", "1F4BD"], ["mobile_phone_off", "1F4F4"], ["moneybag", "1F4B0"], ["monkey", "1F412"], ["monkey_face", "1F435"], ["moon", "1F319"], ["mortar_board", "1F393"], ["mount_fuji", "1F5FB"], ["mouse", "1F42D"], ["movie_camera", "1F3A5"], ["muscle", "1F4AA"], ["musical_note", "1F3B5"], ["nail_care", "1F485"], ["necktie", "1F454"], ["new", "1F195"], ["no_good", "1F645"], ["no_smoking", "1F6AD"], ["nose", "1F443"], ["notes", "1F3B6"], ["o", "2B55"], ["o2", "1F17E"], ["ocean", "1F30A"], ["octopus", "1F419"], ["oden", "1F362"], ["office", "1F3E2"], ["ok", "1F197"], ["ok_hand", "1F44C"], ["ok_woman", "1F646"], ["older_man", "1F474"], ["older_woman", "1F475"], ["open_hands", "1F450"], ["ophiuchus", "26CE"], ["palm_tree", "1F334"], ["parking", "1F17F"], ["part_alternation_mark", "303D"], ["pencil", "1F4DD"], ["penguin", "1F427"], ["pensive", "1F614"], ["persevere", "1F623"], ["person_with_blond_hair", "1F471"], ["phone", "260E"], ["pig", "1F437"], ["pill", "1F48A"], ["pisces", "2653"], ["point_down", "1F447"], ["point_left", "1F448"], ["point_right", "1F449"], ["point_up", "261D"], ["point_up_2", "1F446"], ["police_car", "1F693"], ["poop", "1F4A9"], ["post_office", "1F3E3"], ["postbox", "1F4EE"], ["pray", "1F64F"], ["princess", "1F478"], ["punch", "1F44A"], ["purple_heart", "1F49C"], ["question", "2754"], ["rabbit", "1F430"], ["racehorse", "1F40E"], ["radio", "1F4FB"], ["rage", "1F621"], ["rainbow", "1F308"], ["raised_hands", "1F64C"], ["ramen", "1F35C"], ["red_car", "1F697"], ["red_circle", "1F534"], ["registered", "00AE"], ["relaxed", "263A"], ["relieved", "1F625"], ["restroom", "1F6BB"], ["rewind", "23EA"], ["ribbon", "1F380"], ["rice", "1F35A"], ["rice_ball", "1F359"], ["rice_cracker", "1F358"], ["rice_scene", "1F391"], ["ring", "1F48D"], ["rocket", "1F680"], ["roller_coaster", "1F3A2"], ["rose", "1F339"], ["runner", "1F3C3"], ["sa", "1F202"], ["sagittarius", "2650"], ["sailboat", "26F5"], ["sake", "1F376"], ["sandal", "1F461"], ["santa", "1F385"], ["satellite", "1F4E1"], ["satisfied", "1F60C"], ["saxophone", "1F3B7"], ["school", "1F3EB"], ["school_satchel", "1F392"], ["scissors", "2702"], ["scorpius", "264F"], ["scream", "1F631"], ["seat", "1F4BA"], ["secret", "3299"], ["shaved_ice", "1F367"], ["sheep", "1F411"], ["shell", "1F41A"], ["ship", "1F6A2"], ["shirt", "1F455"], ["shit", "1F4A9"], ["shoe", "1F45F"], ["signal_strength", "1F4F6"], ["six_pointed_star", "1F52F"], ["ski", "1F3BF"], ["skull", "1F480"], ["sleepy", "1F62A"], ["slot_machine", "1F3B0"], ["smile", "1F604"], ["smiley", "1F603"], ["smirk", "1F60F"], ["smoking", "1F6AC"], ["snake", "1F40D"], ["snowman", "26C4"], ["sob", "1F62D"], ["soccer", "26BD"], ["space_invader", "1F47E"], ["spades", "2660"], ["spaghetti", "1F35D"], ["sparkler", "1F387"], ["sparkles", "2728"], ["speaker", "1F50A"], ["speedboat", "1F6A4"], ["star", "1F31F"], ["star2", "1F31F"], ["stars", "1F303"], ["station", "1F689"], ["statue_of_liberty", "1F5FD"], ["stew", "1F372"], ["strawberry", "1F353"], ["sunflower", "1F33B"], ["sunny", "2600"], ["sunrise", "1F305"], ["sunrise_over_mountains", "1F304"], ["surfer", "1F3C4"], ["sushi", "1F363"], ["sweat", "1F613"], ["sweat_drops", "1F4A6"], ["swimmer", "1F3CA"], ["syringe", "1F489"], ["tada", "1F389"], ["tangerine", "1F34A"], ["taurus", "2649"], ["taxi", "1F695"], ["tea", "1F375"], ["telephone", "260E"], ["tennis", "1F3BE"], ["tent", "26FA"], ["thumbsdown", "1F44E"], ["thumbsup", "1F44D"], ["ticket", "1F3AB"], ["tiger", "1F42F"], ["tm", "2122"], ["toilet", "1F6BD"], ["tokyo_tower", "1F5FC"], ["tomato", "1F345"], ["tongue", "1F61D"], ["top", "1F51D"], ["tophat", "1F3A9"], ["traffic_light", "1F6A5"], ["train", "1F683"], ["trident", "1F531"], ["trophy", "1F3C6"], ["tropical_fish", "1F420"], ["truck", "1F69A"], ["trumpet", "1F3BA"], ["tshirt", "1F455"], ["tulip", "1F337"], ["tv", "1F4FA"], ["u5272", "1F239"], ["u55b6", "1F23A"], ["u6307", "1F22F"], ["u6708", "1F237"], ["u6709", "1F236"], ["u6e80", "1F235"], ["u7121", "1F21A"], ["u7533", "1F238"], ["u7a7a", "1F233"], ["umbrella", "2614"], ["unamused", "1F612"], ["underage", "1F51E"], ["unlock", "1F513"], ["up", "1F199"], ["v", "270C"], ["vhs", "1F4FC"], ["vibration_mode", "1F4F3"], ["virgo", "264D"], ["vs", "1F19A"], ["walking", "1F6B6"], ["warning", "26A0"], ["watermelon", "1F349"], ["wave", "1F44B"], ["wc", "1F6BE"], ["wedding", "1F492"], ["whale", "1F433"], ["wheelchair", "267F"], ["white_square", "2B1C"], ["wind_chime", "1F390"], ["wink", "1F609"], ["wink2", "1F61C"], ["wolf", "1F43A"], ["woman", "1F469"], ["womans_hat", "1F452"], ["womens", "1F6BA"], ["x", "274C"], ["yellow_heart", "1F49B"], ["zap", "26A1"], ["zzz", "1F4A4"], ["100", "1F4AF"], ["1234", "1F522"], ["abc", "1F524"], ["abcd", "1F521"], ["accept", "1F251"], ["aerial_tramway", "1F6A1"], ["alarm_clock", "23F0"], ["anchor", "2693"], ["ant", "1F41C"], ["arrow_double_down", "23EC"], ["arrow_double_up", "23EB"], ["arrow_down_small", "1F53D"], ["arrow_heading_down", "2935"], ["arrow_heading_up", "2934"], ["arrow_right_hook", "21AA"], ["arrow_up_down", "2195"], ["arrow_up_small", "1F53C"], ["arrows_clockwise", "1F503"], ["arrows_counterclockwise", "1F504"], ["articulated_lorry", "1F69B"], ["baby_bottle", "1F37C"], ["baggage_claim", "1F6C4"], ["ballot_box_with_check", "2611"], ["banana", "1F34C"], ["bangbang", "203C"], ["bar_chart", "1F4CA"], ["bathtub", "1F6C1"], ["battery", "1F50B"], ["beetle", "1F41E"], ["bicyclist", "1F6B4"], ["black_circle", "26AB"], ["black_joker", "1F0CF"], ["black_nib", "2712"], ["blossom", "1F33C"], ["blowfish", "1F421"], ["blue_book", "1F4D8"], ["bookmark", "1F516"], ["bookmark_tabs", "1F4D1"], ["books", "1F4DA"], ["bowling", "1F3B3"], ["bride_with_veil", "1F470"], ["bridge_at_night", "1F309"], ["bust_in_silhouette", "1F464"], ["busts_in_silhouette", "1F465"], ["calendar", "1F4C6"], ["candy", "1F36C"], ["capital_abcd", "1F520"], ["card_index", "1F4C7"], ["carousel_horse", "1F3A0"], ["cat2", "1F408"], ["chart_with_downwards_trend", "1F4C9"], ["chart_with_upwards_trend", "1F4C8"], ["cherries", "1F352"], ["chestnut", "1F330"], ["children_crossing", "1F6B8"], ["chocolate_bar", "1F36B"], ["circus_tent", "1F3AA"], ["cl", "1F191"], ["clipboard", "1F4CB"], ["clock1030", "1F565"], ["clock1130", "1F566"], ["clock1230", "1F567"], ["clock130", "1F55C"], ["clock230", "1F55D"], ["clock330", "1F55E"], ["clock430", "1F55F"], ["clock530", "1F560"], ["clock630", "1F561"], ["clock730", "1F562"], ["clock830", "1F563"], ["clock930", "1F564"], ["closed_book", "1F4D5"], ["closed_lock_with_key", "1F510"], ["collision", "1F4A5"], ["confetti_ball", "1F38A"], ["cookie", "1F36A"], ["corn", "1F33D"], ["cow2", "1F404"], ["credit_card", "1F4B3"], ["crocodile", "1F40A"], ["crying_cat_face", "1F63F"], ["crystal_ball", "1F52E"], ["curly_loop", "27B0"], ["custard", "1F36E"], ["customs", "1F6C3"], ["date", "1F4C5"], ["deciduous_tree", "1F333"], ["diamond_shape_with_a_dot_inside", "1F4A0"], ["dizzy", "1F4AB"], ["dizzy_face", "1F635"], ["do_not_litter", "1F6AF"], ["dog2", "1F415"], ["dollar", "1F4B5"], ["door", "1F6AA"], ["doughnut", "1F369"], ["dragon", "1F409"], ["dragon_face", "1F432"], ["dromedary_camel", "1F42A"], ["droplet", "1F4A7"], ["e-mail", "1F4E7"], ["earth_africa", "1F30D"], ["earth_americas", "1F30E"], ["earth_asia", "1F30F"], ["electric_plug", "1F50C"], ["end", "1F51A"], ["envelope", "2709"], ["euro", "1F4B6"], ["european_post_office", "1F3E4"], ["evergreen_tree", "1F332"], ["eyeglasses", "1F453"], ["facepunch", "1F44A"], ["family", "1F46A"], ["file_folder", "1F4C1"], ["first_quarter_moon", "1F313"], ["first_quarter_moon_with_face", "1F31B"], ["fish_cake", "1F365"], ["fishing_pole_and_fish", "1F3A3"], ["flashlight", "1F526"], ["floppy_disk", "1F4BE"], ["flower_playing_cards", "1F3B4"], ["foggy", "1F301"], ["free", "1F193"], ["fried_shrimp", "1F364"], ["full_moon", "1F315"], ["full_moon_with_face", "1F31D"], ["game_die", "1F3B2"], ["globe_with_meridians", "1F310"], ["goat", "1F410"], ["grapes", "1F347"], ["green_apple", "1F34F"], ["green_book", "1F4D7"], ["hatched_chick", "1F425"], ["hatching_chick", "1F423"], ["hear_no_evil", "1F649"], ["heart_eyes_cat", "1F63B"], ["heavy_check_mark", "2714"], ["heavy_division_sign", "2797"], ["heavy_dollar_sign", "1F4B2"], ["heavy_exclamation_mark", "2757"], ["heavy_minus_sign", "2796"], ["heavy_multiplication_x", "2716"], ["heavy_plus_sign", "2795"], ["helicopter", "1F681"], ["herb", "1F33F"], ["high_brightness", "1F506"], ["hocho", "1F52A"], ["honey_pot", "1F36F"], ["honeybee", "1F41D"], ["horse_racing", "1F3C7"], ["hourglass", "23F3"], ["ice_cream", "1F368"], ["inbox_tray", "1F4E5"], ["incoming_envelope", "1F4E8"], ["information_source", "2139"], ["innocent", "1F607"], ["interrobang", "2049"], ["izakaya_lantern", "1F3EE"], ["japan", "1F5FE"], ["japanese_goblin", "1F47A"], ["japanese_ogre", "1F479"], ["jeans", "1F456"], ["joy_cat", "1F639"], ["keycap_ten", "1F51F"], ["kissing_cat", "1F63D"], ["large_blue_circle", "1F535"], ["large_blue_diamond", "1F537"], ["large_orange_diamond", "1F536"], ["last_quarter_moon", "1F317"], ["last_quarter_moon_with_face", "1F31C"], ["laughing", "1F606"], ["ledger", "1F4D2"], ["left_luggage", "1F6C5"], ["left_right_arrow", "2194"], ["leftwards_arrow_with_hook", "21A9"], ["lemon", "1F34B"], ["leopard", "1F406"], ["light_rail", "1F688"], ["link", "1F517"], ["lock_with_ink_pen", "1F50F"], ["lollipop", "1F36D"], ["love_letter", "1F48C"], ["low_brightness", "1F505"], ["m", "24C2"], ["mag_right", "1F50E"], ["mailbox_closed", "1F4EA"], ["mailbox_with_mail", "1F4EC"], ["mailbox_with_no_mail", "1F4ED"], ["mans_shoe", "1F45E"], ["meat_on_bone", "1F356"], ["melon", "1F348"], ["microscope", "1F52C"], ["milky_way", "1F30C"], ["minibus", "1F690"], ["money_with_wings", "1F4B8"], ["monorail", "1F69D"], ["mountain_bicyclist", "1F6B5"], ["mountain_cableway", "1F6A0"], ["mountain_railway", "1F69E"], ["mouse2", "1F401"], ["moyai", "1F5FF"], ["mushroom", "1F344"], ["musical_keyboard", "1F3B9"], ["musical_score", "1F3BC"], ["mute", "1F507"], ["name_badge", "1F4DB"], ["negative_squared_cross_mark", "274E"], ["neutral_face", "1F610"], ["new_moon", "1F311"], ["new_moon_with_face", "1F31A"], ["newspaper", "1F4F0"], ["ng", "1F196"], ["no_bell", "1F515"], ["no_bicycles", "1F6B3"], ["no_entry", "26D4"], ["no_entry_sign", "1F6AB"], ["no_mobile_phones", "1F4F5"], ["no_mouth", "1F636"], ["no_pedestrians", "1F6B7"], ["non-potable_water", "1F6B1"], ["notebook", "1F4D3"], ["notebook_with_decorative_cover", "1F4D4"], ["nut_and_bolt", "1F529"], ["on", "1F51B"], ["oncoming_automobile", "1F698"], ["oncoming_bus", "1F68D"], ["oncoming_police_car", "1F694"], ["oncoming_taxi", "1F696"], ["open_file_folder", "1F4C2"], ["orange_book", "1F4D9"], ["outbox_tray", "1F4E4"], ["ox", "1F402"], ["page_facing_up", "1F4C4"], ["page_with_curl", "1F4C3"], ["pager", "1F4DF"], ["panda_face", "1F43C"], ["paperclip", "1F4CE"], ["partly_sunny", "26C5"], ["passport_control", "1F6C2"], ["paw_prints", "1F43E"], ["peach", "1F351"], ["pear", "1F350"], ["pencil2", "270F"], ["performing_arts", "1F3AD"], ["person_frowning", "1F64D"], ["person_with_pouting_face", "1F64E"], ["pig2", "1F416"], ["pig_nose", "1F43D"], ["pineapple", "1F34D"], ["pizza", "1F355"], ["poodle", "1F429"], ["postal_horn", "1F4EF"], ["potable_water", "1F6B0"], ["pouch", "1F45D"], ["poultry_leg", "1F357"], ["pound", "1F4B7"], ["pouting_cat", "1F63E"], ["purse", "1F45B"], ["pushpin", "1F4CC"], ["put_litter_in_its_place", "1F6AE"], ["rabbit2", "1F407"], ["radio_button", "1F518"], ["railway_car", "1F683"], ["raised_hand", "1F64B"], ["ram", "1F40F"], ["rat", "1F400"], ["recycle", "267B"], ["repeat", "1F501"], ["repeat_one", "1F502"], ["revolving_hearts", "1F49E"], ["rooster", "1F413"], ["rotating_light", "1F6A8"], ["round_pushpin", "1F4CD"], ["rowboat", "1F6A3"], ["rugby_football", "1F3C9"], ["running", "1F3C3"], ["running_shirt_with_sash", "1F3BD"], ["scream_cat", "1F640"], ["scroll", "1F4DC"], ["see_no_evil", "1F648"], ["seedling", "1F331"], ["shower", "1F6BF"], ["small_blue_diamond", "1F539"], ["small_orange_diamond", "1F538"], ["small_red_triangle", "1F53A"], ["small_red_triangle_down", "1F53B"], ["smile_cat", "1F638"], ["smiley_cat", "1F63A"], ["smiling_imp", "1F608"], ["smirk_cat", "1F63C"], ["snail", "1F40C"], ["snowboarder", "1F3C2"], ["snowflake", "2744"], ["soon", "1F51C"], ["sos", "1F198"], ["sound", "1F509"], ["speak_no_evil", "1F64A"], ["speech_balloon", "1F4AC"], ["steam_locomotive", "1F682"], ["straight_ruler", "1F4CF"], ["sun_with_face", "1F31E"], ["sunglasses", "1F60E"], ["suspension_railway", "1F69F"], ["sweat_smile", "1F605"], ["sweet_potato", "1F360"], ["symbols", "1F523"], ["tanabata_tree", "1F38B"], ["telephone_receiver", "1F4DE"], ["telescope", "1F52D"], ["thought_balloon", "1F4AD"], ["tiger2", "1F405"], ["tired_face", "1F62B"], ["tongue2", "1F445"], ["tractor", "1F69C"], ["train2", "1F686"], ["tram", "1F68A"], ["triangular_flag_on_post", "1F6A9"], ["triangular_ruler", "1F4D0"], ["triumph", "1F624"], ["trolleybus", "1F68E"], ["tropical_drink", "1F379"], ["turtle", "1F422"], ["twisted_rightwards_arrows", "1F500"], ["two_hearts", "1F495"], ["two_men_holding_hands", "1F46C"], ["two_women_holding_hands", "1F46D"], ["u5408", "1F234"], ["u7981", "1F232"], ["vertical_traffic_light", "1F6A6"], ["video_camera", "1F4F9"], ["video_game", "1F3AE"], ["violin", "1F3BB"], ["volcano", "1F30B"], ["waning_crescent_moon", "1F318"], ["waning_gibbous_moon", "1F316"], ["watch", "231A"], ["water_buffalo", "1F403"], ["wavy_dash", "3030"], ["waxing_crescent_moon", "1F312"], ["waxing_gibbous_moon", "1F314"], ["weary", "1F629"], ["whale2", "1F40B"], ["white_circle", "26AA"], ["white_flower", "1F4AE"], ["wine_glass", "1F377"], ["womans_clothes", "1F45A"], ["wrench", "1F527"], ["yen", "1F4B4"], ["yum", "1F60B"], ["boom", "1F4A5"], ["white_check_mark", "2705"]]
|
5
|
+
|
6
|
+
singleton = class << self ; self ; end
|
7
|
+
CODEPOINTS.each do |name, hex|
|
8
|
+
singleton.send(:define_method, name) do
|
9
|
+
[hex.to_i(16)].pack("U")
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
data/rubymoji.gemspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'rubymoji/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "rubymoji"
|
8
|
+
spec.version = Rubymoji::VERSION
|
9
|
+
spec.authors = ["Burke Libbey"]
|
10
|
+
spec.email = ["burke@libbey.me"]
|
11
|
+
spec.description = %q{Handy methods to make emoji}
|
12
|
+
spec.summary = %q{Handy methods to make emoji}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
end
|
metadata
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rubymoji
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.1
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Burke Libbey
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-04-17 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.3'
|
20
|
+
none: false
|
21
|
+
name: bundler
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
requirement: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - ~>
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '1.3'
|
29
|
+
none: false
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
version_requirements: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ! '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
none: false
|
37
|
+
name: rake
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
requirement: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
none: false
|
46
|
+
description: Handy methods to make emoji
|
47
|
+
email:
|
48
|
+
- burke@libbey.me
|
49
|
+
executables: []
|
50
|
+
extensions: []
|
51
|
+
extra_rdoc_files: []
|
52
|
+
files:
|
53
|
+
- .gitignore
|
54
|
+
- Gemfile
|
55
|
+
- LICENSE.txt
|
56
|
+
- README.md
|
57
|
+
- Rakefile
|
58
|
+
- lib/rubymoji.rb
|
59
|
+
- lib/rubymoji/version.rb
|
60
|
+
- rubymoji.gemspec
|
61
|
+
homepage: ''
|
62
|
+
licenses:
|
63
|
+
- MIT
|
64
|
+
post_install_message:
|
65
|
+
rdoc_options: []
|
66
|
+
require_paths:
|
67
|
+
- lib
|
68
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ! '>='
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0'
|
73
|
+
none: false
|
74
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
none: false
|
80
|
+
requirements: []
|
81
|
+
rubyforge_project:
|
82
|
+
rubygems_version: 1.8.23
|
83
|
+
signing_key:
|
84
|
+
specification_version: 3
|
85
|
+
summary: Handy methods to make emoji
|
86
|
+
test_files: []
|