v0.2.0
- Added a full Minitest test suite
- Fixed
respond_to?(:slug)returning false for models using method_missing by implementingrespond_to_missing? - Fixed collision resolution generating identical suffixes by switching from id-based deterministic suffixes to SecureRandom-based random suffixes
- Fixed length parameter edge cases (zero, negative, very large values) by adding length validation and clamping via
normalize_lengthmethod - Fixed timestamp fallback to include random suffix for additional uniqueness guarantee
- Added length validation constants (
MAX_HEX_STRING_LENGTH,MAX_NUMBER_LENGTH) to prevent invalid length values
PRs contained
Full Changelog: v0.1.1...v0.2.0