Skip to content

Commit

Permalink
wrapping up docs and rockspecs for version 1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio Mascarenhas committed Mar 23, 2010
1 parent e98fa5f commit bc6b436
Show file tree
Hide file tree
Showing 8 changed files with 133 additions and 14 deletions.
9 changes: 7 additions & 2 deletions README
Expand Up @@ -19,17 +19,22 @@ tries to follow standard Lua idioms.
WSAPI is free software and uses the same license as Lua 5.1

Status
Current version is 1.3.3. It was developed for Lua 5.1.
Current version is 1.3.4. It was developed for Lua 5.1.

Download
WSAPI can be downloaded from its LuaForge page. You can also get WSAPI using LuaRocks:
WSAPI can be downloaded from its LuaForge page. You can also get WSAPI using
LuaRocks:

luarocks install wsapi

Latest Sources and Bug Tracker
WSAPI CVS and bug tracker are available at its Github page.

History

WSAPI 1.3.4 [23/Mar/2010]
* Bugfix release, fix bug introduced by previous fix :-)

WSAPI 1.3.3 [22/Mar/2010]
* Bugfix release, fix memory leak with reload option for persistent loaders

Expand Down
16 changes: 11 additions & 5 deletions doc/us/index.html
Expand Up @@ -62,7 +62,7 @@ <h2>Overview</h2>

<h2>Status</h2>

<p>Current version is 1.3.3. It was developed for Lua 5.1.</p>
<p>Current version is 1.3.4. It was developed for Lua 5.1.</p>

<h2>Download</h2>

Expand All @@ -77,12 +77,12 @@ <h2>Download</h2>
<h3>Unix Installer Script</h3>

<p>You can also get an installer script that installs Lua+LuaRocks+WSAPI
<a href="http://github.com/downloads/keplerproject/wsapi/wsapi-install-1.3.0.tar.gz">here</a>. See
<a href="http://github.com/downloads/keplerproject/wsapi/wsapi-install-1.3.4.tar.gz">here</a>. See
the <a href="manual.html">manual</a> for installation instructions.</p>

<h3>Customizing the installer</h3>

<p>There is a section of wsapi-install-1.3 with the parameters that
<p>There is a section of wsapi-install-1.3.4 with the parameters that
control the installer: </p>


Expand All @@ -94,7 +94,7 @@ <h3>Customizing the installer</h3>
PACKAGE_OPT=wsapi
PACKAGE_ROCK=wsapi-xavante
INSTALLER_VERSION=0.6
PACKAGE_VERSION=1.3.3
PACKAGE_VERSION=1.3.4
LUAROCKS_REPO=http://luarocks.org/repositories/rocks
LUAROCKS_URL=http://www.luarocks.org/releases/luarocks-2.0.2.tar.gz
LUAROCKS_VERSION=2.0.2
Expand Down Expand Up @@ -122,7 +122,7 @@ <h3>Customizing the installer</h3>


<p>After it finishes you will have lua-5.1.4.tar.gz,
luarocks-2.0.1.tar.gz, and a rocks folder with .src.rocks for all the
luarocks-2.0.2.tar.gz, and a rocks folder with .src.rocks for all the
rocks that the installer installs. </p>

<h2>Latest Sources and Bug Tracker</h2>
Expand All @@ -131,6 +131,12 @@ <h2>Latest Sources and Bug Tracker</h2>

<h2>History</h2>

<p><strong>WSAPI 1.3.4</strong> [23/Mar/2010]</p>

<ul>
<li>Bugfix release, fix bug introduced by previous fix :-)</li>
</ul>

<p><strong>WSAPI 1.3.3</strong> [22/Mar/2010]</p>

<ul>
Expand Down
14 changes: 9 additions & 5 deletions doc/us/index.md
Expand Up @@ -17,7 +17,7 @@ WSAPI is free software and uses the same license as Lua 5.1

## Status

Current version is 1.3.3. It was developed for Lua 5.1.
Current version is 1.3.4. It was developed for Lua 5.1.

## Download

Expand All @@ -30,12 +30,12 @@ luarocks install wsapi-xavante
### Unix Installer Script

You can also get an installer script that installs Lua+LuaRocks+WSAPI
[here](http://github.com/downloads/keplerproject/wsapi/wsapi-install-1.3.0.tar.gz). See
[here](http://github.com/downloads/keplerproject/wsapi/wsapi-install-1.3.4.tar.gz). See
the [manual](manual.html) for installation instructions.

### Customizing the installer

There is a section of wsapi-install-1.3 with the parameters that
There is a section of wsapi-install-1.3.4 with the parameters that
control the installer:

<pre class="example">
Expand All @@ -46,7 +46,7 @@ PACKAGE=WSAPI
PACKAGE_OPT=wsapi
PACKAGE_ROCK=wsapi-xavante
INSTALLER_VERSION=0.6
PACKAGE_VERSION=1.3.3
PACKAGE_VERSION=1.3.4
LUAROCKS_REPO=http://luarocks.org/repositories/rocks
LUAROCKS_URL=http://www.luarocks.org/releases/luarocks-2.0.2.tar.gz
LUAROCKS_VERSION=2.0.2
Expand All @@ -71,7 +71,7 @@ bash ./your-install-script --prefix=/tmp/anything --bootstrap
</pre>

After it finishes you will have lua-5.1.4.tar.gz,
luarocks-2.0.1.tar.gz, and a rocks folder with .src.rocks for all the
luarocks-2.0.2.tar.gz, and a rocks folder with .src.rocks for all the
rocks that the installer installs.

## Latest Sources and Bug Tracker
Expand All @@ -80,6 +80,10 @@ WSAPI sources and bug tracker are available at its [Github](http://github.com/ke

## History

**WSAPI 1.3.4** [23/Mar/2010]

* Bugfix release, fix bug introduced by previous fix :-)

**WSAPI 1.3.3** [22/Mar/2010]

* Bugfix release, fix memory leak with reload option for persistent loaders
Expand Down
34 changes: 34 additions & 0 deletions rockspec/wsapi-1.3.4-1.rockspec
@@ -0,0 +1,34 @@
package = "WSAPI"

version = "1.3.4-1"

description = {
summary = "Lua Web Server API",
detailed = [[
WSAPI is an API that abstracts the web server from Lua web applications. This is the rock
that contains the base WSAPI libraries plus the CGI adapters.
]],
license = "MIT/X11",
homepage = "http://www.keplerproject.org/wsapi"
}

dependencies = { "luafilesystem >= 1.5.0" }

source = {
url = "http://github.com/downloads/keplerproject/wsapi/wsapi-1.3.4.tar.gz"
}

build = {
type = "builtin",
modules = {
["wsapi.common"] = "src/wsapi/common.lua",
["wsapi.request"] = "src/wsapi/request.lua",
["wsapi.response"] = "src/wsapi/response.lua",
["wsapi.util"] = "src/wsapi/util.lua",
["wsapi.cgi"] = "src/wsapi/cgi.lua",
["wsapi.sapi"] = "src/wsapi/sapi.lua",
["wsapi.ringer"] = "src/wsapi/ringer.lua",
},
copy_directories = { "samples", "doc", "tests" },
install = { bin = { "src/launcher/wsapi.cgi" } }
}
43 changes: 43 additions & 0 deletions rockspec/wsapi-fcgi-1.3.4-1.rockspec
@@ -0,0 +1,43 @@
package = "WSAPI-FCGI"

version = "1.3.4-1"

description = {
summary = "Lua Web Server API FastCGI Adapter",
detailed = [[
WSAPI is an API that abstracts the web server from Lua web applications. This
is the rock that contains the FCGI module lfcgi.
]],
license = "MIT/X11",
homepage = "http://www.keplerproject.org/wsapi"
}

dependencies = { "wsapi >= 1.3.4", "rings >= 1.2.3", "coxpcall >= 1.13" }

external_dependencies = {
platforms = {
unix = {
FASTCGI = {
header = "fcgi_stdio.h"
}
}
}
}

source = {
url = "http://github.com/downloads/keplerproject/wsapi/wsapi-1.3.4.tar.gz"
}

build = {
type = "builtin",
modules = {
["wsapi.fastcgi"] = "src/wsapi/fastcgi.lua",
lfcgi = {
sources = "src/fastcgi/lfcgi.c",
libraries = "fcgi",
incdirs = "$(FASTCGI_INCDIR)",
libdirs = "$(FASTCGI_LIBDIR)"
}
},
install = { bin = { "src/launcher/wsapi.fcgi" } }
}
27 changes: 27 additions & 0 deletions rockspec/wsapi-xavante-1.3.4-1.rockspec
@@ -0,0 +1,27 @@
package = "WSAPI-Xavante"

version = "1.3.4-1"

description = {
summary = "Lua Web Server API - Xavante Handler",
detailed = [[
WSAPI is an API that abstracts the web server from Lua web applications. This is the rock
that contains the Xavante adapter and launcher.
]],
license = "MIT/X11",
homepage = "http://www.keplerproject.org/wsapi"
}

dependencies = { "wsapi >= 1.3.4", "rings >= 1.2.3", "coxpcall >= 1.13", "xavante >= 2.2.0" }

source = {
url = "http://github.com/downloads/keplerproject/wsapi/wsapi-1.3.4.tar.gz"
}

build = {
type = "builtin",
modules = {
["wsapi.xavante"] = "src/wsapi/xavante.lua"
},
install = { bin = { "src/launcher/wsapi" } }
}
2 changes: 1 addition & 1 deletion src/wsapi/common.lua
Expand Up @@ -15,7 +15,7 @@ module("wsapi.common", package.seeall)
-- Meta information is public even if begining with an "_"
_G.wsapi._COPYRIGHT = "Copyright (C) 2007-2010 Kepler Project"
_G.wsapi._DESCRIPTION = "WSAPI - the Lua Web Server API"
_G.wsapi._VERSION = "WSAPI 1.3.3"
_G.wsapi._VERSION = "WSAPI 1.3.4"

-- Makes an index metamethod for the environment, from
-- a function that returns the value of a server variable
Expand Down
2 changes: 1 addition & 1 deletion wsapi-install
Expand Up @@ -47,7 +47,7 @@ PACKAGE=WSAPI
PACKAGE_OPT=wsapi
PACKAGE_ROCK=wsapi-xavante
INSTALLER_VERSION=0.6
PACKAGE_VERSION=1.3.3
PACKAGE_VERSION=1.3.4
LUAROCKS_REPO=http://luarocks.org/repositories/rocks
LUAROCKS_URL=http://www.luarocks.org/releases/luarocks-2.0.2.tar.gz
LUAROCKS_VERSION=2.0.2
Expand Down

0 comments on commit bc6b436

Please sign in to comment.