Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 27, 2012
  1. updating manifest

    authored
  2. bumping to 1.3.0

    authored
Commits on Mar 23, 2012
  1. Merge pull request #53 from eregon/patch-1

    authored
    add missing #warn in #init_with for #yaml_initialize deprecation
  2. @eregon
Commits on Mar 8, 2012
  1. * ext/psych/lib/psych.rb (load, parse): stop parsing or loading after

    authored
      the first document has been parsed.
    
    * test/psych/test_stream.rb: pertinent tests.
  2. * ext/psych/lib/psych.rb (parse_stream, load_stream): if a block is

    authored
      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.
Commits on Mar 5, 2012
  1. testing against ruby-head

    authored
  2. * ext/psych/lib/psych/core_ext.rb: only extend Kernel if IRB is loaded

    authored
      in order to stop method pollution. fixes #50
  3. * ext/psych/lib/psych.rb: default open YAML files with utf8 external

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

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

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

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

    authored
      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
  2. syncing with ruby trunk

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

    authored
      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
  2. * ext/psych/lib/psych/scalar_scanner.rb: Strings that look like dates

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

    authored
      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.
  2. * ext/psych/parser.c (parse): parse method can take an option file

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

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

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

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

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

    authored
      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
Commits on Nov 7, 2011
  1. * ext/psych/lib/psych/scalar_scanner.rb: make sure strings that look

    authored
      like base 60 numbers are serialized as quoted strings.
    * test/psych/test_string.rb: test for change.
    
    Fixes #25
  2. merging from ruby

    authored
Commits on Nov 2, 2011
  1. updating the manifest

    authored
Commits on Nov 1, 2011
  1. merging from ruby

    authored
Commits on Oct 4, 2011
  1. Merge pull request #33 from nagachika/fix_rescue_syntax

    authored
    postfix rescue statement cannot receive Exception class specification.
Something went wrong with that request. Please try again.