diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-08 13:23:08 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-08 13:23:08 -0800 |
commit | 34d3b22d2b94e58b0e51ac922ea48d686fcbb901 (patch) | |
tree | 7b9599abf65a350c7a680f15f4ccf0614674c2f9 /CHANGELOG.rdoc | |
parent | 90acf338b14a31498e8888493b31a90f13978918 (diff) | |
download | psych-34d3b22d2b94e58b0e51ac922ea48d686fcbb901.zip |
* ext/psych/lib/psych.rb (parse_stream, load_stream): if a block is
given, documents will be yielded to the block as they are parsed.
[ruby-core:42404] [Bug #5978]
* ext/psych/lib/psych/handlers/document_stream.rb: add a handler that
yields documents as they are parsed
* test/psych/test_stream.rb: corresponding tests.
Diffstat (limited to 'CHANGELOG.rdoc')
-rw-r--r-- | CHANGELOG.rdoc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index 599fbed..9f8fcd5 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -1,3 +1,14 @@ +Fri Mar 9 06:17:05 2012 Aaron Patterson <aaron@tenderlovemaking.com> + + * ext/psych/lib/psych.rb (parse_stream, load_stream): if a block is + given, documents will be yielded to the block as they are parsed. + [ruby-core:42404] [Bug #5978] + + * ext/psych/lib/psych/handlers/document_stream.rb: add a handler that + yields documents as they are parsed + + * test/psych/test_stream.rb: corresponding tests. + Tue Mar 6 02:31:20 2012 Aaron Patterson <aaron@tenderlovemaking.com> * ext/psych/lib/psych/core_ext.rb: only extend Kernel if IRB is loaded |