pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ruby-public_suffix Update ruby-public_suffix to 3....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac59bb5e421b
branches:  trunk
changeset: 368066:ac59bb5e421b
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Sep 10 15:16:18 2017 +0000

description:
Update ruby-public_suffix to 3.0.0.

#### Release 3.0.0

This new version includes a major redesign of the library internals, with the
goal to drastically improve the lookup time while reducing storage space.

For this reason, several public methods that are no longer applicable have
been deprecated and/or removed.  You can find more information at GH-133.

- CHANGED: Updated definitions.
- CHANGED: Dropped support for Ruby < 2.1
- CHANGED: `PublicSuffix::List#rules` is now protected. You should not rely on
  it as the internal rule representation is subject to change to optimize
  performances.
- CHANGED: Removed `PublicSuffix::List.clear`, it was an unnecessary accessor
  method. Use `PublicSuffix::List.default = nil` if you **really** need to
  reset the default list. You shouldn't.
- CHANGED: `PublicSuffix::List#select` is now private. You should not use it,
  instead use `PublicSuffix::List#find`.
- CHANGED: `PublicSuffix::List` no longer implements Enumerable. Instead, use
  `#each` to loop over, or get an Enumerator.
- CHANGED: Redesigned internal list storage and lookup algorithm to achieve
  O(1) lookup time (see GH-133).

diffstat:

 net/ruby-public_suffix/Makefile |   4 ++--
 net/ruby-public_suffix/PLIST    |  20 +++++++++++++++-----
 net/ruby-public_suffix/distinfo |  10 +++++-----
 3 files changed, 22 insertions(+), 12 deletions(-)

diffs (69 lines):

diff -r a571b63db44d -r ac59bb5e421b net/ruby-public_suffix/Makefile
--- a/net/ruby-public_suffix/Makefile   Sun Sep 10 15:14:15 2017 +0000
+++ b/net/ruby-public_suffix/Makefile   Sun Sep 10 15:16:18 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2017/01/09 13:33:08 taca Exp $
+# $NetBSD: Makefile,v 1.2 2017/09/10 15:16:18 taca Exp $
 
-DISTNAME=      public_suffix-2.0.5
+DISTNAME=      public_suffix-3.0.0
 CATEGORIES=    net
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r a571b63db44d -r ac59bb5e421b net/ruby-public_suffix/PLIST
--- a/net/ruby-public_suffix/PLIST      Sun Sep 10 15:14:15 2017 +0000
+++ b/net/ruby-public_suffix/PLIST      Sun Sep 10 15:16:18 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/01/09 13:33:08 taca Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/09/10 15:16:18 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.gitignore
 ${GEM_LIBDIR}/.rubocop.yml
@@ -12,6 +12,7 @@
 ${GEM_LIBDIR}/LICENSE.txt
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/bin/console
 ${GEM_LIBDIR}/data/list.txt
 ${GEM_LIBDIR}/lib/public_suffix.rb
 ${GEM_LIBDIR}/lib/public_suffix/domain.rb
@@ -20,11 +21,20 @@
 ${GEM_LIBDIR}/lib/public_suffix/rule.rb
 ${GEM_LIBDIR}/lib/public_suffix/version.rb
 ${GEM_LIBDIR}/public_suffix.gemspec
+${GEM_LIBDIR}/test/.empty
 ${GEM_LIBDIR}/test/acceptance_test.rb
-${GEM_LIBDIR}/test/benchmark_helper.rb
-${GEM_LIBDIR}/test/execution_profiler.rb
-${GEM_LIBDIR}/test/initialization_profiler.rb
-${GEM_LIBDIR}/test/performance_benchmark.rb
+${GEM_LIBDIR}/test/benchmarks/bm_find.rb
+${GEM_LIBDIR}/test/benchmarks/bm_find_all.rb
+${GEM_LIBDIR}/test/benchmarks/bm_names.rb
+${GEM_LIBDIR}/test/benchmarks/bm_select.rb
+${GEM_LIBDIR}/test/benchmarks/bm_select_incremental.rb
+${GEM_LIBDIR}/test/benchmarks/bm_valid.rb
+${GEM_LIBDIR}/test/profilers/domain_profiler.rb
+${GEM_LIBDIR}/test/profilers/find_profiler.rb
+${GEM_LIBDIR}/test/profilers/find_profiler_jp.rb
+${GEM_LIBDIR}/test/profilers/initialization_profiler.rb
+${GEM_LIBDIR}/test/profilers/list_profsize.rb
+${GEM_LIBDIR}/test/profilers/object_binsize.rb
 ${GEM_LIBDIR}/test/psl_test.rb
 ${GEM_LIBDIR}/test/test_helper.rb
 ${GEM_LIBDIR}/test/tests.txt
diff -r a571b63db44d -r ac59bb5e421b net/ruby-public_suffix/distinfo
--- a/net/ruby-public_suffix/distinfo   Sun Sep 10 15:14:15 2017 +0000
+++ b/net/ruby-public_suffix/distinfo   Sun Sep 10 15:16:18 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/01/09 13:33:08 taca Exp $
+$NetBSD: distinfo,v 1.2 2017/09/10 15:16:18 taca Exp $
 
-SHA1 (public_suffix-2.0.5.gem) = c241227a2f49942d07fceb4bc20a03d762f7e666
-RMD160 (public_suffix-2.0.5.gem) = 21d6cefb3279819b0e1763944be1dfe904e48072
-SHA512 (public_suffix-2.0.5.gem) = d261dec44c11803631e267f36d82a59278d90dceb2811233ca511e895c5f1a58005b6afea980bd1bbd78bbfc7a3a4e02f9f1fbe351fded38be340ecc235da383
-Size (public_suffix-2.0.5.gem) = 89600 bytes
+SHA1 (public_suffix-3.0.0.gem) = 5fdef710c9ff7f2cb67010f6b0baa252f352377a
+RMD160 (public_suffix-3.0.0.gem) = a46db70cc04d41da7018986b5b70266455a768a5
+SHA512 (public_suffix-3.0.0.gem) = 9190c85fa48f2d69af3131cacdfeb4e4ebe2ff82f833d286ff3e87298cd3189d7c5b6facdcde502bea73beae8a950c1d6ef851ca0848824a59ac53f222db4806
+Size (public_suffix-3.0.0.gem) = 94720 bytes



Home | Main Index | Thread Index | Old Index