github github/gemoji v2.0.0
gemoji 2.0.0

latest releases: v4.1.0, v4.0.1, v4.0.0...
9 years ago

New API ⚡ ✨

  • Emoji.all (Array) - Lists all emoji in the order they appear in Apple's character picker
  • Emoji.find_by_alias(name) { :not_found } (Emoji::Character) - Looks up an emoji by name. Yields to block if not found, or raises Emoji::NotFound if no block given.
  • Emoji.find_by_unicode(unicode) { :not_found } (Emoji::Character) - Looks up an emoji by Unicode representation. Yields to block if not found, or raises Emoji::NotFound if no block given.

Emoji::Character 🐴

  • raw (String or nil) - Raw representation of this emoji in UTF-8
  • name (String) - First of the list of aliases
  • aliases (Array) - Complete list of aliases referring uniquely to this emoji
  • unicode_aliases (Array) - List of Unicode representations of this emoji in UTF-8
  • image_filename (String) - A path such as shipit.png or unicode/1f604.png

Removed old API 🔥

  • No more Emoji.names or Emoji.name_for(unicode)
  • No more Emoji.unicodes or Emoji.unicode_for(name)

Don't miss a new gemoji release

NewReleases is sending notifications on new releases.