Skip to content

Commit b40f82f

Browse files
committed
:admin: Bump version to 2.2.1.
1 parent a39dee1 commit b40f82f

6 files changed

Lines changed: 33 additions & 22 deletions

File tree

.index

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ resources:
2929
- type: code
3030
uri: http://github.com/rubyworks/radix
3131
label: Source Code
32-
- type: mail
33-
uri: http://groups.google.com/groups/rubyworks-mailinglist
34-
label: Mailing List
3532
- type: bugs
3633
uri: http://github.com/rubyworks/radix/issues
3734
label: Issue Tracker
@@ -55,5 +52,5 @@ created: '2009-07-01'
5552
description: "Radix is a very easy to use Ruby library for converting numbers to and
5653
from\nany base. It supports both Integer, Float and Rational numbers, as well as
5754
\nrepresentational string-notations that need not be in ASCII order."
58-
version: 2.2.0
59-
date: '2014-07-19'
55+
version: 2.2.1
56+
date: '2015-03-02'

HISTORY.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# RELEASE HISTORY
22

3+
## 2.2.1 / 2014-03-02
4+
5+
This release fixes a couple of issues. One unsettling issue in particular,
6+
somewhere around Ruby 2.0, `String#b` became an offical core method
7+
that force-encodes a string to ASCII 8-bit. This, of course, broke Radix :(
8+
That aside, it seems like a rather weak name for such a method. `String#ascii`
9+
seems a much better choice (IOHO). Thankfully, there's just enough wiggle-room
10+
to implement a work around, so the Radix API remains the same. In addition,
11+
there was a bug when trying to decode custom character sets, which has been
12+
fixed.
13+
14+
Changes:
15+
16+
* Work around Ruby's `String#b` method.
17+
* Fix custom base decoding.
18+
19+
320
## 2.2.0 / 2013-03-20
421

522
Good documentation is so under-addressed by most developers that we really

MANIFEST

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ demo/applique/ae.rb
1010
demo/applique/check.rb
1111
demo/applique/radix.rb
1212
demo/issues/004_zero_empty_string.md
13+
demo/issues/012_array_base.md
1314
lib/radix/base.rb
1415
lib/radix/float.rb
1516
lib/radix/integer.rb
@@ -18,7 +19,7 @@ lib/radix/operator.rb
1819
lib/radix/rational.rb
1920
lib/radix.rb
2021
lib/radix.yml
21-
HISTORY.md
2222
README.md
23+
HISTORY.md
2324
DEMO.md
2425
LICENSE.txt

README.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,26 @@
11
# Radix
22

3-
[Website](http://rubyworks.github.com/radix) ·
4-
[Report Issue](http://github.com/rubyworks/radix/issues) ·
5-
[Source Code](http://github.com/rubyworks/radix)
6-
7-
<b>Radix is a very easy to use Ruby library for converting numbers to and from
8-
any base. It supports both Integer, Float and Rational numbers, as well as
9-
representational string-notations that need not be in ASCII order.</b>
10-
11-
12-
## Status
13-
143
[![Gem Version](http://img.shields.io/gem/v/radix.svg?style=flat)](http://rubygems.org/gem/radix)
15-
[![Build Status](http://img.shields.io/travis/rubyworks/radix.svg?style=flat)](http://travis-ci.org/rubyworks/radix)
4+
&nbsp; &nbsp;
165
[![Fork Me](http://img.shields.io/badge/scm-github-blue.svg?style=flat)](http://github.com/rubyworks/radix)
176
[![Report Issue](http://img.shields.io/github/issues/rubyworks/radix.svg?style=flat)](http://github.com/rubyworks/radix/issues)
7+
[![Build Status](http://img.shields.io/travis/rubyworks/radix.svg?style=flat)](http://travis-ci.org/rubyworks/radix)
8+
&nbsp; &nbsp;
189
[![Gittip](http://img.shields.io/badge/gittip-$1/wk-green.svg?style=flat)](https://www.gittip.com/on/github/rubyworks/)
1910
[![Flattr Me](http://api.flattr.com/button/flattr-badge-large.png)](http://flattr.com/thing/324911/Rubyworks-Ruby-Development-Fund)
2011

2112

13+
<b>[Radix]((http://rubyworks.github.com/radix)) is a very easy to use Ruby library
14+
for converting numbers to and from any base. It supports both Integer, Float and
15+
Rational numbers, as well as representational string-notations that need not be
16+
in ASCII order.</b>
17+
18+
2219
## Features
2320

2421
* Convert to and from any base.
25-
* Convert Integers, Floats and Rational numbers.
26-
* Define custom encoding and character sets.
22+
* Convert Integer, Float and Rational numbers.
23+
* Define custom encodings and character sets.
2724
* Can be used to encode/decode bytecode strings.
2825
* Very intuitive API.
2926

index/resources

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
home: http://rubyworks.github.com/radix
33
code: http://github.com/rubyworks/radix
4-
mail: http://groups.google.com/groups/rubyworks-mailinglist
54
bugs: http://github.com/rubyworks/radix/issues
65

index/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.0
1+
2.2.1

0 commit comments

Comments
 (0)