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 Oct 13 16:37:15 UTC 2024

Modified Files:
        pkgsrc/devel/ruby-tins: Makefile PLIST distinfo

Log Message:
devel/ruby-tins: update to 1.36.1

1.34.0 (2024-09-30)

* Secure write functionality updated

  - Added support for Pathname objects in secure_write
  - Updated File.new call to use to_s method on filename
  - New test case added for secure_write with Pathname object

* Refactor version comparisons in various modules

  - Added Tins::StringVersion.compare method to compare Ruby versions with
    operators.
  - Replaced direct version comparisons with compare method in multiple
    modules.

* Deprecate deep_const_get and const_defined_in? methods

  - Add deprecation notice for const_defined_in? for ruby >= 1.8
  - Add deprecation notice for deep_const_get method with a new method name
    const_get for ruby >= 2.0

* Refactor deprecation logic and tests

  - Update Tins::Deprecate#deprecate method to allow for optional new_method
    parameter.
  - Modify tests/deprecate_test.rb to test deprecated methods with and
    without messages.

* Prepare count_by method for deprecation

  - Suggest using count with block instead in newer Rubies

* Prepare uniq_by / uniq_by! method for deprecation

  - Suggest using uniq / uniq! with block instead in newer Rubies

1.35.0 (2024-10-10)

New Features

* Implemented breadth-first search in hashes using the Tins::HashBFS module.

  - Added tests for the Tins::HashBFS module.

Refactoring and Cleanup

* Reformatted code.
* Removed TODO note from the TODO file.
* Cleaned up test requirements:

  - Added require 'tins' to tests/test_helper.rb.
  - Removed unnecessary require 'tins' lines from test files.

* Refactored BASE16 constants and alphabet:

  - Added BASE16_LOWERCASE_ALPHABET constant.
  - Added BASE16_UPPERCASE_ALPHABET constant.

Tool Updates

* Updated bundler command to use full index:

  - Added --full-index flag to bundle install.
  - Replaced bundle update with bundle install --full-index.

1.36.0 (2024-10-11)

Significant Changes

* Refactor bfs method in hash_bfs.rb:

  - Rename include_nodes variable to visit_internal
  - Update test cases in hash_bfs_test.rb to use new method signature
  - Update method signature and docstring to reflect new behavior

* Update hash conversion logic:

  - Rename method parameter from v to object
  - Use object instead of v consistently throughout the method
  - Add documentation for new method name and behavior

1.36.1 (2024-10-11)

* Fixed a typo in the code


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/ruby-tins/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/ruby-tins/PLIST
cvs rdiff -u -r1.30 -r1.31 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.27 pkgsrc/devel/ruby-tins/Makefile:1.28
--- pkgsrc/devel/ruby-tins/Makefile:1.27        Sun May  5 16:58:16 2024
+++ pkgsrc/devel/ruby-tins/Makefile     Sun Oct 13 16:37:15 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2024/05/05 16:58:16 taca Exp $
+# $NetBSD: Makefile,v 1.28 2024/10/13 16:37:15 taca Exp $
 
-DISTNAME=      tins-1.33.0
+DISTNAME=      tins-1.36.1
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/devel/ruby-tins/PLIST
diff -u pkgsrc/devel/ruby-tins/PLIST:1.17 pkgsrc/devel/ruby-tins/PLIST:1.18
--- pkgsrc/devel/ruby-tins/PLIST:1.17   Fri Aug 26 11:41:21 2022
+++ pkgsrc/devel/ruby-tins/PLIST        Sun Oct 13 16:37:15 2024
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.17 2022/08/26 11:41:21 taca Exp $
+@comment $NetBSD: PLIST,v 1.18 2024/10/13 16:37:15 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CHANGES.md
 ${GEM_LIBDIR}/COPYING
 ${GEM_LIBDIR}/Gemfile
 ${GEM_LIBDIR}/README.md
@@ -47,6 +48,7 @@ ${GEM_LIBDIR}/lib/tins/date_dummy.rb
 ${GEM_LIBDIR}/lib/tins/date_time_dummy.rb
 ${GEM_LIBDIR}/lib/tins/deep_const_get.rb
 ${GEM_LIBDIR}/lib/tins/deep_dup.rb
+${GEM_LIBDIR}/lib/tins/deprecate.rb
 ${GEM_LIBDIR}/lib/tins/dslkit.rb
 ${GEM_LIBDIR}/lib/tins/duration.rb
 ${GEM_LIBDIR}/lib/tins/expose.rb
@@ -55,6 +57,7 @@ ${GEM_LIBDIR}/lib/tins/file_binary.rb
 ${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_symbolize_keys_recursive.rb
 ${GEM_LIBDIR}/lib/tins/hash_union.rb
 ${GEM_LIBDIR}/lib/tins/if_predicate.rb
@@ -109,11 +112,13 @@ ${GEM_LIBDIR}/lib/tins/xt/date_dummy.rb
 ${GEM_LIBDIR}/lib/tins/xt/date_time_dummy.rb
 ${GEM_LIBDIR}/lib/tins/xt/deep_const_get.rb
 ${GEM_LIBDIR}/lib/tins/xt/deep_dup.rb
+${GEM_LIBDIR}/lib/tins/xt/deprecate.rb
 ${GEM_LIBDIR}/lib/tins/xt/dslkit.rb
 ${GEM_LIBDIR}/lib/tins/xt/expose.rb
 ${GEM_LIBDIR}/lib/tins/xt/extract_last_argument_options.rb
 ${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_symbolize_keys_recursive.rb
 ${GEM_LIBDIR}/lib/tins/xt/hash_union.rb
 ${GEM_LIBDIR}/lib/tins/xt/if_predicate.rb
@@ -156,6 +161,7 @@ ${GEM_LIBDIR}/tests/date_time_dummy_test
 ${GEM_LIBDIR}/tests/deep_const_get_test.rb
 ${GEM_LIBDIR}/tests/deep_dup_test.rb
 ${GEM_LIBDIR}/tests/delegate_test.rb
+${GEM_LIBDIR}/tests/deprecate_test.rb
 ${GEM_LIBDIR}/tests/dslkit_test.rb
 ${GEM_LIBDIR}/tests/duration_test.rb
 ${GEM_LIBDIR}/tests/dynamic_scope_test.rb
@@ -166,6 +172,7 @@ ${GEM_LIBDIR}/tests/find_test.rb
 ${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_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.30 pkgsrc/devel/ruby-tins/distinfo:1.31
--- pkgsrc/devel/ruby-tins/distinfo:1.30        Sun May  5 16:58:16 2024
+++ pkgsrc/devel/ruby-tins/distinfo     Sun Oct 13 16:37:15 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.30 2024/05/05 16:58:16 taca Exp $
+$NetBSD: distinfo,v 1.31 2024/10/13 16:37:15 taca Exp $
 
-BLAKE2s (tins-1.33.0.gem) = fe579013b4b47da0c76052f8789be76a5fad4d963fde88ac1ee416f08268b58c
-SHA512 (tins-1.33.0.gem) = 3a287ca5e8420c3e2582f8996b5a52c5337c82e1abc8f4311751196f94c75518515d534a7fb020886cf41118b9fcc9142299ca06a809255003029a2512e5b32e
-Size (tins-1.33.0.gem) = 307712 bytes
+BLAKE2s (tins-1.36.1.gem) = 6bcb37aa1757d68d1989a5ae7d8aab4e8e35bee63f0bd980bf8ba9152e304a6a
+SHA512 (tins-1.36.1.gem) = c2a109fe8d9d91a90ca9efdc575b1b7b5ad6dfb43bdde1a7456bd184367e49290dbd754c50e2722b53e154b739f7758fcb7feb3bc9a57db2ac7162f4bd6fd61d
+Size (tins-1.36.1.gem) = 311296 bytes



Home | Main Index | Thread Index | Old Index