Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 5, 2015
  1. @headius
  2. bumping to 2.0.14.pre1

    authored
Commits on Apr 29, 2015
  1. Merge branch 'master' into jruby

    authored
    * master:
      add test
      don't assume any tag starting with 'str' is a string
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 Mar 3, 2015
  1. Merge branch 'master' into jruby

    authored
    * master:
      Adding Rubinius as an Allowed Failure
      bump version
      Fix CVE-2014-9130
      Adding RVM listing for Rubinius
      fix minitest warnings
      * ext/psych/lib/psych/visitors/yaml_tree.rb: register nodes when   dumping objects with custom coders. [ruby-core:66215] [Bug #10496]
      * ext/psych/lib/psych/visitors/to_ruby.rb: fix support for regular   expressions with newlines. tenderlove/psych#222
      * ext/psych/lib/psych/visitors/to_ruby.rb: fix parsing hashes with   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
      bump version
      Fix anchor
      Fix assertion regexps
      bump version
      Only dump ivars for subclasses of String, not for String. With cf0dd2b93f1552a3c452a0bfa0e996f441d5e27e, fixes #217.
      Only dump ivars for subclasses of Hash, not for Hash. Fixes #216. Fixes part of #217.
      Fix block chomping and add more tests
      Preset @line_width in YAMLTree#initialize for better performance
      Use appropriate style for serialized strings
      Remove unnnecessary 'str' variable in YAMLTree#visit_String
Commits on Feb 26, 2015
  1. @mkristian

    setup java platform gem

    mkristian authored
    use maven to resolve jar dependencies for compilation. setup jar-dependencies
    to install the snakeyaml jar when installing the gem via rubygems or bundler.
    added java code to reflect the snakeyaml vesion which got finally loaded into
    the jruby-classloader.
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 9, 2015
  1. @headius

    Merge remote-tracking branch 'origin/master' into jruby

    headius authored
    Conflicts:
    	.gitignore
  2. @headius
Commits on Jan 8, 2015
  1. bumping version:

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