Closed hugopeixoto closed 4 years ago
OK, so travis is passing. I had to lock a bundler version in .travis.yml
. Used the version in Gemfile.lock
.
To summarize the changes:
setenv
/getenv
(lua_getfenv
and lua_setfenv
were removed in 5.2)rbLua_get_global
/rbLua_set_global
to use lua_getglobal
/lua_setglobal
instead of getenv
/setenv
bootstrap_unpack
. It was moved to table.unpack
.lua_objlen
was deprecated, using lua_rawlen
insteadlua_equal
changed to lua_compare
with LUA_OPEQ
bootstrap_*
to match lua/lbaselib.c
inext
, but had to upgrade it to remove luaL_checkint
. Unsure if I did it right.bootstrap_*
functions. Could add tests for the other functions in a future PR.
Changed #10 to work with 5.3. Let's see if travis works.