From: Marc-Andre Lafortune Date: 2009-09-25T06:38:27+09:00 Subject: [ruby-core:25758] Re: syck maintenance? There are about 15 open issues relating to yaml/syck. I hope this, as well as the larger problem of unmaintained / badly maintained libraries can be addressed sooner than later: http://redmine.ruby-lang.org/wiki/ruby/Unmaintained On Thu, Sep 24, 2009 at 5:16 PM, Ola Bini wrote: > Ryan Davis wrote: >> >> Has anyone taken this over? >> >> I just applied the following patch to fix up rdoc processing. I applied it >> to both trunk and 1_8. > > This is definitely a question we need to figure out. The Ruby parts of Syck > are now also used in Yecht, so it would be nice to have all that stuff in a > third-party location. > > Of course, Syck in _why's repositories are actually of a much later version > than what's in MRI at the moment (with several incompatible changes in what > it accepts). Not sure how to handle that. > > Cheers > > >> >> Index: tag.rb >> =================================================================== >> --- tag.rb � �(revision 25048) >> +++ tag.rb � �(working copy) >> @@ -58,7 +58,7 @@ >> � � # taguris. >> � � def yaml_as( tag, sc = true ) >> � � � � verbose, $VERBOSE = $VERBOSE, nil >> - � � � �class_eval <<-"end;", __FILE__, __LINE__+1 >> + � � � �class_eval <<-"END", __FILE__, __LINE__+1 >> � � � � � � attr_writer :taguri >> � � � � � � def taguri >> � � � � � � � � if respond_to? :to_yaml_type >> @@ -73,7 +73,7 @@ >> � � � � � � � � end >> � � � � � � end >> � � � � � � def self.yaml_tag_subclasses?; #{ sc ? 'true' : 'false' }; end >> - � � � �end; >> + � � � �END >> � � � � YAML::tag_class tag, self >> � � ensure >> � � � � $VERBOSE = verbose >> @@ -88,4 +88,5 @@ >> � � def yaml_tag_read_class( name ) >> � � � � name >> � � end >> + � �# :startdoc: >> �end >> >> >> > > > -- > �Ola Bini (http://olabini.com) > �Ioke creator (http://ioke.org) > �JRuby Core Developer (http://jruby.org) > �Developer, ThoughtWorks Studios (http://studios.thoughtworks.com) > �Practical JRuby on Rails (http://apress.com/book/view/9781590598818) > > �"Yields falsehood when quined" yields falsehood when quined. > > >