YAML.quick_emit does not actually emit YAML
-------------------------------------------

                 Key: JRUBY-2960
                 URL: http://jira.codehaus.org/browse/JRUBY-2960
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1.4
            Reporter: Charles Oliver Nutter
            Assignee: Charles Oliver Nutter
             Fix For: JRuby 1.1.5


Noticed this while trying to build the Mongrel gem, which uses echoe, which 
calls Gem::Specification#to_yaml, which uses YAML.quick_emit:

{noformat}
~/NetBeansProjects/jruby ➔ ruby -rubygems -ryaml -e "p 
Gem::Specification.new.to_yaml.class"
String
~/NetBeansProjects/jruby ➔ jruby -rubygems -ryaml -e "p 
Gem::Specification.new.to_yaml.class"
YAML::JvYAML::Map
{noformat}

It seems that quick_emit is supposed to produce the dumped YAML format rather 
than the raw node. I've got a fix coming and will assign to Ola for some tests 
and confirmation I've done it right.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to