Permalink
Commits on Mar 27, 2012
  1. updating manifest

    tenderlove committed Mar 27, 2012
  2. bumping to 1.3.0

    tenderlove committed Mar 27, 2012
Commits on Mar 8, 2012
  1. * ext/psych/lib/psych.rb (load, parse): stop parsing or loading after

      the first document has been parsed.
    
    * test/psych/test_stream.rb: pertinent tests.
    tenderlove committed Mar 8, 2012
  2. * 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.
    tenderlove committed Mar 8, 2012
Commits on Mar 5, 2012
  1. testing against ruby-head

    tenderlove committed Mar 5, 2012
  2. * ext/psych/lib/psych/core_ext.rb: only extend Kernel if IRB is loaded

      in order to stop method pollution. fixes #50
    tenderlove committed Mar 5, 2012
  3. * ext/psych/lib/psych.rb: default open YAML files with utf8 external

      encoding. [ruby-core:42967]
    * test/psych/test_tainted.rb: ditto
    tenderlove committed Mar 5, 2012
Commits on Feb 28, 2012
  1. * ext/psych/parser.c: prevent a memory leak by protecting calls to

      handler callbacks.
    * test/psych/test_parser.rb: test to demonstrate leak.
    tenderlove committed Feb 28, 2012
Commits on Feb 23, 2012
  1. * ext/psych/parser.c: set parser encoding based on the YAML input

      rather than user configuration.
    * test/psych/test_encoding.rb: corresponding tests.
    * test/psych/test_parser.rb: ditto
    * test/psych/test_tainted.rb: ditto
    tenderlove committed Feb 23, 2012
Commits on Feb 9, 2012
  1. * ext/psych/parser.c: removed external encoding setter, allow parser

      to be reused.
    * ext/psych/lib/psych/parser.rb: added external encoding setter.
    * test/psych/test_parser.rb: test parser reuse
    tenderlove committed Feb 9, 2012
Commits on Jan 18, 2012
  1. * ext/psych/lib/psych/visitors/to_ruby.rb: Added support for loading

      subclasses of String with ivars
    * ext/psych/lib/psych/visitors/yaml_tree.rb: Added support for dumping
      subclasses of String with ivars
    * test/psych/test_string.rb: corresponding tests
    tenderlove committed Jan 18, 2012
  2. syncing with ruby trunk

    tenderlove committed Jan 18, 2012
Commits on Dec 18, 2011
  1. * ext/psych/lib/psych/visitors/to_ruby.rb: BigDecimals can be restored

      from YAML.
    * ext/psych/lib/psych/visitors/yaml_tree.rb: BigDecimals can be dumped
      to YAML.
    * test/psych/test_numeric.rb: tests for BigDecimal serialization
    
    Fixes #31
    tenderlove committed Dec 18, 2011
  2. * ext/psych/lib/psych/scalar_scanner.rb: Strings that look like dates

      should be treated as strings and not dates.  Fixes #42
    
    * test/psych/test_scalar_scanner.rb: corresponding tests.
    tenderlove committed Dec 18, 2011
Commits on Dec 6, 2011
  1. * ext/psych/lib/psych.rb (module Psych): parse and load methods take

      an optional file name that is used when raising Psych::SyntaxError
      exceptions
    * ext/psych/lib/psych/syntax_error.rb (module Psych): allow nil file
      names and handle nil file names in the exception message
    * test/psych/test_exception.rb (module Psych): Tests for changes.
    tenderlove committed Dec 6, 2011
  2. * ext/psych/parser.c (parse): parse method can take an option file

      name for use in exception messages.
    * test/psych/test_parser.rb: corresponding tests.
    tenderlove committed Dec 6, 2011
Commits on Nov 29, 2011
  1. sync with ruby-core

    tenderlove committed Nov 29, 2011
Commits on Nov 21, 2011
  1. * ext/psych/lib/psych.rb: remove autoload from psych

    * ext/psych/lib/psych/json.rb: ditto
    tenderlove committed Nov 21, 2011
Commits on Nov 17, 2011
  1. * ext/psych/lib/psych.rb (load_file): make sure opened yaml files are

      also closed. [ruby-core:41088]
    tenderlove committed Nov 17, 2011
Commits on Nov 16, 2011
  1. Merge pull request #38 from brookemckim/master

    Link to libyaml's website in README was incorrect.
    tenderlove committed Nov 16, 2011
Commits on Nov 15, 2011
Commits on Nov 8, 2011
  1. * ext/psych/lib/psych/tree_builder.rb: dump complex numbers,

      rationals, etc with reference ids.
    * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
    * ext/psych/lib/psych/visitors/to_ruby.rb: loading complex numbers,
      rationals, etc with reference ids.
    * test/psych/test_object_references.rb: corresponding tests
    
    fixes #36
    tenderlove committed Nov 8, 2011
Commits on Nov 7, 2011
  1. * ext/psych/lib/psych/scalar_scanner.rb: make sure strings that look

      like base 60 numbers are serialized as quoted strings.
    * test/psych/test_string.rb: test for change.
    
    Fixes #25
    tenderlove committed Nov 7, 2011
  2. merging from ruby

    tenderlove committed Nov 7, 2011
Commits on Nov 2, 2011
  1. updating the manifest

    tenderlove committed Nov 2, 2011
Commits on Nov 1, 2011
  1. merging from ruby

    tenderlove committed Nov 1, 2011
Commits on Oct 4, 2011
  1. Using context_mark from the parser struct for accuruate line / column

    offsets during an exception.
    tenderlove committed Oct 4, 2011
  2. Merge pull request #33 from nagachika/fix_rescue_syntax

    postfix rescue statement cannot receive Exception class specification.
    tenderlove committed Oct 4, 2011
Commits on Oct 3, 2011
  1. also need rake compiler

    tenderlove committed Oct 3, 2011
  2. isolating before testing

    tenderlove committed Oct 3, 2011