Skip to content

Commit

Permalink
release 4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Oct 23, 2022
1 parent fd024f1 commit 31f0ce4
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copas 4.3
# Copas 4.4

[![Unix build](https://img.shields.io/github/workflow/status/lunarmodules/copas/Unix%20build?label=Unix%20build&logo=linux)](https://github.com/lunarmodules/copas/actions)
[![Coveralls code coverage](https://img.shields.io/coveralls/github/lunarmodules/copas?logo=coveralls)](https://coveralls.io/github/lunarmodules/copas)
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h2><a name="over"></a>Overview</h2>

<h2><a name="status"></a>Status</h2>

<p>Current version is 4.3.2 and was developed for Lua 5.1 to 5.4.</p>
<p>Current version is 4.4.0 and was developed for Lua 5.1 to 5.4.</p>

<h2><a name="download"></a>Download</h2>

Expand All @@ -100,7 +100,7 @@ <h2><a name="dependencies"></a>Dependencies</h2>
<h2><a name="history"></a>History</h2>

<dl class="history">
<dt><strong>Copas 4.4.0</strong> [unreleased]</dt>
<dt><strong>Copas 4.4.0</strong> [23/Oct/2022]</dt>
<dd><ul>
<li>Fix: an error in the timer callback would kill the timer.</li>
<li>Added: <code>copas.geterrorhandler</code> to retrieve the active errorhandler.</li>
Expand Down
51 changes: 51 additions & 0 deletions rockspec/copas-4.4.0-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
local package_name = "copas"
local package_version = "4.4.0"
local rockspec_revision = "1"
local github_account_name = "lunarmodules"
local github_repo_name = package_name


package = package_name
version = package_version.."-"..rockspec_revision
source = {
url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
branch = (package_version == "cvs") and "master" or nil,
tag = (package_version ~= "cvs") and package_version or nil,
}
description = {
summary = "Coroutine Oriented Portable Asynchronous Services",
detailed = [[
Copas is a dispatcher based on coroutines that can be used by
TCP/IP servers. It uses LuaSocket as the interface with the
TCP/IP stack. A server registered with Copas should provide a
handler for requests and use Copas socket functions to send
the response. Copas loops through requests and invokes the
corresponding handlers. For a full implementation of a Copas
HTTP server you can refer to Xavante as an example.
]],
license = "MIT/X11",
homepage = "https://github.com/"..github_account_name.."/"..github_repo_name,
}
dependencies = {
"lua >= 5.1, < 5.5",
"luasocket >= 2.1, <= 3.0rc1-2",
"coxpcall >= 1.14",
"binaryheap >= 0.4",
"timerwheel ~> 1",
}
build = {
type = "builtin",
modules = {
["copas"] = "src/copas.lua",
["copas.http"] = "src/copas/http.lua",
["copas.ftp"] = "src/copas/ftp.lua",
["copas.smtp"] = "src/copas/smtp.lua",
["copas.timer"] = "src/copas/timer.lua",
["copas.lock"] = "src/copas/lock.lua",
["copas.semaphore"] = "src/copas/semaphore.lua",
["copas.queue"] = "src/copas/queue.lua",
},
copy_directories = {
"docs",
},
}
2 changes: 1 addition & 1 deletion src/copas.lua
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ local copas = setmetatable({},{
-- Meta information is public even if beginning with an "_"
copas._COPYRIGHT = "Copyright (C) 2005-2022 Kepler Project"
copas._DESCRIPTION = "Coroutine Oriented Portable Asynchronous Services"
copas._VERSION = "Copas 4.3.2"
copas._VERSION = "Copas 4.4.0"

-- Close the socket associated with the current connection after the handler finishes
copas.autoclose = true
Expand Down

0 comments on commit 31f0ce4

Please sign in to comment.