pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ruby-twitter-text ruby-twitter-text: update to 2.1.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ed5441be575
branches:  trunk
changeset: 373189:8ed5441be575
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Sat Dec 30 04:40:20 2017 +0000

description:
ruby-twitter-text: update to 2.1.0.

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)

diffstat:

 net/ruby-twitter-text/Makefile |   5 +++--
 net/ruby-twitter-text/PLIST    |   9 ++++++++-
 net/ruby-twitter-text/distinfo |  10 +++++-----
 3 files changed, 16 insertions(+), 8 deletions(-)

diffs (73 lines):

diff -r f748044e44b8 -r 8ed5441be575 net/ruby-twitter-text/Makefile
--- a/net/ruby-twitter-text/Makefile    Sat Dec 30 04:39:01 2017 +0000
+++ b/net/ruby-twitter-text/Makefile    Sat Dec 30 04:40:20 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2017/07/08 03:14:20 tsutsui Exp $
+# $NetBSD: Makefile,v 1.6 2017/12/30 04:40:20 tsutsui Exp $
 
-DISTNAME=      twitter-text-1.14.7
+DISTNAME=      twitter-text-2.1.0
 CATEGORIES=    net
 
 MAINTAINER=    tsutsui%NetBSD.org@localhost
@@ -9,6 +9,7 @@
 LICENSE=       apache-2.0
 
 DEPENDS+=      ${RUBY_PKGPREFIX}-unf-[0-9]*:../../converters/ruby-unf
+DEPENDS+=      ${RUBY_PKGPREFIX}-idn-[0-9]*:../../devel/ruby-idn
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f748044e44b8 -r 8ed5441be575 net/ruby-twitter-text/PLIST
--- a/net/ruby-twitter-text/PLIST       Sat Dec 30 04:39:01 2017 +0000
+++ b/net/ruby-twitter-text/PLIST       Sat Dec 30 04:40:20 2017 +0000
@@ -1,16 +1,21 @@
-@comment $NetBSD: PLIST,v 1.2 2016/10/20 15:05:22 taca Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/12/30 04:40:20 tsutsui Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.gemtest
 ${GEM_LIBDIR}/.gitignore
 ${GEM_LIBDIR}/.gitmodules
 ${GEM_LIBDIR}/.rspec
+${GEM_LIBDIR}/CHANGELOG.md
 ${GEM_LIBDIR}/Gemfile
 ${GEM_LIBDIR}/LICENSE
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/config/README.md
+${GEM_LIBDIR}/config/v1.json
+${GEM_LIBDIR}/config/v2.json
 ${GEM_LIBDIR}/lib/assets/tld_lib.yml
 ${GEM_LIBDIR}/lib/twitter-text.rb
 ${GEM_LIBDIR}/lib/twitter-text/autolink.rb
+${GEM_LIBDIR}/lib/twitter-text/configuration.rb
 ${GEM_LIBDIR}/lib/twitter-text/deprecation.rb
 ${GEM_LIBDIR}/lib/twitter-text/extractor.rb
 ${GEM_LIBDIR}/lib/twitter-text/hash_helper.rb
@@ -19,9 +24,11 @@
 ${GEM_LIBDIR}/lib/twitter-text/rewriter.rb
 ${GEM_LIBDIR}/lib/twitter-text/unicode.rb
 ${GEM_LIBDIR}/lib/twitter-text/validation.rb
+${GEM_LIBDIR}/lib/twitter-text/weighted_range.rb
 ${GEM_LIBDIR}/script/destroy
 ${GEM_LIBDIR}/script/generate
 ${GEM_LIBDIR}/spec/autolinking_spec.rb
+${GEM_LIBDIR}/spec/configuration_spec.rb
 ${GEM_LIBDIR}/spec/extractor_spec.rb
 ${GEM_LIBDIR}/spec/hithighlighter_spec.rb
 ${GEM_LIBDIR}/spec/regex_spec.rb
diff -r f748044e44b8 -r 8ed5441be575 net/ruby-twitter-text/distinfo
--- a/net/ruby-twitter-text/distinfo    Sat Dec 30 04:39:01 2017 +0000
+++ b/net/ruby-twitter-text/distinfo    Sat Dec 30 04:40:20 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2017/07/08 03:14:20 tsutsui Exp $
+$NetBSD: distinfo,v 1.6 2017/12/30 04:40:20 tsutsui Exp $
 
-SHA1 (twitter-text-1.14.7.gem) = cbc238cb3d27a49ab684ad3e2bdf688d98a7b0df
-RMD160 (twitter-text-1.14.7.gem) = df993f9bb4a4958dcce2ee8ba9cbeb59280ae438
-SHA512 (twitter-text-1.14.7.gem) = 98addbf8efe7b9f2685f00827194dbb255b31512e8aa5c9dab22ec08b95ccebbcf53790dfc983e71b0644c687b4db98c5d30f74f15b925377403b4d5cf6e5194
-Size (twitter-text-1.14.7.gem) = 48128 bytes
+SHA1 (twitter-text-2.1.0.gem) = a75bf832132c0fabb70fd860b917ed2245b89271
+RMD160 (twitter-text-2.1.0.gem) = 853ba2b46123d368c15d7d2f6997dc74d43ed63e
+SHA512 (twitter-text-2.1.0.gem) = ac23e05f13a008d733a9417d47e633838584b548a41741a28ca399e1548344b39081b0c6677b7be9df1feb6ffcc491718ddfb5cd55cffb63d7bb680f1431907c
+Size (twitter-text-2.1.0.gem) = 54784 bytes



Home | Main Index | Thread Index | Old Index