by Daniel P. Clark
- base62 by "JT Zemp" and contributors "Saadiq Rodgers-King", "Derrick Camerino"
- Define any base conversion with any identifier for each value.
require "basecustom" base2 = BaseCustom.new('01') base2.base('00001') => 1 base2.base('100110101') => 309 base2.base(340) => "101010100" base2.base(0xF45) => "111101000101" baseABC = BaseCustom.new('ABC') baseABC.base('ABC') => 5 baseABC.base(123) => "BBBCA"
- Cleaned up gemspec.
- Enabled use of special characters like newline (\n) or tab (\t) to be counted as acceptable numeric characters. These characters can now also be printed with expected behavior.
- Bump version number. Gem has proven ready as a version 1 release.
- Changed .all() to join by delimiter
- Added features .length() and .all()
- Fixed 0 as 0 bug.
- Added jmchambers' debug from jtzemp/base62 to avoid infinite loop in Rails 3.0.7
- My father suggested delimiter splitting on String initialization made more sense.
- Test-Unit assertions fixed/updated.
- Fixed multicharacter numbering units
- Added delimiter for multicharacter numbering units
- Safe base type creation. Each situation checked for and proper error messages.
- Added unique to string init declaration
- Added unique to array as well as checking that all array elements are strings
- Flatten array's on input initialization
- Complete Release