Hello list, I pushed a not so minor change to ruote for the upcoming 2.2.1.
https://github.com/jmettraux/ruote/commit/f4636a05a93961b29fb3556bfb6fd536179e63c5 It was triggered by work with Nicholas Faiz (thanks !). Each time you create a storage, you have the opportunity to pass options to it, like in @storage = Ruote::FsStorage.new( 'work_dir', 'ruby_eval_allowed' => true) Up until now, instantiating such a storage would go like "OK, I received those options, let's try to save them" and it would save if there were no previous options or fail silently if there were previously saved options. It's all well if your options are always the same, but it forced you to wipe clean the configuration and restart if you had changes in the options. Ruote 2.2.1 will always override the options. You can prevent it from overriding the options by passing a 'preserve_configuration' option, like in @storage = Ruote::FsStorage.new( 'work_dir', 'preserve_configuration' => true) This can be useful when setting up a secondary storage, letting the main storage instantiation dealing with the configuration setting. I hope this is not too confusing, feel free to fire questions, Best regards, thanks again Nicholas, -- 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
