On 5 Feb 2021, at 11:08, Jacob Carlborg via TextMate wrote:
On 5 Feb 2021, at 09:41, Allan Odgaard via TextMate textmate@lists.macromates.com wrote: I believe teh plist extension is primarily used to parse the output from DIALOG: I will add a JSON option to DIALOG so that we can use ruby’s native JSON parser instead, and hopefully phase out the plist extension.
That would be great.
Turned out to be easier said than done, especially as ruby 1.8.7 has no native support for JSON…
But I added a ruby native plist extension to the bundle support bundle (in a version that works with both ruby 1.8.7 and 2.x).
So now it should be possible for bundle commands to use ruby 2.x *and* the TextMate::UI library.
I looked over the other ruby files, and from a cursory glance, they all look like they _should_ work with ruby 2.x.
So now we just need to update and test the 8-900 bundle items with a ruby18 shebang, before we can get rid of ruby 1.x…