Subject: CVS commit: pkgsrc/devel/ruby-tins
From: Takahiro Kambe
Date: 2024-10-13 18:37:15
Message id: 20241013163715.581AAFC7E@cvs.NetBSD.org

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

Files:
RevisionActionfile
1.28modifypkgsrc/devel/ruby-tins/Makefile
1.18modifypkgsrc/devel/ruby-tins/PLIST
1.31modifypkgsrc/devel/ruby-tins/distinfo