Skip to content

v1.1.0

Compare
Choose a tag to compare
@JuanitoFatas JuanitoFatas released this 26 Oct 08:53
· 138 commits to master since this release

Improvements

  • Behave more like twemoji.js by @bramswenson #5

    New Methods:

    • Twemoji.find_by now accepts unicode keyword argument (either a raw unicode or escaped-unicode string) to find emoji text
    • Add Twemoji.find_by_unicode to find emoji text by raw emoji unicode or escaped-unicode string
    • Add Twemoji.render_unicode to render raw emoji unicode from emoji text or emoji code

    Changes:

    • img tag's alt changes from emoji text like :heart_eyes: to actual unicode "😍"
  • Restrict Nokogiri to (1.4..1.6.5). @JuanitoFatas #3

  • Add more documentations

CHANGELOG

Full Changes

v1.0.1...v1.1.0