When using luarocks via require "luarocks.loader", versioned dependencies
only applies to installed rocks. It would be really useful to be able to
request a suitable version from a standalone script which isn't an
installed module, in a dynamic way, e.g.:

require_version("module >= 1.0.0")

in other words, give a module a version expression just as in a rockspec.

Does something like this exist? Would a patch to provide it be acceptable?

-- 
http://rrt.sc3d.org
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to