Permalink
Browse files

Making the dump and write speedups available in a release

  • Loading branch information...
1 parent ed4eda9 commit 3fc229fbe831fa3e0dc6f45b465f1e5433763e93 Peter Ohler committed Mar 20, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 README.md
  2. +1 −1 ext/oj/fast.c
  3. +1 −1 lib/oj/version.rb
View
@@ -24,9 +24,9 @@ A fast JSON parser and Object marshaller as a Ruby gem.
## <a name="release">Release Notes</a>
-### Release 1.0.5
+### Release 1.0.6
- - Added :ascii_only options for dumping JSON where all high-bit characters are encoded as escaped sequences.
+ - Gave Oj::Doc a speed increase. It is now 8 times fast than JSON::Ext.
## <a name="description">Description</a>
View
@@ -1422,7 +1422,7 @@ doc_dump(int argc, VALUE *argv, VALUE self) {
Check_Type(*argv, T_STRING);
path = StringValuePtr(*argv);
}
- if (1 <= argc) {
+ if (2 <= argc) {
Check_Type(argv[1], T_STRING);
filename = StringValuePtr(argv[1]);
}
View
@@ -1,5 +1,5 @@
module Oj
# Current version of the module.
- VERSION = '1.0.5'
+ VERSION = '1.0.6'
end

0 comments on commit 3fc229f

Please sign in to comment.