ruby-twitter-text: update to 3.0.0. 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)diff -r1.6 -r1.7 pkgsrc/net/ruby-twitter-text/Makefile
(tsutsui)
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | # $NetBSD: Makefile,v 1.6 2017/12/30 04:40:20 tsutsui Exp $ | 1 | # $NetBSD: Makefile,v 1.7 2019/06/16 16:16:48 tsutsui Exp $ | |
2 | 2 | |||
3 | DISTNAME= twitter-text-2.1.0 | 3 | DISTNAME= twitter-text-3.0.0 | |
4 | CATEGORIES= net | 4 | CATEGORIES= net | |
5 | 5 | |||
6 | MAINTAINER= tsutsui@NetBSD.org | 6 | MAINTAINER= tsutsui@NetBSD.org | |
7 | HOMEPAGE= https://rubygems.org/gems/twitter-text | 7 | HOMEPAGE= https://rubygems.org/gems/twitter-text | |
8 | COMMENT= Library that provides text handling for Twitter | 8 | COMMENT= Library that provides text handling for Twitter | |
9 | LICENSE= apache-2.0 | 9 | LICENSE= apache-2.0 | |
10 | 10 | |||
11 | DEPENDS+= ${RUBY_PKGPREFIX}-unf-[0-9]*:../../converters/ruby-unf | 11 | DEPENDS+= ${RUBY_PKGPREFIX}-unf-[0-9]*:../../converters/ruby-unf | |
12 | DEPENDS+= ${RUBY_PKGPREFIX}-idn-[0-9]*:../../devel/ruby-idn | 12 | DEPENDS+= ${RUBY_PKGPREFIX}-idn-[0-9]*:../../devel/ruby-idn | |
13 | 13 | |||
14 | .include "../../lang/ruby/gem.mk" | 14 | .include "../../lang/ruby/gem.mk" | |
15 | .include "../../mk/bsd.pkg.mk" | 15 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.6 2017/12/30 04:40:20 tsutsui Exp $ | 1 | $NetBSD: distinfo,v 1.7 2019/06/16 16:16:48 tsutsui Exp $ | |
2 | 2 | |||
3 | SHA1 (twitter-text-2.1.0.gem) = a75bf832132c0fabb70fd860b917ed2245b89271 | 3 | SHA1 (twitter-text-3.0.0.gem) = 9939c37bb1134e4a590752bc6c18fbdbb6e33164 | |
4 | RMD160 (twitter-text-2.1.0.gem) = 853ba2b46123d368c15d7d2f6997dc74d43ed63e | 4 | RMD160 (twitter-text-3.0.0.gem) = ee195bf8c1c3b19842bfe0615b6df43ec783e457 | |
5 | SHA512 (twitter-text-2.1.0.gem) = ac23e05f13a008d733a9417d47e633838584b548a41741a28ca399e1548344b39081b0c6677b7be9df1feb6ffcc491718ddfb5cd55cffb63d7bb680f1431907c | 5 | SHA512 (twitter-text-3.0.0.gem) = 2afd07636e1cfe140ff26e52ec8a4c23b6116f7166a73e1af1fec283aff7549c06ff46ed51fd178acddd607c1f9c82eff1eee7cb3ce81eeb78a73305e14120ad | |
6 | Size (twitter-text-2.1.0.gem) = 54784 bytes | 6 | Size (twitter-text-3.0.0.gem) = 58880 bytes |
@@ -1,32 +1,34 @@ | @@ -1,32 +1,34 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2017/12/30 04:40:20 tsutsui Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2019/06/16 16:16:48 tsutsui Exp $ | |
2 | ${GEM_HOME}/cache/${GEM_NAME}.gem | 2 | ${GEM_HOME}/cache/${GEM_NAME}.gem | |
3 | ${GEM_LIBDIR}/.gemtest | 3 | ${GEM_LIBDIR}/.gemtest | |
4 | ${GEM_LIBDIR}/.gitignore | 4 | ${GEM_LIBDIR}/.gitignore | |
5 | ${GEM_LIBDIR}/.gitmodules | 5 | ${GEM_LIBDIR}/.gitmodules | |
6 | ${GEM_LIBDIR}/.rspec | 6 | ${GEM_LIBDIR}/.rspec | |
7 | ${GEM_LIBDIR}/CHANGELOG.md | 7 | ${GEM_LIBDIR}/CHANGELOG.md | |
8 | ${GEM_LIBDIR}/Gemfile | 8 | ${GEM_LIBDIR}/Gemfile | |
9 | ${GEM_LIBDIR}/LICENSE | 9 | ${GEM_LIBDIR}/LICENSE | |
10 | ${GEM_LIBDIR}/README.md | 10 | ${GEM_LIBDIR}/README.md | |
11 | ${GEM_LIBDIR}/Rakefile | 11 | ${GEM_LIBDIR}/Rakefile | |
12 | ${GEM_LIBDIR}/config/README.md | 12 | ${GEM_LIBDIR}/config/README.md | |
13 | ${GEM_LIBDIR}/config/v1.json | 13 | ${GEM_LIBDIR}/config/v1.json | |
14 | ${GEM_LIBDIR}/config/v2.json | 14 | ${GEM_LIBDIR}/config/v2.json | |
15 | ${GEM_LIBDIR}/config/v3.json | |||
15 | ${GEM_LIBDIR}/lib/assets/tld_lib.yml | 16 | ${GEM_LIBDIR}/lib/assets/tld_lib.yml | |
16 | ${GEM_LIBDIR}/lib/twitter-text.rb | 17 | ${GEM_LIBDIR}/lib/twitter-text.rb | |
17 | ${GEM_LIBDIR}/lib/twitter-text/autolink.rb | 18 | ${GEM_LIBDIR}/lib/twitter-text/autolink.rb | |
18 | ${GEM_LIBDIR}/lib/twitter-text/configuration.rb | 19 | ${GEM_LIBDIR}/lib/twitter-text/configuration.rb | |
19 | ${GEM_LIBDIR}/lib/twitter-text/deprecation.rb | 20 | ${GEM_LIBDIR}/lib/twitter-text/deprecation.rb | |
21 | ${GEM_LIBDIR}/lib/twitter-text/emoji_regex.rb | |||
20 | ${GEM_LIBDIR}/lib/twitter-text/extractor.rb | 22 | ${GEM_LIBDIR}/lib/twitter-text/extractor.rb | |
21 | ${GEM_LIBDIR}/lib/twitter-text/hash_helper.rb | 23 | ${GEM_LIBDIR}/lib/twitter-text/hash_helper.rb | |
22 | ${GEM_LIBDIR}/lib/twitter-text/hit_highlighter.rb | 24 | ${GEM_LIBDIR}/lib/twitter-text/hit_highlighter.rb | |
23 | ${GEM_LIBDIR}/lib/twitter-text/regex.rb | 25 | ${GEM_LIBDIR}/lib/twitter-text/regex.rb | |
24 | ${GEM_LIBDIR}/lib/twitter-text/rewriter.rb | 26 | ${GEM_LIBDIR}/lib/twitter-text/rewriter.rb | |
25 | ${GEM_LIBDIR}/lib/twitter-text/unicode.rb | 27 | ${GEM_LIBDIR}/lib/twitter-text/unicode.rb | |
26 | ${GEM_LIBDIR}/lib/twitter-text/validation.rb | 28 | ${GEM_LIBDIR}/lib/twitter-text/validation.rb | |
27 | ${GEM_LIBDIR}/lib/twitter-text/weighted_range.rb | 29 | ${GEM_LIBDIR}/lib/twitter-text/weighted_range.rb | |
28 | ${GEM_LIBDIR}/script/destroy | 30 | ${GEM_LIBDIR}/script/destroy | |
29 | ${GEM_LIBDIR}/script/generate | 31 | ${GEM_LIBDIR}/script/generate | |
30 | ${GEM_LIBDIR}/spec/autolinking_spec.rb | 32 | ${GEM_LIBDIR}/spec/autolinking_spec.rb | |
31 | ${GEM_LIBDIR}/spec/configuration_spec.rb | 33 | ${GEM_LIBDIR}/spec/configuration_spec.rb | |
32 | ${GEM_LIBDIR}/spec/extractor_spec.rb | 34 | ${GEM_LIBDIR}/spec/extractor_spec.rb |