rightscale/right_support — pull request #5 by xeger (2011-11-18 00:48:54+00:00)
Title: Switch from JSON gem to YAJL gem for JSON parsing.

We will be migrating our projects to YAJL over time because of its superior performance and better standards compliance.

Because SignedHash uses JSON as a canonicalizing transform, it's very important that we minimize the risk of JSON/YAJL encoding variances; hence, we are switching RightSupport over to use YAJL as the default canonicalizer.

In order to test for compatibility with JSON-gem canonicalization, I also had to make RightSupport's specs pass under ruby 1.9 -- we had a few subtle bugs, and some string encoding stuff that prevented the specs from working right.