pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ruby-tins
Module Name: pkgsrc
Committed By: taca
Date: Sun Mar 1 07:49:34 UTC 2026
Modified Files:
pkgsrc/devel/ruby-tins: Makefile PLIST distinfo
Log Message:
devel/ruby-tins: update to 1.52.0
1.52.0 (2026-02-23)
* Renamed BASE32_EXTENDED_HEX_ALPHABET to
BASE32_EXTENDED_UPPERCASE_HEX_ALPHABET for clarity.
* Added BASE32_EXTENDED_LOWERCASE_HEX_ALPHABET constant for lowercase hex
alphabet.
* Updated BASE32_EXTENDED_HEX_ALPHABET to default to the uppercase variant.
* Updated comment for BASE32_ALPHABET to specify RFC4648 compliance.
* Improved maintainability by separating uppercase and lowercase hex
alphabet variants.
* Added require 'tins/hash_dfs' to lib/tins.rb and lib/tins/xt.rb.
* Renamed thread‑local flag in HashBFS from :seen to :bfs_seen and updated
all references.
* Replaced calls to convert_to_hash_or_ary with bfs_convert_to_hash_or_ary
in HashBFS.
* Added bfs_convert_to_hash_or_ary method to HashBFS.
* Added new module Tins::HashDFS providing depth‑first traversal with
* thread‑local dfs_seen and dfs_convert_to_hash_or_ary.
* Mixed HashDFS into ::Hash via lib/tins/xt/hash_dfs.rb.
* Added tests/hash_dfs_test.rb with DFS tests mirroring BFS tests.
* Updated YARD documentation for HashBFS#bfs with an example.
* Optimized token analysis bit calculation by using a direct computation
with Math.log2 instead of large exponentiation, improving performance and
numerical stability for large token lengths.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/ruby-tins/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/ruby-tins/PLIST
cvs rdiff -u -r1.39 -r1.40 pkgsrc/devel/ruby-tins/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/ruby-tins/Makefile
diff -u pkgsrc/devel/ruby-tins/Makefile:1.36 pkgsrc/devel/ruby-tins/Makefile:1.37
--- pkgsrc/devel/ruby-tins/Makefile:1.36 Sat Jan 17 16:57:44 2026
+++ pkgsrc/devel/ruby-tins/Makefile Sun Mar 1 07:49:34 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2026/01/17 16:57:44 taca Exp $
+# $NetBSD: Makefile,v 1.37 2026/03/01 07:49:34 taca Exp $
-DISTNAME= tins-1.51.1
+DISTNAME= tins-1.52.0
CATEGORIES= devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -9,6 +9,7 @@ COMMENT= Not good/big enough for a real
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-sync>=0:../../devel/ruby-sync
+DEPENDS+= ${RUBY_PKGPREFIX}-mize>=0.6<1:../../devel/ruby-mize
USE_LANGUAGES= # none
Index: pkgsrc/devel/ruby-tins/PLIST
diff -u pkgsrc/devel/ruby-tins/PLIST:1.20 pkgsrc/devel/ruby-tins/PLIST:1.21
--- pkgsrc/devel/ruby-tins/PLIST:1.20 Mon Sep 15 17:25:47 2025
+++ pkgsrc/devel/ruby-tins/PLIST Sun Mar 1 07:49:34 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2025/09/15 17:25:47 taca Exp $
+@comment $NetBSD: PLIST,v 1.21 2026/03/01 07:49:34 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGES.md
${GEM_LIBDIR}/Gemfile
@@ -56,6 +56,7 @@ ${GEM_LIBDIR}/lib/tins/find.rb
${GEM_LIBDIR}/lib/tins/generator.rb
${GEM_LIBDIR}/lib/tins/go.rb
${GEM_LIBDIR}/lib/tins/hash_bfs.rb
+${GEM_LIBDIR}/lib/tins/hash_dfs.rb
${GEM_LIBDIR}/lib/tins/hash_symbolize_keys_recursive.rb
${GEM_LIBDIR}/lib/tins/hash_union.rb
${GEM_LIBDIR}/lib/tins/if_predicate.rb
@@ -114,6 +115,7 @@ ${GEM_LIBDIR}/lib/tins/xt/extract_last_a
${GEM_LIBDIR}/lib/tins/xt/file_binary.rb
${GEM_LIBDIR}/lib/tins/xt/full.rb
${GEM_LIBDIR}/lib/tins/xt/hash_bfs.rb
+${GEM_LIBDIR}/lib/tins/xt/hash_dfs.rb
${GEM_LIBDIR}/lib/tins/xt/hash_symbolize_keys_recursive.rb
${GEM_LIBDIR}/lib/tins/xt/hash_union.rb
${GEM_LIBDIR}/lib/tins/xt/if_predicate.rb
@@ -167,6 +169,7 @@ ${GEM_LIBDIR}/tests/from_module_test.rb
${GEM_LIBDIR}/tests/generator_test.rb
${GEM_LIBDIR}/tests/go_test.rb
${GEM_LIBDIR}/tests/hash_bfs_test.rb
+${GEM_LIBDIR}/tests/hash_dfs_test.rb
${GEM_LIBDIR}/tests/hash_symbolize_keys_recursive_test.rb
${GEM_LIBDIR}/tests/hash_union_test.rb
${GEM_LIBDIR}/tests/if_predicate_test.rb
Index: pkgsrc/devel/ruby-tins/distinfo
diff -u pkgsrc/devel/ruby-tins/distinfo:1.39 pkgsrc/devel/ruby-tins/distinfo:1.40
--- pkgsrc/devel/ruby-tins/distinfo:1.39 Sat Jan 17 16:57:44 2026
+++ pkgsrc/devel/ruby-tins/distinfo Sun Mar 1 07:49:34 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.39 2026/01/17 16:57:44 taca Exp $
+$NetBSD: distinfo,v 1.40 2026/03/01 07:49:34 taca Exp $
-BLAKE2s (tins-1.51.1.gem) = 8da672baa3148f10bdbe658154d04bae1774b6ee0012c48326eae531d74d44be
-SHA512 (tins-1.51.1.gem) = 995e07f5792085437c5c09b04c24c6f50fbe35c3104c27cd8e5d1cc13a21ce9e73f6e0d914ca1f45c0e75e3604f4bbc36ab58d9375ab994fc9d181ca8cb318ec
-Size (tins-1.51.1.gem) = 352256 bytes
+BLAKE2s (tins-1.52.0.gem) = 92cec548b68aa322748cd8002f45820ea55ed866b6ba1a9d6139c3c1e286f0ca
+SHA512 (tins-1.52.0.gem) = 1bb231613a66bd476ba948e8ff54b73bde27e4fd49e32c416a4ec063b283af85f55c0bc1f0eaa28134d13afb9a6f2f4c0c94f575480781d87275480e868908b5
+Size (tins-1.52.0.gem) = 353792 bytes
Home |
Main Index |
Thread Index |
Old Index