aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Schridde <devurandom@gmx.net>2012-10-03 02:58:57 +0200
committerDennis Schridde <devurandom@gmx.net>2012-10-03 02:58:57 +0200
commit5e55437028cc03d79c5a3cddce0cf8aecd0de2be (patch)
treeb62860fecb7bbf432b471bf9142973a84134379a
parent8e7217e74fbe5da0a9c1fee03d191b5a0266cedd (diff)
downloadluafilesystem-5e55437028cc03d79c5a3cddce0cf8aecd0de2be.tar.gz
luafilesystem-5e55437028cc03d79c5a3cddce0cf8aecd0de2be.tar.bz2
luafilesystem-5e55437028cc03d79c5a3cddce0cf8aecd0de2be.zip
Bump version to 1.6.2 and set version via define in src/lfs.c to make it better visible
-rw-r--r--README3
-rw-r--r--doc/us/index.html7
-rw-r--r--rockspecs/luafilesystem-1.6.2-1.rockspec27
-rw-r--r--src/lfs.c4
4 files changed, 39 insertions, 2 deletions
diff --git a/README b/README
index c1fe6c7..db67923 100644
--- a/README
+++ b/README
@@ -22,6 +22,9 @@ Please check the documentation at doc/us/ for more information.
22History 22History
23------- 23-------
24 24
25Version 1.6.2 [??/Oct/2012]
26 * Full Lua 5.2 compatibility (with Lua 5.1 fallbacks)
27
25Version 1.6.1 [01/Oct/2012] 28Version 1.6.1 [01/Oct/2012]
26 * fix build for Lua 5.2 29 * fix build for Lua 5.2
27 30
diff --git a/doc/us/index.html b/doc/us/index.html
index 1046bd9..8873222 100644
--- a/doc/us/index.html
+++ b/doc/us/index.html
@@ -71,7 +71,7 @@ the underlying directory structure and file attributes.</p>
71 71
72<h2><a name="status"></a>Status</h2> 72<h2><a name="status"></a>Status</h2>
73 73
74<p>Current version is 1.6.0. It was developed for Lua 5.1 but also 74<p>Current version is 1.6.2. It was developed for Lua 5.1 but also
75 works with Lua 5.2.</p> 75 works with Lua 5.2.</p>
76 76
77<h2><a name="download"></a>Download</h2> 77<h2><a name="download"></a>Download</h2>
@@ -83,6 +83,11 @@ page.</p>
83<h2><a name="history"></a>History</h2> 83<h2><a name="history"></a>History</h2>
84 84
85<dl class="history"> 85<dl class="history">
86 <dt><strong>Version 1.6.2</strong> [??/Oct/2012]</dt>
87 <dd><ul>
88 <li>Full Lua 5.2 compatibility (with Lua 5.1 fallbacks)</li>
89 </ul></dd>
90
86 <dt><strong>Version 1.6.1</strong> [01/Oct/2012]</dt> 91 <dt><strong>Version 1.6.1</strong> [01/Oct/2012]</dt>
87 <dd><ul> 92 <dd><ul>
88 <li>fix build for Lua 5.2</li> 93 <li>fix build for Lua 5.2</li>
diff --git a/rockspecs/luafilesystem-1.6.2-1.rockspec b/rockspecs/luafilesystem-1.6.2-1.rockspec
new file mode 100644
index 0000000..1c11efc
--- /dev/null
+++ b/rockspecs/luafilesystem-1.6.2-1.rockspec
@@ -0,0 +1,27 @@
1package = "LuaFileSystem"
2
3version = "1.6.2-1"
4
5source = {
6 url = "https://github.com/downloads/keplerproject/luafilesystem/luafilesystem-1.6.2.tar.gz",
7}
8
9description = {
10 summary = "File System Library for the Lua Programming Language",
11 detailed = [[
12 LuaFileSystem is a Lua library developed to complement the set of
13 functions related to file systems offered by the standard Lua
14 distribution. LuaFileSystem offers a portable way to access the
15 underlying directory structure and file attributes.
16 ]]
17}
18
19dependencies = {
20 "lua >= 5.1"
21}
22
23build = {
24 type = "builtin",
25 modules = { lfs = "src/lfs.c" },
26 copy_directories = { "doc", "tests" }
27}
diff --git a/src/lfs.c b/src/lfs.c
index 8aa7412..5a6ca7c 100644
--- a/src/lfs.c
+++ b/src/lfs.c
@@ -62,6 +62,8 @@
62 62
63#include "lfs.h" 63#include "lfs.h"
64 64
65#define LFS_VERSION "1.6.2"
66
65#if LUA_VERSION_NUM < 502 67#if LUA_VERSION_NUM < 502
66# define luaL_newlib(L,l) (lua_newtable(L), luaL_register(L,NULL,l)) 68# define luaL_newlib(L,l) (lua_newtable(L), luaL_register(L,NULL,l))
67#endif 69#endif
@@ -850,7 +852,7 @@ static void set_info (lua_State *L) {
850 lua_pushliteral (L, "LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution"); 852 lua_pushliteral (L, "LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution");
851 lua_settable (L, -3); 853 lua_settable (L, -3);
852 lua_pushliteral (L, "_VERSION"); 854 lua_pushliteral (L, "_VERSION");
853 lua_pushliteral (L, "LuaFileSystem 1.6.0"); 855 lua_pushliteral (L, "LuaFileSystem "LFS_VERSION);
854 lua_settable (L, -3); 856 lua_settable (L, -3);
855} 857}
856 858