md_emoji 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +7 -0
- data/README.markdown +63 -0
- data/Rakefile +37 -0
- data/lib/md_emoji/engine.rb +4 -0
- data/lib/md_emoji/render.rb +19 -0
- data/lib/md_emoji/version.rb +3 -0
- data/lib/md_emoji.rb +62 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +9 -0
- data/test/dummy/app/assets/stylesheets/application.css +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config/application.rb +48 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +30 -0
- data/test/dummy/config/environments/production.rb +60 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/log/test.log +0 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/md_emoji_test.rb +34 -0
- data/test/test_helper.rb +12 -0
- data/vendor/assets/images/emojis/-1.png +0 -0
- data/vendor/assets/images/emojis/0.png +0 -0
- data/vendor/assets/images/emojis/1.png +0 -0
- data/vendor/assets/images/emojis/109.png +0 -0
- data/vendor/assets/images/emojis/2.png +0 -0
- data/vendor/assets/images/emojis/3.png +0 -0
- data/vendor/assets/images/emojis/4.png +0 -0
- data/vendor/assets/images/emojis/5.png +0 -0
- data/vendor/assets/images/emojis/6.png +0 -0
- data/vendor/assets/images/emojis/7.png +0 -0
- data/vendor/assets/images/emojis/8.png +0 -0
- data/vendor/assets/images/emojis/8ball.png +0 -0
- data/vendor/assets/images/emojis/9.png +0 -0
- data/vendor/assets/images/emojis/a.png +0 -0
- data/vendor/assets/images/emojis/ab.png +0 -0
- data/vendor/assets/images/emojis/airplane.png +0 -0
- data/vendor/assets/images/emojis/alien.png +0 -0
- data/vendor/assets/images/emojis/ambulance.png +0 -0
- data/vendor/assets/images/emojis/angel.png +0 -0
- data/vendor/assets/images/emojis/anger.png +0 -0
- data/vendor/assets/images/emojis/angry.png +0 -0
- data/vendor/assets/images/emojis/apple.png +0 -0
- data/vendor/assets/images/emojis/aquarius.png +0 -0
- data/vendor/assets/images/emojis/aries.png +0 -0
- data/vendor/assets/images/emojis/arrow_backward.png +0 -0
- data/vendor/assets/images/emojis/arrow_down.png +0 -0
- data/vendor/assets/images/emojis/arrow_forward.png +0 -0
- data/vendor/assets/images/emojis/arrow_left.png +0 -0
- data/vendor/assets/images/emojis/arrow_lower_left.png +0 -0
- data/vendor/assets/images/emojis/arrow_lower_right.png +0 -0
- data/vendor/assets/images/emojis/arrow_right.png +0 -0
- data/vendor/assets/images/emojis/arrow_up.png +0 -0
- data/vendor/assets/images/emojis/arrow_upper_left.png +0 -0
- data/vendor/assets/images/emojis/arrow_upper_right.png +0 -0
- data/vendor/assets/images/emojis/art.png +0 -0
- data/vendor/assets/images/emojis/astonished.png +0 -0
- data/vendor/assets/images/emojis/atm.png +0 -0
- data/vendor/assets/images/emojis/b.png +0 -0
- data/vendor/assets/images/emojis/baby.png +0 -0
- data/vendor/assets/images/emojis/baby_chick.png +0 -0
- data/vendor/assets/images/emojis/baby_symbol.png +0 -0
- data/vendor/assets/images/emojis/balloon.png +0 -0
- data/vendor/assets/images/emojis/bamboo.png +0 -0
- data/vendor/assets/images/emojis/bank.png +0 -0
- data/vendor/assets/images/emojis/barber.png +0 -0
- data/vendor/assets/images/emojis/baseball.png +0 -0
- data/vendor/assets/images/emojis/basketball.png +0 -0
- data/vendor/assets/images/emojis/bath.png +0 -0
- data/vendor/assets/images/emojis/bear.png +0 -0
- data/vendor/assets/images/emojis/beer.png +0 -0
- data/vendor/assets/images/emojis/beers.png +0 -0
- data/vendor/assets/images/emojis/beginner.png +0 -0
- data/vendor/assets/images/emojis/bell.png +0 -0
- data/vendor/assets/images/emojis/bento.png +0 -0
- data/vendor/assets/images/emojis/bike.png +0 -0
- data/vendor/assets/images/emojis/bikini.png +0 -0
- data/vendor/assets/images/emojis/bird.png +0 -0
- data/vendor/assets/images/emojis/birthday.png +0 -0
- data/vendor/assets/images/emojis/black_square.png +0 -0
- data/vendor/assets/images/emojis/blue_car.png +0 -0
- data/vendor/assets/images/emojis/blue_heart.png +0 -0
- data/vendor/assets/images/emojis/blush.png +0 -0
- data/vendor/assets/images/emojis/boar.png +0 -0
- data/vendor/assets/images/emojis/boat.png +0 -0
- data/vendor/assets/images/emojis/bomb.png +0 -0
- data/vendor/assets/images/emojis/book.png +0 -0
- data/vendor/assets/images/emojis/boot.png +0 -0
- data/vendor/assets/images/emojis/bouquet.png +0 -0
- data/vendor/assets/images/emojis/bow.png +0 -0
- data/vendor/assets/images/emojis/bowtie.png +0 -0
- data/vendor/assets/images/emojis/boy.png +0 -0
- data/vendor/assets/images/emojis/bread.png +0 -0
- data/vendor/assets/images/emojis/briefcase.png +0 -0
- data/vendor/assets/images/emojis/broken_heart.png +0 -0
- data/vendor/assets/images/emojis/bug.png +0 -0
- data/vendor/assets/images/emojis/bulb.png +0 -0
- data/vendor/assets/images/emojis/bullettrain_front.png +0 -0
- data/vendor/assets/images/emojis/bullettrain_side.png +0 -0
- data/vendor/assets/images/emojis/bus.png +0 -0
- data/vendor/assets/images/emojis/busstop.png +0 -0
- data/vendor/assets/images/emojis/cactus.png +0 -0
- data/vendor/assets/images/emojis/cake.png +0 -0
- data/vendor/assets/images/emojis/calling.png +0 -0
- data/vendor/assets/images/emojis/camel.png +0 -0
- data/vendor/assets/images/emojis/camera.png +0 -0
- data/vendor/assets/images/emojis/cancer.png +0 -0
- data/vendor/assets/images/emojis/capricorn.png +0 -0
- data/vendor/assets/images/emojis/car.png +0 -0
- data/vendor/assets/images/emojis/cat.png +0 -0
- data/vendor/assets/images/emojis/cd.png +0 -0
- data/vendor/assets/images/emojis/chart.png +0 -0
- data/vendor/assets/images/emojis/checkered_flag.png +0 -0
- data/vendor/assets/images/emojis/cherry_blossom.png +0 -0
- data/vendor/assets/images/emojis/chicken.png +0 -0
- data/vendor/assets/images/emojis/christmas_tree.png +0 -0
- data/vendor/assets/images/emojis/church.png +0 -0
- data/vendor/assets/images/emojis/cinema.png +0 -0
- data/vendor/assets/images/emojis/city_sunrise.png +0 -0
- data/vendor/assets/images/emojis/city_sunset.png +0 -0
- data/vendor/assets/images/emojis/clap.png +0 -0
- data/vendor/assets/images/emojis/clapper.png +0 -0
- data/vendor/assets/images/emojis/clock1.png +0 -0
- data/vendor/assets/images/emojis/clock10.png +0 -0
- data/vendor/assets/images/emojis/clock11.png +0 -0
- data/vendor/assets/images/emojis/clock12.png +0 -0
- data/vendor/assets/images/emojis/clock2.png +0 -0
- data/vendor/assets/images/emojis/clock3.png +0 -0
- data/vendor/assets/images/emojis/clock4.png +0 -0
- data/vendor/assets/images/emojis/clock5.png +0 -0
- data/vendor/assets/images/emojis/clock6.png +0 -0
- data/vendor/assets/images/emojis/clock7.png +0 -0
- data/vendor/assets/images/emojis/clock8.png +0 -0
- data/vendor/assets/images/emojis/clock9.png +0 -0
- data/vendor/assets/images/emojis/closed_umbrella.png +0 -0
- data/vendor/assets/images/emojis/cloud.png +0 -0
- data/vendor/assets/images/emojis/clubs.png +0 -0
- data/vendor/assets/images/emojis/cn.png +0 -0
- data/vendor/assets/images/emojis/cocktail.png +0 -0
- data/vendor/assets/images/emojis/coffee.png +0 -0
- data/vendor/assets/images/emojis/cold_sweat.png +0 -0
- data/vendor/assets/images/emojis/computer.png +0 -0
- data/vendor/assets/images/emojis/confounded.png +0 -0
- data/vendor/assets/images/emojis/congratulations.png +0 -0
- data/vendor/assets/images/emojis/construction.png +0 -0
- data/vendor/assets/images/emojis/construction_worker.png +0 -0
- data/vendor/assets/images/emojis/convenience_store.png +0 -0
- data/vendor/assets/images/emojis/cool.png +0 -0
- data/vendor/assets/images/emojis/cop.png +0 -0
- data/vendor/assets/images/emojis/copyright.png +0 -0
- data/vendor/assets/images/emojis/couple.png +0 -0
- data/vendor/assets/images/emojis/couple_with_heart.png +0 -0
- data/vendor/assets/images/emojis/couplekiss.png +0 -0
- data/vendor/assets/images/emojis/cow.png +0 -0
- data/vendor/assets/images/emojis/crossed_flags.png +0 -0
- data/vendor/assets/images/emojis/crown.png +0 -0
- data/vendor/assets/images/emojis/cry.png +0 -0
- data/vendor/assets/images/emojis/cupid.png +0 -0
- data/vendor/assets/images/emojis/currency_exchange.png +0 -0
- data/vendor/assets/images/emojis/curry.png +0 -0
- data/vendor/assets/images/emojis/cyclone.png +0 -0
- data/vendor/assets/images/emojis/dancer.png +0 -0
- data/vendor/assets/images/emojis/dancers.png +0 -0
- data/vendor/assets/images/emojis/dango.png +0 -0
- data/vendor/assets/images/emojis/dart.png +0 -0
- data/vendor/assets/images/emojis/dash.png +0 -0
- data/vendor/assets/images/emojis/de.png +0 -0
- data/vendor/assets/images/emojis/department_store.png +0 -0
- data/vendor/assets/images/emojis/diamonds.png +0 -0
- data/vendor/assets/images/emojis/disappointed.png +0 -0
- data/vendor/assets/images/emojis/dog.png +0 -0
- data/vendor/assets/images/emojis/dolls.png +0 -0
- data/vendor/assets/images/emojis/dolphin.png +0 -0
- data/vendor/assets/images/emojis/dress.png +0 -0
- data/vendor/assets/images/emojis/dvd.png +0 -0
- data/vendor/assets/images/emojis/ear.png +0 -0
- data/vendor/assets/images/emojis/ear_of_rice.png +0 -0
- data/vendor/assets/images/emojis/egg.png +0 -0
- data/vendor/assets/images/emojis/eggplant.png +0 -0
- data/vendor/assets/images/emojis/egplant.png +0 -0
- data/vendor/assets/images/emojis/eight_pointed_black_star.png +0 -0
- data/vendor/assets/images/emojis/eight_spoked_asterisk.png +0 -0
- data/vendor/assets/images/emojis/elephant.png +0 -0
- data/vendor/assets/images/emojis/email.png +0 -0
- data/vendor/assets/images/emojis/es.png +0 -0
- data/vendor/assets/images/emojis/european_castle.png +0 -0
- data/vendor/assets/images/emojis/exclamation.png +0 -0
- data/vendor/assets/images/emojis/eyes.png +0 -0
- data/vendor/assets/images/emojis/factory.png +0 -0
- data/vendor/assets/images/emojis/fallen_leaf.png +0 -0
- data/vendor/assets/images/emojis/fast_forward.png +0 -0
- data/vendor/assets/images/emojis/fax.png +0 -0
- data/vendor/assets/images/emojis/fearful.png +0 -0
- data/vendor/assets/images/emojis/feelsgood.png +0 -0
- data/vendor/assets/images/emojis/feet.png +0 -0
- data/vendor/assets/images/emojis/ferris_wheel.png +0 -0
- data/vendor/assets/images/emojis/finnadie.png +0 -0
- data/vendor/assets/images/emojis/fire.png +0 -0
- data/vendor/assets/images/emojis/fire_engine.png +0 -0
- data/vendor/assets/images/emojis/fireworks.png +0 -0
- data/vendor/assets/images/emojis/fish.png +0 -0
- data/vendor/assets/images/emojis/fist.png +0 -0
- data/vendor/assets/images/emojis/flags.png +0 -0
- data/vendor/assets/images/emojis/flushed.png +0 -0
- data/vendor/assets/images/emojis/football.png +0 -0
- data/vendor/assets/images/emojis/fork_and_knife.png +0 -0
- data/vendor/assets/images/emojis/fountain.png +0 -0
- data/vendor/assets/images/emojis/four_leaf_clover.png +0 -0
- data/vendor/assets/images/emojis/fr.png +0 -0
- data/vendor/assets/images/emojis/fries.png +0 -0
- data/vendor/assets/images/emojis/frog.png +0 -0
- data/vendor/assets/images/emojis/fuelpump.png +0 -0
- data/vendor/assets/images/emojis/gb.png +0 -0
- data/vendor/assets/images/emojis/gem.png +0 -0
- data/vendor/assets/images/emojis/gemini.png +0 -0
- data/vendor/assets/images/emojis/ghost.png +0 -0
- data/vendor/assets/images/emojis/gift.png +0 -0
- data/vendor/assets/images/emojis/gift_heart.png +0 -0
- data/vendor/assets/images/emojis/girl.png +0 -0
- data/vendor/assets/images/emojis/goberserk.png +0 -0
- data/vendor/assets/images/emojis/godmode.png +0 -0
- data/vendor/assets/images/emojis/golf.png +0 -0
- data/vendor/assets/images/emojis/green_heart.png +0 -0
- data/vendor/assets/images/emojis/grey_exclamation.png +0 -0
- data/vendor/assets/images/emojis/grey_question.png +0 -0
- data/vendor/assets/images/emojis/grin.png +0 -0
- data/vendor/assets/images/emojis/guardsman.png +0 -0
- data/vendor/assets/images/emojis/guitar.png +0 -0
- data/vendor/assets/images/emojis/gun.png +0 -0
- data/vendor/assets/images/emojis/haircut.png +0 -0
- data/vendor/assets/images/emojis/hamburger.png +0 -0
- data/vendor/assets/images/emojis/hammer.png +0 -0
- data/vendor/assets/images/emojis/hamster.png +0 -0
- data/vendor/assets/images/emojis/hand.png +0 -0
- data/vendor/assets/images/emojis/handbag.png +0 -0
- data/vendor/assets/images/emojis/hankey.png +0 -0
- data/vendor/assets/images/emojis/hash.png +0 -0
- data/vendor/assets/images/emojis/headphones.png +0 -0
- data/vendor/assets/images/emojis/heart.png +0 -0
- data/vendor/assets/images/emojis/heart_decoration.png +0 -0
- data/vendor/assets/images/emojis/heart_eyes.png +0 -0
- data/vendor/assets/images/emojis/heartbeat.png +0 -0
- data/vendor/assets/images/emojis/heartpulse.png +0 -0
- data/vendor/assets/images/emojis/hearts.png +0 -0
- data/vendor/assets/images/emojis/hibiscus.png +0 -0
- data/vendor/assets/images/emojis/high_heel.png +0 -0
- data/vendor/assets/images/emojis/horse.png +0 -0
- data/vendor/assets/images/emojis/hospital.png +0 -0
- data/vendor/assets/images/emojis/hotel.png +0 -0
- data/vendor/assets/images/emojis/hotsprings.png +0 -0
- data/vendor/assets/images/emojis/house.png +0 -0
- data/vendor/assets/images/emojis/hurtrealbad.png +0 -0
- data/vendor/assets/images/emojis/icecream.png +0 -0
- data/vendor/assets/images/emojis/id.png +0 -0
- data/vendor/assets/images/emojis/ideograph_advantage.png +0 -0
- data/vendor/assets/images/emojis/imp.png +0 -0
- data/vendor/assets/images/emojis/information_desk_person.png +0 -0
- data/vendor/assets/images/emojis/iphone.png +0 -0
- data/vendor/assets/images/emojis/it.png +0 -0
- data/vendor/assets/images/emojis/jack_o_lantern.png +0 -0
- data/vendor/assets/images/emojis/japanese_castle.png +0 -0
- data/vendor/assets/images/emojis/joy.png +0 -0
- data/vendor/assets/images/emojis/jp.png +0 -0
- data/vendor/assets/images/emojis/key.png +0 -0
- data/vendor/assets/images/emojis/kimono.png +0 -0
- data/vendor/assets/images/emojis/kiss.png +0 -0
- data/vendor/assets/images/emojis/kissing_face.png +0 -0
- data/vendor/assets/images/emojis/kissing_heart.png +0 -0
- data/vendor/assets/images/emojis/koala.png +0 -0
- data/vendor/assets/images/emojis/koko.png +0 -0
- data/vendor/assets/images/emojis/kr.png +0 -0
- data/vendor/assets/images/emojis/leaves.png +0 -0
- data/vendor/assets/images/emojis/leo.png +0 -0
- data/vendor/assets/images/emojis/libra.png +0 -0
- data/vendor/assets/images/emojis/lips.png +0 -0
- data/vendor/assets/images/emojis/lipstick.png +0 -0
- data/vendor/assets/images/emojis/lock.png +0 -0
- data/vendor/assets/images/emojis/loop.png +0 -0
- data/vendor/assets/images/emojis/loudspeaker.png +0 -0
- data/vendor/assets/images/emojis/love_hotel.png +0 -0
- data/vendor/assets/images/emojis/mag.png +0 -0
- data/vendor/assets/images/emojis/mahjong.png +0 -0
- data/vendor/assets/images/emojis/mailbox.png +0 -0
- data/vendor/assets/images/emojis/man.png +0 -0
- data/vendor/assets/images/emojis/man_with_gua_pi_mao.png +0 -0
- data/vendor/assets/images/emojis/man_with_turban.png +0 -0
- data/vendor/assets/images/emojis/maple_leaf.png +0 -0
- data/vendor/assets/images/emojis/mask.png +0 -0
- data/vendor/assets/images/emojis/massage.png +0 -0
- data/vendor/assets/images/emojis/mega.png +0 -0
- data/vendor/assets/images/emojis/memo.png +0 -0
- data/vendor/assets/images/emojis/mens.png +0 -0
- data/vendor/assets/images/emojis/metal.png +0 -0
- data/vendor/assets/images/emojis/metro.png +0 -0
- data/vendor/assets/images/emojis/microphone.png +0 -0
- data/vendor/assets/images/emojis/minidisc.png +0 -0
- data/vendor/assets/images/emojis/mobile_phone_off.png +0 -0
- data/vendor/assets/images/emojis/moneybag.png +0 -0
- data/vendor/assets/images/emojis/monkey.png +0 -0
- data/vendor/assets/images/emojis/monkey_face.png +0 -0
- data/vendor/assets/images/emojis/moon.png +0 -0
- data/vendor/assets/images/emojis/mortar_board.png +0 -0
- data/vendor/assets/images/emojis/mount_fuji.png +0 -0
- data/vendor/assets/images/emojis/mouse.png +0 -0
- data/vendor/assets/images/emojis/movie_camera.png +0 -0
- data/vendor/assets/images/emojis/muscle.png +0 -0
- data/vendor/assets/images/emojis/musical_note.png +0 -0
- data/vendor/assets/images/emojis/nail_care.png +0 -0
- data/vendor/assets/images/emojis/necktie.png +0 -0
- data/vendor/assets/images/emojis/new.png +0 -0
- data/vendor/assets/images/emojis/no_good.png +0 -0
- data/vendor/assets/images/emojis/no_smoking.png +0 -0
- data/vendor/assets/images/emojis/nose.png +0 -0
- data/vendor/assets/images/emojis/notes.png +0 -0
- data/vendor/assets/images/emojis/o.png +0 -0
- data/vendor/assets/images/emojis/o2.png +0 -0
- data/vendor/assets/images/emojis/ocean.png +0 -0
- data/vendor/assets/images/emojis/octocat.png +0 -0
- data/vendor/assets/images/emojis/octopus.png +0 -0
- data/vendor/assets/images/emojis/oden.png +0 -0
- data/vendor/assets/images/emojis/office.png +0 -0
- data/vendor/assets/images/emojis/ok.png +0 -0
- data/vendor/assets/images/emojis/ok_hand.png +0 -0
- data/vendor/assets/images/emojis/ok_woman.png +0 -0
- data/vendor/assets/images/emojis/older_man.png +0 -0
- data/vendor/assets/images/emojis/older_woman.png +0 -0
- data/vendor/assets/images/emojis/open_hands.png +0 -0
- data/vendor/assets/images/emojis/ophiuchus.png +0 -0
- data/vendor/assets/images/emojis/palm_tree.png +0 -0
- data/vendor/assets/images/emojis/parking.png +0 -0
- data/vendor/assets/images/emojis/part_alternation_mark.png +0 -0
- data/vendor/assets/images/emojis/pencil.png +0 -0
- data/vendor/assets/images/emojis/penguin.png +0 -0
- data/vendor/assets/images/emojis/pensive.png +0 -0
- data/vendor/assets/images/emojis/persevere.png +0 -0
- data/vendor/assets/images/emojis/person_with_blond_hair.png +0 -0
- data/vendor/assets/images/emojis/phone.png +0 -0
- data/vendor/assets/images/emojis/pig.png +0 -0
- data/vendor/assets/images/emojis/pill.png +0 -0
- data/vendor/assets/images/emojis/pisces.png +0 -0
- data/vendor/assets/images/emojis/plus1.png +0 -0
- data/vendor/assets/images/emojis/point_down.png +0 -0
- data/vendor/assets/images/emojis/point_left.png +0 -0
- data/vendor/assets/images/emojis/point_right.png +0 -0
- data/vendor/assets/images/emojis/point_up.png +0 -0
- data/vendor/assets/images/emojis/point_up_2.png +0 -0
- data/vendor/assets/images/emojis/police_car.png +0 -0
- data/vendor/assets/images/emojis/poop.png +0 -0
- data/vendor/assets/images/emojis/post_office.png +0 -0
- data/vendor/assets/images/emojis/postbox.png +0 -0
- data/vendor/assets/images/emojis/pray.png +0 -0
- data/vendor/assets/images/emojis/princess.png +0 -0
- data/vendor/assets/images/emojis/punch.png +0 -0
- data/vendor/assets/images/emojis/purple_heart.png +0 -0
- data/vendor/assets/images/emojis/question.png +0 -0
- data/vendor/assets/images/emojis/rabbit.png +0 -0
- data/vendor/assets/images/emojis/racehorse.png +0 -0
- data/vendor/assets/images/emojis/radio.png +0 -0
- data/vendor/assets/images/emojis/rage.png +0 -0
- data/vendor/assets/images/emojis/rage1.png +0 -0
- data/vendor/assets/images/emojis/rage2.png +0 -0
- data/vendor/assets/images/emojis/rage3.png +0 -0
- data/vendor/assets/images/emojis/rage4.png +0 -0
- data/vendor/assets/images/emojis/rainbow.png +0 -0
- data/vendor/assets/images/emojis/raised_hands.png +0 -0
- data/vendor/assets/images/emojis/ramen.png +0 -0
- data/vendor/assets/images/emojis/red_car.png +0 -0
- data/vendor/assets/images/emojis/red_circle.png +0 -0
- data/vendor/assets/images/emojis/registered.png +0 -0
- data/vendor/assets/images/emojis/relaxed.png +0 -0
- data/vendor/assets/images/emojis/relieved.png +0 -0
- data/vendor/assets/images/emojis/restroom.png +0 -0
- data/vendor/assets/images/emojis/rewind.png +0 -0
- data/vendor/assets/images/emojis/ribbon.png +0 -0
- data/vendor/assets/images/emojis/rice.png +0 -0
- data/vendor/assets/images/emojis/rice_ball.png +0 -0
- data/vendor/assets/images/emojis/rice_cracker.png +0 -0
- data/vendor/assets/images/emojis/rice_scene.png +0 -0
- data/vendor/assets/images/emojis/ring.png +0 -0
- data/vendor/assets/images/emojis/rocket.png +0 -0
- data/vendor/assets/images/emojis/roller_coaster.png +0 -0
- data/vendor/assets/images/emojis/rose.png +0 -0
- data/vendor/assets/images/emojis/ru.png +0 -0
- data/vendor/assets/images/emojis/runner.png +0 -0
- data/vendor/assets/images/emojis/sa.png +0 -0
- data/vendor/assets/images/emojis/sagittarius.png +0 -0
- data/vendor/assets/images/emojis/sailboat.png +0 -0
- data/vendor/assets/images/emojis/sake.png +0 -0
- data/vendor/assets/images/emojis/sandal.png +0 -0
- data/vendor/assets/images/emojis/santa.png +0 -0
- data/vendor/assets/images/emojis/satellite.png +0 -0
- data/vendor/assets/images/emojis/satisfied.png +0 -0
- data/vendor/assets/images/emojis/saxophone.png +0 -0
- data/vendor/assets/images/emojis/school.png +0 -0
- data/vendor/assets/images/emojis/school_satchel.png +0 -0
- data/vendor/assets/images/emojis/scissors.png +0 -0
- data/vendor/assets/images/emojis/scorpius.png +0 -0
- data/vendor/assets/images/emojis/scream.png +0 -0
- data/vendor/assets/images/emojis/seat.png +0 -0
- data/vendor/assets/images/emojis/secret.png +0 -0
- data/vendor/assets/images/emojis/shaved_ice.png +0 -0
- data/vendor/assets/images/emojis/sheep.png +0 -0
- data/vendor/assets/images/emojis/shell.png +0 -0
- data/vendor/assets/images/emojis/ship.png +0 -0
- data/vendor/assets/images/emojis/shipit.png +0 -0
- data/vendor/assets/images/emojis/shirt.png +0 -0
- data/vendor/assets/images/emojis/shit.png +0 -0
- data/vendor/assets/images/emojis/shoe.png +0 -0
- data/vendor/assets/images/emojis/signal_strength.png +0 -0
- data/vendor/assets/images/emojis/six_pointed_star.png +0 -0
- data/vendor/assets/images/emojis/ski.png +0 -0
- data/vendor/assets/images/emojis/skull.png +0 -0
- data/vendor/assets/images/emojis/sleepy.png +0 -0
- data/vendor/assets/images/emojis/slot_machine.png +0 -0
- data/vendor/assets/images/emojis/smile.png +0 -0
- data/vendor/assets/images/emojis/smiley.png +0 -0
- data/vendor/assets/images/emojis/smirk.png +0 -0
- data/vendor/assets/images/emojis/smoking.png +0 -0
- data/vendor/assets/images/emojis/snake.png +0 -0
- data/vendor/assets/images/emojis/snowman.png +0 -0
- data/vendor/assets/images/emojis/sob.png +0 -0
- data/vendor/assets/images/emojis/soccer.png +0 -0
- data/vendor/assets/images/emojis/space_invader.png +0 -0
- data/vendor/assets/images/emojis/spades.png +0 -0
- data/vendor/assets/images/emojis/spaghetti.png +0 -0
- data/vendor/assets/images/emojis/sparkler.png +0 -0
- data/vendor/assets/images/emojis/sparkles.png +0 -0
- data/vendor/assets/images/emojis/speaker.png +0 -0
- data/vendor/assets/images/emojis/speedboat.png +0 -0
- data/vendor/assets/images/emojis/squirrel.png +0 -0
- data/vendor/assets/images/emojis/star.png +0 -0
- data/vendor/assets/images/emojis/star2.png +0 -0
- data/vendor/assets/images/emojis/stars.png +0 -0
- data/vendor/assets/images/emojis/station.png +0 -0
- data/vendor/assets/images/emojis/statue_of_liberty.png +0 -0
- data/vendor/assets/images/emojis/stew.png +0 -0
- data/vendor/assets/images/emojis/strawberry.png +0 -0
- data/vendor/assets/images/emojis/sunflower.png +0 -0
- data/vendor/assets/images/emojis/sunny.png +0 -0
- data/vendor/assets/images/emojis/sunrise.png +0 -0
- data/vendor/assets/images/emojis/sunrise_over_mountains.png +0 -0
- data/vendor/assets/images/emojis/surfer.png +0 -0
- data/vendor/assets/images/emojis/sushi.png +0 -0
- data/vendor/assets/images/emojis/suspect.png +0 -0
- data/vendor/assets/images/emojis/sweat.png +0 -0
- data/vendor/assets/images/emojis/sweat_drops.png +0 -0
- data/vendor/assets/images/emojis/swimmer.png +0 -0
- data/vendor/assets/images/emojis/syringe.png +0 -0
- data/vendor/assets/images/emojis/tada.png +0 -0
- data/vendor/assets/images/emojis/tangerine.png +0 -0
- data/vendor/assets/images/emojis/taurus.png +0 -0
- data/vendor/assets/images/emojis/taxi.png +0 -0
- data/vendor/assets/images/emojis/tea.png +0 -0
- data/vendor/assets/images/emojis/telephone.png +0 -0
- data/vendor/assets/images/emojis/tennis.png +0 -0
- data/vendor/assets/images/emojis/tent.png +0 -0
- data/vendor/assets/images/emojis/thumbsdown.png +0 -0
- data/vendor/assets/images/emojis/thumbsup.png +0 -0
- data/vendor/assets/images/emojis/ticket.png +0 -0
- data/vendor/assets/images/emojis/tiger.png +0 -0
- data/vendor/assets/images/emojis/tm.png +0 -0
- data/vendor/assets/images/emojis/toilet.png +0 -0
- data/vendor/assets/images/emojis/tokyo_tower.png +0 -0
- data/vendor/assets/images/emojis/tomato.png +0 -0
- data/vendor/assets/images/emojis/tongue.png +0 -0
- data/vendor/assets/images/emojis/top.png +0 -0
- data/vendor/assets/images/emojis/tophat.png +0 -0
- data/vendor/assets/images/emojis/traffic_light.png +0 -0
- data/vendor/assets/images/emojis/train.png +0 -0
- data/vendor/assets/images/emojis/trident.png +0 -0
- data/vendor/assets/images/emojis/trollface.png +0 -0
- data/vendor/assets/images/emojis/trophy.png +0 -0
- data/vendor/assets/images/emojis/tropical_fish.png +0 -0
- data/vendor/assets/images/emojis/truck.png +0 -0
- data/vendor/assets/images/emojis/trumpet.png +0 -0
- data/vendor/assets/images/emojis/tshirt.png +0 -0
- data/vendor/assets/images/emojis/tulip.png +0 -0
- data/vendor/assets/images/emojis/tv.png +0 -0
- data/vendor/assets/images/emojis/u5272.png +0 -0
- data/vendor/assets/images/emojis/u55b6.png +0 -0
- data/vendor/assets/images/emojis/u6307.png +0 -0
- data/vendor/assets/images/emojis/u6708.png +0 -0
- data/vendor/assets/images/emojis/u6709.png +0 -0
- data/vendor/assets/images/emojis/u6e80.png +0 -0
- data/vendor/assets/images/emojis/u7121.png +0 -0
- data/vendor/assets/images/emojis/u7533.png +0 -0
- data/vendor/assets/images/emojis/u7a7a.png +0 -0
- data/vendor/assets/images/emojis/umbrella.png +0 -0
- data/vendor/assets/images/emojis/unamused.png +0 -0
- data/vendor/assets/images/emojis/underage.png +0 -0
- data/vendor/assets/images/emojis/unlock.png +0 -0
- data/vendor/assets/images/emojis/up.png +0 -0
- data/vendor/assets/images/emojis/us.png +0 -0
- data/vendor/assets/images/emojis/v.png +0 -0
- data/vendor/assets/images/emojis/vhs.png +0 -0
- data/vendor/assets/images/emojis/vibration_mode.png +0 -0
- data/vendor/assets/images/emojis/virgo.png +0 -0
- data/vendor/assets/images/emojis/vs.png +0 -0
- data/vendor/assets/images/emojis/walking.png +0 -0
- data/vendor/assets/images/emojis/warning.png +0 -0
- data/vendor/assets/images/emojis/watermelon.png +0 -0
- data/vendor/assets/images/emojis/wave.png +0 -0
- data/vendor/assets/images/emojis/wc.png +0 -0
- data/vendor/assets/images/emojis/wedding.png +0 -0
- data/vendor/assets/images/emojis/whale.png +0 -0
- data/vendor/assets/images/emojis/wheelchair.png +0 -0
- data/vendor/assets/images/emojis/white_square.png +0 -0
- data/vendor/assets/images/emojis/wind_chime.png +0 -0
- data/vendor/assets/images/emojis/wink.png +0 -0
- data/vendor/assets/images/emojis/wink2.png +0 -0
- data/vendor/assets/images/emojis/wolf.png +0 -0
- data/vendor/assets/images/emojis/woman.png +0 -0
- data/vendor/assets/images/emojis/womans_hat.png +0 -0
- data/vendor/assets/images/emojis/womens.png +0 -0
- data/vendor/assets/images/emojis/x.png +0 -0
- data/vendor/assets/images/emojis/yellow_heart.png +0 -0
- data/vendor/assets/images/emojis/zap.png +0 -0
- data/vendor/assets/images/emojis/zzz.png +0 -0
- metadata +635 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class MdEmojiTest < ActiveSupport::TestCase
|
4
|
+
|
5
|
+
def setup
|
6
|
+
@markdown = Redcarpet::Markdown.new(MdEmoji::Render)
|
7
|
+
end
|
8
|
+
|
9
|
+
test "adds emoji to text when the emoji exists" do
|
10
|
+
text = "Hello :smile: world!"
|
11
|
+
|
12
|
+
parsed_text = @markdown.render(text)
|
13
|
+
|
14
|
+
assert parsed_text.include? %{<img src="/assets/emojis/smile.png"}
|
15
|
+
|
16
|
+
end
|
17
|
+
|
18
|
+
test "works with +1 emoji" do
|
19
|
+
text = ":+1:"
|
20
|
+
|
21
|
+
parsed_text = @markdown.render(text)
|
22
|
+
|
23
|
+
assert parsed_text.include? %{<img src="/assets/emojis/plus1.png"}
|
24
|
+
|
25
|
+
end
|
26
|
+
|
27
|
+
test "skips emoji which aren't supported" do
|
28
|
+
text = "Hello :jordan_byron: world!"
|
29
|
+
|
30
|
+
parsed_text = @markdown.render(text)
|
31
|
+
|
32
|
+
assert_equal %{<p>Hello :jordan_byron: world!</p>\n}, parsed_text
|
33
|
+
end
|
34
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
require 'redcarpet'
|
8
|
+
|
9
|
+
Rails.backtrace_cleaner.remove_silencers!
|
10
|
+
|
11
|
+
# Load support files
|
12
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|