Skip to content

v2.0.0 (November 2014)

Choose a tag to compare

@pda pda released this 08 Jul 04:41
· 5 commits to master since this release
  • Use JSON.dump(data) not data.to_json
    • This avoids the monkey-patching that ActiveSupport adds in Rails apps, which can make it difficult to get string-identical output across platforms. Specifically, ActiveSupport changes #to_json to escape ampersands into their unicode codes. JSON.dump is used over JSON.generate because the former handles root objects other than arrays and objects.
  • Refactoring.
  • Spec upgrades.