[ANN] Ron 0.1.2 Released

C

Caleb Clausen

Ron version 0.1.2 has been released!

* http://github.com/coatl/ron

Well, who needed another serialization format? Not me, but that's
what I've made. Ruby Object Notation (Ron) is a textual format for
the representation of Ruby data structures. It's somewhat like
YAML, XML, or (most of all) JSON. However, since it is defined
entirely within and as a subset of Ruby, it has the slick
property that Ron expressions are legal Ruby. Thus it is very
like JSON, except that it's Ruby-centered instead of being
JavaScript-centered.

Another way to look at Ron is as a purely declarative language
for creating (almost) any type of Ruby data structure.

Installation:
Use this command to install the gem:
gem install Ron
or download the tarball from rubyforge:
http://rubyforge.org/frs/download.php/68389/Ron-0.1.2.tar.gz


Changes:

### 0.1.2 / 21dec2009
* 5 Major Bugfixes:
* preserve modules an object was extended by
* (but not Recursive, which is an artifact of using ron)
* single quote and backslash now handled right in String
* all significant digits now preserved in Float (really)
* many small improvements to object graph copying (see below)
* ported to MRI 1.9

* 2 Minor Bugfixes:
* preserve classes of descendants Regexp, Range, Array and Hash
* many changes to tests to improve coverage and correctness
* also, tests now work around bugs in yaml

* 1 Minor Enhancement:
* reworked build/gem scripts

* Improvements to object graph copying:
* depth-first copying is now available
* call may pass in a hash of objects to replace
* replacements when parent is nil or false are now an error
* protect against changes to hash, set, or array during traversal
* avoid inf-loop if replacing item with many items
* now possible to replace an object with another that contains the first
* in depth_graphcopy, delay all changes til right before the end
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top