diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-07-13 17:43:42 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-07-18 19:40:16 +0300 |
commit | 6a06c5cfb92d7d4e390e63104fd42d24a9159048 (patch) | |
tree | c4c2697d47e403699fa973f9f5bc795238f51ac3 /doc/development | |
parent | 08264f4334ff48d1274f066cd5b03455bc4befdf (diff) |
Upgrade Gemojione from 2.6.1 to 3.0.1.
This adds the 2016 emoji as well as support for using SVG images instead of PNGs.
It also fixes a number of incorrectly categorized emoji and other minor issues.
Upgrade Rake task for Gemojione 3.0.0 and generate sprites.
Upgrade aliases.json by pulling down index.json from the gemojione repository and running the generate_aliases.rb file.
Changelog: https://github.com/jonathanwiesel/gemojione/blob/master/CHANGELOG.md#v301-2016-07-16
For the specific emoji added to the Unicode standard, see: http://emojione.com/releases/2.2.4/
Huge kudos to Jonathan Wiesel (@jonathanwiesel) for his work on the gemojione gem!
Diffstat (limited to 'doc/development')
-rw-r--r-- | doc/development/rake_tasks.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/development/rake_tasks.md b/doc/development/rake_tasks.md index 41685c7ee41..8852dbcb19e 100644 --- a/doc/development/rake_tasks.md +++ b/doc/development/rake_tasks.md @@ -53,3 +53,8 @@ Generating a sprite file containing all the Emoji can be done by running: ``` bundle exec rake gemojione:sprite ``` + +If new emoji are added, the spritesheet may change size. To compensate for +such changes, first generate the `emoji.png` spritesheet with the above Rake +task, then check the dimensions of the new spritesheet and update the +`SPRITESHEET_WIDTH` and `SPRITESHEET_HEIGHT` constants accordingly. |