summaryrefslogtreecommitdiff
path: root/net/ruby-public_suffix
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2017-09-10 15:16:18 +0000
committertaca <taca@pkgsrc.org>2017-09-10 15:16:18 +0000
commit17241d8b1c55d4ae7d0f33bb3743efe1ab21424d (patch)
tree7ddd3c3bfa0a5cf3f3596e8d9081e0b4b7a1ebb0 /net/ruby-public_suffix
parent41cf888ab901201bb6e64bdeb85805ec404e705c (diff)
downloadpkgsrc-17241d8b1c55d4ae7d0f33bb3743efe1ab21424d.tar.gz
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 (limited to 'net/ruby-public_suffix')
-rw-r--r--net/ruby-public_suffix/Makefile4
-rw-r--r--net/ruby-public_suffix/PLIST20
-rw-r--r--net/ruby-public_suffix/distinfo10
3 files changed, 22 insertions, 12 deletions
diff --git a/net/ruby-public_suffix/Makefile b/net/ruby-public_suffix/Makefile
index 66de262ad31..b202a4cbd87 100644
--- a/net/ruby-public_suffix/Makefile
+++ b/net/ruby-public_suffix/Makefile
@@ -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
diff --git a/net/ruby-public_suffix/PLIST b/net/ruby-public_suffix/PLIST
index fbcbbe49662..5f65a3f3433 100644
--- a/net/ruby-public_suffix/PLIST
+++ b/net/ruby-public_suffix/PLIST
@@ -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}/Gemfile
${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/list.rb
${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 --git a/net/ruby-public_suffix/distinfo b/net/ruby-public_suffix/distinfo
index fc6581f36a0..d3bd5e3de1e 100644
--- a/net/ruby-public_suffix/distinfo
+++ b/net/ruby-public_suffix/distinfo
@@ -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