Permalink
Commits on Oct 17, 2012
Commits on Oct 2, 2012
  1. Merge pull request #90 from nirvdrum/short_circuit_string_tokenization

    tenderlove committed Oct 2, 2012
    Updated the RegExp to catch Strings earlier in the tokenization process.
Commits on Oct 1, 2012
  1. Merge pull request #88 from nirvdrum/reduce_method_missing

    tenderlove committed Oct 1, 2012
    Handle nil tags specially to avoid slow method_missing calls.
  2. Handle nil tags specially to avoid slow method_missing calls.

    nirvdrum committed Oct 1, 2012
    Previously, the nil value would be compared to any RegExps, which causes method_missing to be invoked on nil, which is both slow and always guaranteed to fail matching against the RegExp.
Commits on Sep 11, 2012
  1. Merge pull request #83 from rsutphin/82-bad_times

    tenderlove committed Sep 11, 2012
    Ignore bad timestamps
  2. Ignore bad timestamps. #82.

    rsutphin committed Sep 11, 2012
    If something looks like a timestamp but has an invalid component,
    treat it as a string instead of throwing an ArgumentError.
Commits on Sep 7, 2012
  1. Merge pull request #80 from kreynolds/master

    tenderlove committed Sep 7, 2012
    Fix scalar_scanner to understand strings starting with an underscore and containing only digits
  2. Fix scalar_scanner to understand strings starting with an underscore …

    kreynolds committed Sep 7, 2012
    …and containing only digits
Commits on Aug 4, 2012
  1. Merge pull request #74 from Carolyn-Ann/comment-change

    tenderlove committed Aug 4, 2012
    Changed comment in psych.rb to update new home page for libyaml
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

    tenderlove committed Jul 19, 2012
      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.
  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

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

    jrafanie committed Jul 13, 2012
    …ister Strings containing ivars with aliases.
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.

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

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

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

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

    tenderlove committed Apr 29, 2012
      be changeable for JSON events.
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

    tenderlove committed Apr 6, 2012
      encoding is wrong.  [ruby-core:44163]
    * test/psych/test_encoding.rb: fix test
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

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

    tenderlove committed Mar 8, 2012
      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

    tenderlove committed Mar 8, 2012
      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

    tenderlove committed Mar 5, 2012