Permalink
Commits on Jul 31, 2012
  1. bumping the version to 1.3.4

    tenderlove committed Jul 31, 2012
Commits on Jul 19, 2012
  1. * ext/psych/emitter.c (initialize): allow a configuration object to be

      passed to the constructor so that mutation isn't required after
      instantiation.
    
    * ext/psych/lib/psych/handler.rb: add configuration object
    
    * ext/psych/lib/psych/visitors/emitter.rb: use configuration object if
      extra configuration is present.
    tenderlove committed Jul 19, 2012
  2. sync with ruby trunk

    tenderlove committed Jul 19, 2012
Commits on Jul 13, 2012
  1. Merge pull request #69 from ManageIQ/register_strings_for_use_in_aliases

    From yaml, register a newly created String with aliases.  To yaml, register Strings containing ivars with aliases.
    tenderlove committed Jul 13, 2012
  2. From yaml, register a newly created String with aliases. To yaml, reg…

    …ister Strings containing ivars with aliases.
    jrafanie committed Jul 13, 2012
Commits on Jun 15, 2012
  1. bumping to 1.3.3

    tenderlove committed Jun 15, 2012
Commits on May 17, 2012
  1. * ext/psych/parser.c (transcode_string): fix encoding index names.

      Thanks markizko for reporting.
    tenderlove committed May 17, 2012
Commits on May 15, 2012
  1. * ext/psych/lib/psych/visitors/to_ruby.rb: fix a bug with string

      subclass dumping and loading.
    
    * test/psych/test_array.rb: pertinent tests
    
    * test/psych/test_string.rb: ditto
    tenderlove committed May 15, 2012
  2. * ext/psych/lib/psych/visitors/to_ruby.rb: convert omap tagged maps to

      Psych::Omap objects rather than hashes. [Bug #6425]
    
    * test/psych/test_omap.rb: pertinent test.
    tenderlove committed May 15, 2012
  3. * ext/psych/lib/psych/visitors/yaml_tree.rb: keep a reference to

      custom coders so that GC does not impact dumped yaml reference ids.
    
    Fixes #60
    tenderlove committed May 15, 2012
Commits on Apr 29, 2012
  1. * ext/psych/lib/psych/json/yaml_events.rb: implicit styles should not

      be changeable for JSON events.
    tenderlove committed Apr 29, 2012
Commits on Apr 28, 2012
Commits on Apr 7, 2012
  1. bumping up the version

    tenderlove committed Apr 7, 2012
Commits on Apr 6, 2012
  1. * ext/psych/parser.c: fall back to any encoding if the external

      encoding is wrong.  [ruby-core:44163]
    * test/psych/test_encoding.rb: fix test
    tenderlove committed Apr 6, 2012
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 23, 2012
  1. Merge pull request #53 from eregon/patch-1

    add missing #warn in #init_with for #yaml_initialize deprecation
    tenderlove committed Mar 23, 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