0.3.3 / 2024-01-23

  • Switch to using require_relative to improve load-times.

0.3.2 / 2022-12-02

  • Ensure all character Strings within the Chars character sets are encoded as ASCII-8bit. This prevents transcoding issues when calling Chars::ASCII.random_string(length).
  • Changed Chars::CharSet#initialize to encode bytes greater than 256 as UTF-8. Otherwise, bytes less than 256 will be encoded as ASCII-8bit.

0.3.1 / 2022-12-01

  • Removed the space character from Chars::PUNCTUATION, as spaces are not technically a punctuation character.
  • Removed \f, \n, \r, \t, and \v from Chars::PRINTABLE, as other whitespace characters besides space (' ') are not considered printable characters.

0.3.0 / 2021-10-23

0.2.4 / 2021-10-22

0.2.3 / 2020-12-25

0.2.2 / 2012-05-28

0.2.1 / 2011-06-22

  • Added Chars::CharSet.[]
  • Added Chars::CharSet#<<.
  • Added Chars::CharSet#byte_to_char.
  • Added Chars::CharSet#char_to_byte.
  • Added a cache of characters of the bytes within Chars::CharSet.
  • Use String#each_char to distinguish Unicode from ASCII.

0.2.0 / 2010-10-27

  • Make sure all enumerable methods in Chars::CharSet return an Enumerator object if no block is given.

0.1.2 / 2009-09-21

0.1.1 / 2009-04-01

0.1.0 / 2009-03-16

  • Initial release.
  • Provides character sets for:
    • Numeric
    • Octal
    • Uppercase Hexadecimal
    • Lowercase Hexadecimal
    • Hexadecimal
    • Uppercase Alpha
    • Lowercase Alpha
    • Alpha
    • Alpha-numeric
    • Punctuation
    • Symbols
    • Space
    • Printable
    • Control
    • ASCII
  • Provides convenience methods for testing whether a String or Integer belongs to a certain character set.
  • Supports random text generation using specific character sets.