On Fri, Jan 07, 2011 at 09:19:13AM +0100, Torsten Schönebaum wrote: > John Mettraux wrote: > > I'm thinking about deprecating "stateful" participants, ie participants > > that are registered as instances instead of as classes. > > > > Any questions/comments/critiques/suggestions/feedback ? Any green > > lights ? > > +1 from me. The quickstart will get slightly more complex, but there > won't be the need to explain the difference between stateful and > stateless participants anymore.
Hello, I totally removed support for "instantiated participants". https://github.com/jmettraux/ruote/commit/80a45f64e77336c42c868e48c938828c50234ca2 BlockParticipants are still OK, but thanks to sourcify, they are turned into a string of Ruby code and placed as in the storage. I added security checks upon registration and especially right before eval. https://github.com/jmettraux/ruote/commit/71f6fd361f37575282d4d5842c55e5cf0c9791a7 https://github.com/jmettraux/ruote/commit/9f4b6c91abe716f31a29f60af0a62ca7ebbb3664 The checks are the standard ruote ones. https://github.com/jmettraux/ruote/blob/18c757020d1b00a215f2d1a1a1e166cf51afd99d/lib/ruote/svc/treechecker.rb Registering an "instantiated participant" will raise an ArgumentError from now on. https://github.com/jmettraux/ruote/commit/18c757020d1b00a215f2d1a1a1e166cf51afd99d I went for the direct removal, since the adaptations are minimal (and block participants are still accepted). Inconsistencies can be fixed by re-registering the participants. I'm thinking about releasing 2.1.12 as 2.2.0. I will now work on the "filter" stuff discussed with Raphael in http://groups.google.com/group/openwferu-users/t/94f873bd667932dc If you need any help with this [small] upgrade, feel free to ask here or on IRC. Cheers, -- John Mettraux - http://jmettraux.wordpress.com -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
