Upgrading
Upgrading from 0.4 to git head
The main script's parent directory is no longer automatically added to the module search path. We added a
directoryproperty to themoduleobject to easily compensate this with one line of code:require.paths.unshift(module.directory);The
ringo/filemodule has been removed, and thefilemodule updated to the newest CommonJS Filesystem proposal and renamed tofs.For upgrading from the old CommonJS
filemodule to the newfs, adapt the module and function names as needed (for example, mkdir() is now calledmakeDirectory().For upgrading from
ringo/file, thefsmodule exports a Path constructor that is fairly similar to the ringo/file File class. See the changes to the filestore module for an example of upgrading fromringo/filetofs.
