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

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

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

    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.
    nirvdrum committed Oct 1, 2012
Commits on Sep 11, 2012
  1. Merge pull request #83 from rsutphin/82-bad_times

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

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

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

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

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