| Name |
Last commit
|
Last Update |
|---|---|---|
| bin | ||
| lib | ||
| spec | ||
| .gitignore | ||
| .travis.yml | ||
| Gemfile | ||
| LICENSE.txt | ||
| README.md | ||
| Rakefile | ||
| rumoji.gemspec |
Previously emoji like👨👨👦 (:man-man-boy:) were decoded as :man::man::boy: (👨 👨 👦 ) even though there is a specific emoji entry for :man-man-boy:. The solution is to change how the regexp is constructed. Instead of not setting a sort order for the emoji that go into the regexp we use reverse alphabetical order to ensure that any emoji that are inclusive of another (such as :man-man-boy: including :man) get sorted BEFORE the emoji that they include. We accomplish this by using a `SortedSet` and implementing `<=>` on `Emoji`
| Name |
Last commit
|
Last Update |
|---|---|---|
| bin | Loading commit data... | |
| lib | Loading commit data... | |
| spec | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| Gemfile | Loading commit data... | |
| LICENSE.txt | Loading commit data... | |
| README.md | Loading commit data... | |
| Rakefile | Loading commit data... | |
| rumoji.gemspec | Loading commit data... |