Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 29, 2015
  1. @hsbt

    Merge pull request #238 from nobu/potential_memory_leak

    hsbt authored
    potential memory leak
  2. @nobu

    psych: allocate structs with wrapper

    nobu authored nobu committed
    * ext/psych/psych_emitter.c (allocate): allocate structs with
      making new wrapper objects and get rid of potential memory leak.
    
    * ext/psych/psych_parser.c (allocate): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 31, 2015
  1. Merge pull request #229 from filialpails/patch-1

    authored
    Fix mappings with !str tags
Commits on Mar 30, 2015
  1. @filialpails

    add test

    filialpails authored
  2. @filialpails
Commits on Feb 23, 2015
  1. Merge pull request #224 from bjfish/patch-1

    authored
    Adding RVM listing for Rubinius
Commits on Feb 22, 2015
  1. @bjfish
Commits on Feb 17, 2015
  1. bump version

    authored
  2. Merge pull request #225 from flori/fix-cve-2014-9130

    authored
    Fix CVE-2014-9130
  3. @flori
Commits on Feb 14, 2015
  1. @bjfish

    Adding RVM listing for Rubinius

    bjfish authored
    Hello, I would like to add Rubinius to your RVM list in your travis build to test this gem for compatibility.  Thank you.
Commits on Feb 6, 2015
  1. fix minitest warnings

    authored
  2. * ext/psych/lib/psych/visitors/yaml_tree.rb: register nodes when

    authored
      dumping objects with custom coders. [ruby-core:66215] [Bug #10496]
    
    * test/psych/test_coder.rb: test for fix
  3. * ext/psych/lib/psych/visitors/to_ruby.rb: fix support for regular

    authored
      expressions with newlines. tenderlove/psych#222
    
    * test/psych/test_yaml.rb: test for change.
    
    fixes #222
Commits on Jan 28, 2015
  1. * ext/psych/lib/psych/visitors/to_ruby.rb: fix parsing hashes with

    authored
      instance variables when it is referenced multiple times.
    * ext/psych/lib/psych.rb: bump version
    * ext/psych/psych.gemspec: bump version
    * test/psych/test_hash.rb: test for fix
Commits on Jan 20, 2015
  1. bump version

    authored
Commits on Jan 17, 2015
  1. Merge pull request #221 from nobu/fix-anchor

    authored
    Fix anchor
  2. @nobu

    Fix anchor

    nobu authored
    Anchors like `\Z` are not valid inside character class.
    Use negative-lookahead instead.
  3. @nobu

    Fix assertion regexps

    nobu authored
    `|' is a meta character, so needs to be escaped.
Commits on Jan 16, 2015
  1. bump version

    authored
  2. Merge pull request #218 from jemc/master

    authored
    Fix issue #217 and #216 - Only dump ivars for subclasses of Hash and String.
  3. @jemc

    Only dump ivars for subclasses of String, not for String.

    jemc authored
    With cf0dd2b93f1552a3c452a0bfa0e996f441d5e27e, fixes #217.
  4. @jemc

    Only dump ivars for subclasses of Hash, not for Hash.

    jemc authored
    Fixes #216.
    Fixes part of #217.
Commits on Jan 13, 2015
  1. Merge pull request #215 from jirutka/patch-2

    authored
    Use appropriate style for serialized strings (replaces #195)
  2. @jirutka

    Fix block chomping and add more tests

    jirutka authored
    When no [chomping indicator][1] is specified for a folded or literal
    block, then YAML parser should preserve the final line break (i.e. the
    string should end with \n). This implies that when dumping a string
    *without* the trailing newline to YAML, we should specify the stripping
    indicator (-).
    
    [1]: http://yaml.org/spec/1.2/2009-07-21/spec.html#id2593651
Commits on Jan 12, 2015
  1. @jirutka
  2. @jirutka

    Use appropriate style for serialized strings

    jirutka authored
    When psych parses YAML with string in the folded style as:
    
        a: >
          some
          inline
          content
    
    and serializes it back to YAML,
    then it renders the string in the literal style instead:
    
        a: |
          some inline content
    
    This patch fixes this behaviour. When a string doesn't contain newlines
    (blank line at the end is ignored) and it's not necessary to be quoted,
    then it will use plain style or folded style according to its length and
    the `line_width` option.
    
        # line_width = 100
        a: some inline content
    
        # line_width = 11
        a: >
          some inline
          content
    
    This change was originally proposed by @Iazel.
  3. @jirutka
Commits on Jan 8, 2015
  1. bumping version:

    authored
  2. Merge branch 'master' into jirutka-patch-1

    authored
    * master: (21 commits)
      * ext/psych/lib/psych/visitors/to_ruby.rb: call `allocate` on hash subclasses.  Fixes github.com/tenderlove/psych/issues/196
      * ext/psych/lib/psych/visitors/to_ruby.rb: revive hashes with ivars
      removed isolate task
      removed isolate plugin
      added minitest dependency into gemspec
      added install task into travis
      added ruby-head env
      bumping version to 2.0.8
      fixed build error caused by trunk changes
      bumping version to 2.0.7
      merging from ruby trunk
      backport r48512 from ruby/ruby trunk.
      Add changelog for 2a4d956
      backport r48214 from ruby/ruby trunk.
      Allow dumping any BasicObject that defines #marshal_dump or #marshal_load
      bumping version
      * ext/psych/lib/psych/visitors/yaml_tree.rb: fix NameError dumping and   loading. Fixes GH #85. Thanks @brentdax for the patch! * test/psych/test_exception.rb: test for fix
      * ext/psych/lib/psych/scalar_scanner.rb: fix loading strings that   look like integers but have a newline. Fixes GH #189 * test/psych/test_string.rb: test for fix
      * ext/psych/lib/psych/visitors/to_ruby.rb: merge keys with a hash   should merge the hash in to the parent. * test/psych/test_merge_keys.rb: test for change. Fixes GH #202
      * ext/psych/lib/psych/visitors/to_ruby.rb: quoted "<<" strings   should not be treated as merge keys. * ext/psych/lib/psych/visitors/yaml_tree.rb: hashes with keys   containing "<<" should roundtrip. * test/psych/test_merge_keys.rb: test for change. Fixes GH #203
      ...
    
    Conflicts:
    	lib/psych/visitors/yaml_tree.rb
  3. * ext/psych/lib/psych/visitors/to_ruby.rb: call `allocate` on hash

    authored
    subclasses.  Fixes github.com/tenderlove/psych/issues/196
    
    * test/psych/test_hash.rb: test for change
    
    fixes #196
  4. * ext/psych/lib/psych/visitors/to_ruby.rb: revive hashes with ivars

    authored
    * ext/psych/lib/psych/visitors/yaml_tree.rb: dump hashes with ivars.
      Fixes github.com/psych/issues/43
    
    * test/psych/test_hash.rb: test for change
    
    fixes #43
Commits on Dec 6, 2014
  1. Merge pull request #213 from hsbt/ruby-head

    authored
    Added ruby-head env into travis
  2. @hsbt

    removed isolate task

    hsbt authored
  3. @hsbt

    removed isolate plugin

    hsbt authored
Something went wrong with that request. Please try again.