gemoji-parser icon indicating copy to clipboard operation
gemoji-parser copied to clipboard

The missing helper methods for GitHub's gemoji gem.

Results 6 gemoji-parser issues
Sort by recently updated
recently updated
newest added

if you call emoji_detokenize on a nil attribute, it will break. For now I overload the NilClass as this : ``` class NilClass def emoji_detokenize nil end end ``` but...

This emoji (🀄 ) is from 2008 unicode emoji set as per https://unicode.org/emoji/charts-5.0/emoji-versions.html. Gemoji-parser supports almost all emojis until 2016 unicode emoji set. > EmojiParser.tokenize("� ") => "� "

🏋️ can be `\U+1f3cb\U+fe0f` or `\U+1f3cb`, the later doesn't get parsed by gemoji `\U+1f3cb\U+fe0f` -> get parsed to `:weight_lifting_man:` `\U+1f3cb` -> fail to get parsed I think it's because there's...

`EmojiParser.tokenize("test 🙂 ")` `=> "test \u{1F642} " ` This emoji is from facebook.

Is there an appropiate way to parse apple colored emojis? I'm getting: ``` EmojiParser.tokenize("Test 👍🏿") # => "Test :+1:\u{1F3FF}" # Expected: "Test :+1::skin-tone:" or something like that ```

Hi, sometimes lib failes, i've got this from my worker undefined method `[]' for nil:NilClass bundle/ruby/2.2.0/gems/gemoji-2.1.0/lib/emoji.rb:55:in`find_by_unicode' bundle/ruby/2.2.0/gems/gemoji-2.1.0/lib/emoji.rb:55:in `find_by_unicode' bundle/ruby/2.2.0/gems/gemoji-parser-1.3.1/lib/gemoji-parser.rb:201:in`block in parse_unicode' bundle/ruby/2.2.0/gems/gemoji-parser-1.3.1/lib/gemoji-parser.rb:200:in `gsub' bundle/ruby/2.2.0/gems/gemoji-parser-1.3.1/lib/gemoji-parser.rb:200:in`parse_unicode' bundle/ruby/2.2.0/gems/gemoji-parser-1.3.1/lib/gemoji-parser.rb:248:in `tokenize' badly but i have...