Upstream pull request log:
https://github.com/twitter/twitter-text/pull/265
* New v3.json config file with emojiParsingEnabled config option. When
true, twitter-text will parse and discount emoji supported by the
twemoji library (see https://github.com/twitter/twemoji). The length
of these emoji will be the default weight (200 or two characters) even
if they contain multiple code points combined by zero-width
joiners. This means that emoji with skin tone and gender modifiers no
longer count as more characters than those without such modifiers.
All 4 implementations updated to reflect this change in counting.
* Updates known gTLDs to recognize recent additions by IANA (#261)
pkgsrc changes:
- DEPENDS on ruby-idn gem
Upstream changes:
https://github.com/twitter/twitter-text/blob/master/rb/CHANGELOG.md
## [2.1] - 2017-12-20
### Added
- This CHANGELOG.md file
### Changed
- Top-level namespace changed from `Twitter` to `Twitter::TwitterText`. This
resolves a namespace collision with the popular
[twitter gem](https://github.com/sferik/twitter). This is considered
a breaking change, so the version has been bumped to 2.1. This fixes
issue [#221](https://github.com/twitter/twitter-text/issues/221),
"NoMethodError Exception: undefined method `[]' for nil:NilClasswhen
using gem in rails app"
## [2.0.2] - 2017-12-18
### Changed
- Resolved issue
[#211](https://github.com/twitter/twitter-text/issues/211), "gem
breaks, asset file is a dangling symlink"
- config files, tld_lib.yml files now copied into the right place
- Rakefile now included `prebuild`, `clean` tasks
(no changelog for 2.0; 2.0.1 changes are mentioned in the 2.0.2 entry)
* Use RegEx literal instead of String literal
* Use regex literals instead of string literals for char class ranges that might get minized and decomposed
* added FULLWIDTH TILDE U+FF5E as a valid hashtag special character
* added WAVE DASH U+301C as a valid hashtag special character
* Ignore Emojified # or keycap # when scanning for hashtags
* Support Cyrillic characters in URLs path section
* Version in bower file is deprecated, rely solely on git tag
* also add a bower badge and removed old repo list
* Update bower.json
* update tlds and forward exit code from rake tests
* add desc, license and fix source_files for podfile
Twitter-text gem provides text processing routines for Twitter Tweets.
The major reason for this is to unify the various auto-linking and
extraction of usernames, lists, hashtags and URLs.