README.rdoc in radix-2.0.0 vs README.rdoc in radix-2.0.1
- old
+ new
@@ -1,38 +1,43 @@
= Radix
-* home: http://rubyworks.github.com/radix
-* code: http://github.com/rubyworks/radix
+{<img src="http://travis-ci.org/rubyworks/radix.png" />}[http://travis-ci.org/rubyworks/radix]
+License:: BSD-2-Clause
+Copyright:: 2009 Thomas Sawyer, Rubyworks
+
== DESCRIPTION
-Radix provides the means of converting to and from any base.
+Radix is a very easy to use Ruby library for converting numbers to and from
+any base. It supports both Integer, Float and Rational numbers, as well as
+representational string-notations that need not be in ASCII order.
-In addition, representational notations need not be in
-ASCII order --any user-defined notation can be used up to
-base 62.
+== FEATURES
-== FEATURES/ISSUES
-
* Convert to and from any base.
-* Define custom character sets.
-* Can be used to encode/decode strings.
+* Convert Integers, Floats and Rational numbers.
+* Define custom encoding and character sets.
+* Can be used to encode/decode bytecode strings.
* Very intuitive API.
-== RELEASE NOTES
+== RESOURCES
-Please see the HISTORY.rdoc file.
+* {Website}[http://rubyworks.github.com/radix]
+* {Source Code}[http://github.com/rubyworks/radix]
+* {Mailing List}[http://groups.google/group/rubyworks-mailinglist]
+* {Issue Tracker}[http://github.com/rubyworks/radix/issues]
== SYNOPSIS
Base conversions with ASCII ordered notations are easy in Ruby.
255.to_s(16) #=> "FF"
+
"FF".to_i(16) #=> 255
But Ruby reaches it's limit at base 36.
255.to_s(37) #=> Error
@@ -42,16 +47,16 @@
For example, a number in base 256 can be represented by the array [100, 10]
(ie. 100**256 + 10**1) and can be convert to base 10.
[100,10].b(256).to_a(10) #=> [2,5,6,1,0]
-Or, to get a string representation for any base upto 62.
+Or, to get a string representation for any base up to 62.
[100,10].b(256).to_s(10) #=> "25610"
-A string representation of anumber can be converted too, again,
-upto base 62.
+A string representation of a number can be converted too, again,
+up to base 62.
"10".b(62).to_s(10) #=> "62"
To use a custom character set, use an array of characters as the base
rather than an integer. For example we can convert a base 10 number
@@ -70,12 +75,12 @@
$ gem install radix
Radix follows {Ruby Setup}[http://rubyworks.github.com/setup] package standard.
-== LICENSE/COPYRIGHT
+== COPYRIGHTS
-Copyright (c) 2009 Thomas Sawyer
+Copyright (c) 2009 Thomas Sawyer, Rubyworks
-This program is ditributed unser the terms of the Apache 2.0 license.
+This program is distributable in accordance with the *FreeBSD* license.
-See LICENSE file for details.
+See NOTICE.rdoc for details.