brianmario-yajl-ruby 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +15 -1
  2. data/VERSION.yml +1 -1
  3. data/ext/yajl.c +1 -1
  4. metadata +1 -1
data/README.rdoc CHANGED
@@ -58,4 +58,18 @@ Again, I'll post some actual data on this; but in my testing here's what my ruby
58
58
 
59
59
  JSON.parse ~60MB
60
60
 
61
- Yajl::Native.parse ~30MB
61
+ Yajl::Native.parse ~30MB
62
+
63
+ == Status
64
+
65
+ This library is still being refined and should by no means be used in production.
66
+ That being said, I'd like to invite you to clone/fork and test the crap out of it! ;)
67
+
68
+ == TODO
69
+
70
+ While parsing is working for the most part, there are still some edge cases I need to tackle.
71
+ Here's a list of things I need to get done to improve the awesomeness of this library.
72
+
73
+ * Write up a test suite
74
+ * Fix known parsing issues with certain JSON strings (Yajl itself works fine, it's the logic in this library that needs a little tweaking)
75
+ * Write more docs
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 0
2
+ :patch: 1
3
3
  :major: 0
4
4
  :minor: 2
data/ext/yajl.c CHANGED
@@ -24,7 +24,7 @@ void set_static_value(void * ctx, VALUE val) {
24
24
  if (TYPE(hash) == T_HASH) {
25
25
  rb_hash_aset(hash, lastEntry, val);
26
26
  rb_ary_pop((VALUE)ctx);
27
- if (TYPE(val) == T_HASH) {
27
+ if (TYPE(val) == T_HASH || TYPE(val) == T_ARRAY) {
28
28
  rb_ary_push((VALUE)ctx, val);
29
29
  }
30
30
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brianmario-yajl-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Lopez