Minor release to fix gemspec. Which, alas, Bunder cannot do without.
- Update .gemspec file for lastest indexer.
This release fixes two bugs. The first caused base conversions of
to return an empty string. Second, the
Float#to_r extension was
using multiplication when it should have been using power.
Ruby 1.9 includes
Float#to_r though, so the use of Radix's fixed
core extension is conditioned on Ruby 1.8 now. This release also
updates the build a bit, primarily converting RDoc documents to
- Fix issue #5, Float#to_r using times instead of power. (simonratner)
- Fix issue #4, zero converts to empty string. (bbasata)
- Convert RDoc documents to Markdown.
This release is simply an adminstrative release to update the project build configuration. The functionality of the library itself has not changed. This release also transitions the project to the BSD-2-Clause license.
- Modernize build configuration.
- Switch to BSD-2-Clause license.
Radix::Number has been deprecate in favor of three separate classes, Radix::Integer, Radix::Float and Radix::Rational. In addition implementation of these classes has been reworked.
- Deprecate Radix::Number
- Add Radix::Integer
- Add Radix::Float
- Add Radix::Rational
Radix now provides an actual Numeric subclass, Radix::Number, that stores the base and can be used like any other Numeric object. This makes it very easy to convert and manipulate numbers in any base. The implementation is still a bit nascent. For the moment, it only supports the most basic math operators and only handles integer values, but furture releases will continue to expand on it's capabilites.
- Add Radix::Number to handle bases like any other numeric.
- Rename Radix class to Radix::Base.
This is the initial stand-alone release of Radix, ported from the basex.rb library of Ruby Facets.
- Happy Birthday!