Recent Releases of https://github.com/flori/tins
https://github.com/flori/tins - v1.52.0
- Renamed
BASE32_EXTENDED_HEX_ALPHABETto
BASE32_EXTENDED_UPPERCASE_HEX_ALPHABETfor clarity. - Added
BASE32_EXTENDED_LOWERCASE_HEX_ALPHABETconstant for lowercase hex
alphabet. - Updated
BASE32_EXTENDED_HEX_ALPHABETto default to the uppercase variant. - Updated comment for
BASE32_ALPHABETto specify RFC 4648 compliance. - Improved maintainability by separating uppercase and lowercase hex alphabet
variants. - Added
require 'tins/hash_dfs'tolib/tins.rbandlib/tins/xt.rb. - Renamed thread‑local flag in
HashBFSfrom:seento:bfs_seenand
updated all references. - Replaced calls to
convert_to_hash_or_arywithbfs_convert_to_hash_or_ary
inHashBFS. - Added
bfs_convert_to_hash_or_arymethod toHashBFS. - Added new module
Tins::HashDFSproviding depth‑first traversal with
thread‑localdfs_seenanddfs_convert_to_hash_or_ary. - Mixed
HashDFSinto::Hashvialib/tins/xt/hash_dfs.rb. - Added
tests/hash_dfs_test.rbwith DFS tests mirroring BFS tests. - Updated YARD documentation for
HashBFS#bfswith an example. - Optimized token analysis bit calculation by using a direct computation with
Math.log2instead of large exponentiation, improving performance and
numerical stability for large token lengths.
- Ruby
Published by flori 8 days ago
https://github.com/flori/tins - v1.51.1
- Simplified
lru_cacheimplementation to not needNOT_EXIST - Updated
rubygems_versionfrom 4.0.2 to 4.0.3 - Changed
gem_hadardevelopment dependency from "~> 2.10" to ">= 2.16.3" - Updated Ruby image version from 4.0-rc-alpine to 4.0-alpine in CI pipeline
- Added comprehensive module documentation for
DSLKitexplaining its purpose
and features - Added
CHANGES.mdfile to gem release process usingGemHadar
- Ruby
Published by flori about 2 months ago
https://github.com/flori/tins - v1.51.0
- Added
readlineas a runtime dependency in bothRakefileandtins.gemspec - The
readlinedependency version is set to>= 0intins.gemspec - The
readlinedependency is added to theGemHadarblock inRakefile
- Ruby
Published by flori 2 months ago
https://github.com/flori/tins - v1.50.0
- Updated
gem_hadardevelopment dependency version to 2.10 - Added
ruby:4.0-rc-alpineimage to theimagessection in.all_images.yml - Updated
s.rubygems_versionfrom 3.7.2 to 4.0.2 in gemspec
- Ruby
Published by flori 2 months ago
https://github.com/flori/tins - v1.49.0
- Added support for IEC binary prefixes (Ki, Mi, Gi, etc.) via new
:iec_uc
and:iec_uppercaseidentifiers in theprefixesmethod - Introduced
PREFIX_IEC_UCconstant for uppercase binary prefixes based on
1024-step increments - Added SI prefix aliases
:si_greek,:si_uc, and:si_uppercasefor improved usability - Updated documentation to clarify that
PREFIX_SI_UCis based on 1000-step increments - Enhanced the
prefixesmethod to support new aliases while maintaining backward compatibility - Added comprehensive test cases for new prefix functionality
- Updated
bundle updatecommand tobundle update --allin CI configuration
to ensure all dependencies are updated recursively - Bumped RubyGems version from 3.7.2 to 4.0.2 in gemspec
- Ruby
Published by flori 3 months ago
https://github.com/flori/tins - v1.48.0
- Added
Tins::Token.analyzeclass method to calculate bit strength - Moved bit calculation logic from
initializetoanalyzemethod for reuse - Implemented bit strength calculation using formula:
length × log₂(alphabet_size) - Added comprehensive tests for the
analyzemethod with various alphabets - Support both token string and length-based analysis
- Implemented proper error handling for required parameters
- Updated
initializemethod to use the newanalyzemethod - Test cases verify bit strength for BASE16, BASE64, and BASE32
alphabets - Method returns integer bit strength for cryptographic token analysis
- Ruby
Published by flori 3 months ago
https://github.com/flori/tins - v1.47.0
- Tins::GO
- Renamed
EnumerableExtensionmodule toArrayExtensionthroughout the codebase - Updated method calls from
<<topushfor consistency withArrayExtension - Modified
to_amethod implementation to return@argumentsdirectly - Updated test assertions to expect
ArrayExtensioninstead ofEnumerableExtension - Changed documentation comments to reflect the new
ArrayExtensionname - Updated type checking from
EnumerableExtensiontoArrayExtensionin conditional logic
- Renamed
- Ruby
Published by flori 4 months ago
https://github.com/flori/tins - v1.46.0
- Updated
s.rubygems_versionfrom 3.6.9 to 3.7.2 in gemspec - In Tins::GO
- Extended string defaults with
EnumerableExtensiontransformation - Modified
v.transform_values!to check and extend strings that aren't alreadyEnumerableExtension - Applied
w << wto properly initialize the extension on default strings - Updated tests to verify
EnumerableExtensioninstances for bothvandwoptions - Set default value for
?woption to 'baz' in test cases - Maintained backward compatibility while normalizing string handling
- Ensured consistent behavior between ARGV strings and default strings
- Extended string defaults with
- Ruby
Published by flori 4 months ago
https://github.com/flori/tins - v1.45.0
- Added
patchalias forbuildandbuild=methods to align with SemVer terminology - Updated
LEVELSmapping to support:patchas alias for:buildindex - Added
patchandpatch=aliases using thealiasmethod - Added tests for
patchgetter and setter functionality - Updated
gem_hadardevelopment dependency from version 2.5 to 2.8 - Added
openssl-devto Docker build dependencies - Added
github_workflowsconfiguration toRakefileforstatic.ymlworkflow - Removed
.byebug_historyfrom.gitignorefile - Removed
.byebug_historyfrom ignore list inRakefile - Removed duplicate
mizeentry from code indexer configuration
- Ruby
Published by flori 5 months ago
https://github.com/flori/tins - v1.44.1
- Updated documentation link in README.md to point to GitHub.io instead of
RubyDoc.info - Added graceful handling for missing
gem_hadar/simplecovgem by wrapping
require and start in begin/rescue block to catchLoadError - Modified gem packaging to include all files in
.githuband.contexts
directories usingFileListfor dynamic inclusion - Created
static.ymlfile
- Ruby
Published by flori 6 months ago
https://github.com/flori/tins - v1.44.0
Documentation Improvements
- Added extensive YARD documentation to all modules and methods throughout the
library - Included usage examples and detailed parameter descriptions for better
developer experience - Updated README.md with clearer project information
Code Modernization
- Removed support for Ruby 1.8 and 1.9, focusing on modern Ruby versions
- Eliminated deprecated compatibility modules and methods
- Cleaned up unused requires and dependencies
Technical Enhancements
- Improved error handling in various modules (Attempt, Bijection, etc.)
- Enhanced method signatures with proper parameter documentation
- Added comprehensive test coverage for all functionality
File Structure Changes
- Updated gemspec to reflect modern Ruby standards
- Modified Rakefile and .gitignore to exclude documentation directories
- Removed obsolete test files and deprecated code paths
- Ruby
Published by flori 6 months ago
https://github.com/flori/tins - v1.43.0
- Added new
dsl_lazy_accessormethod that creates lazy-loaded accessors with
support for default blocks and dynamic block assignment - Removed support for Ruby versions 3.1 and 3.0 from image definitions
- Ruby
Published by flori 6 months ago
https://github.com/flori/tins - v1.42.0
- Improved core class extension safety by using
respond_to?checks to avoid
overriding existing methods such asdeep_dup,camelize, andunderscore - Simplified GitHub directory ignore patterns in
Rakefileby removing
recursive glob pattern for.githubdirectory and directly specifying it as
a single entry - Added documentation context files and YARD cheatsheet, including
.contexts/
directory with code comment examples and updatedRakefileand
tins.gemspecto include context files andcontext_spookdependency
- Ruby
Published by flori 7 months ago
https://github.com/flori/tins - v1.41.0
- Added new
named_placeholders_interpolatemethod for template substitution - Method supports both static and dynamic default values via Proc
- Maintains backward compatibility with existing
named_placeholders_assignmethod - Includes comprehensive tests for all functionality and error handling
- Uses
named_placeholders_assigninternally for consistent implementation
- Ruby
Published by flori 7 months ago
https://github.com/flori/tins - v1.40.0
- Added
Tins::StringNamedPlaceholdersmodule withnamed_placeholdersand
named_placeholders_assignmethods for string template substitution - Implemented support for both static and dynamic default values using Proc
objects - Extended
Stringclass withtins/xt/stringto include the new named
placeholders functionality - Enhanced test coverage with comprehensive tests for all named placeholders
functionality including error handling and duplicate placeholder management - Replaced manual SimpleCov setup with
GemHadar::SimpleCov.startin test
helper
- Ruby
Published by flori 7 months ago
https://github.com/flori/tins - v1.39.0
- Update
Limitedclass: TheLimitedclass now accepts an optionalnameparameter in its constructor. If provided, it sets the thread name using theThread#name=method. - Add support for thread naming: The
Limitedclass now uses a named thread group (@tg) and sets the executor's name to the providednameif available. - Update tests: The
limited_test.rbfile has been updated to use named threads in its test cases.
- Ruby
Published by flori 7 months ago
https://github.com/flori/tins - v1.39.1
- Update gem_hadar dependency to version 1.22
- Ruby
Published by flori 7 months ago