Skip to content

Commit 5e59d1e

Browse files
committed
Release 0.3.12
1 parent ac99e48 commit 5e59d1e

File tree

10 files changed

+86
-11
lines changed

10 files changed

+86
-11
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014-2019 Alexey Melnichuk
3+
Copyright (c) 2014-2021 Alexey Melnichuk
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

rockspecs/lua-curl-0.3.12-1.rockspec

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
package = "Lua-cURL"
2+
version = "0.3.12-1"
3+
4+
source = {
5+
url = "https://github.com/Lua-cURL/Lua-cURLv3/archive/v0.3.12.zip",
6+
dir = "Lua-cURLv3-0.3.12",
7+
}
8+
9+
description = {
10+
summary = "Lua binding to libcurl",
11+
detailed = [[
12+
]],
13+
homepage = "https://github.com/Lua-cURL",
14+
license = "MIT/X11"
15+
}
16+
17+
dependencies = {
18+
"lua >= 5.1, < 5.5"
19+
}
20+
21+
external_dependencies = {
22+
platforms = {
23+
windows = {
24+
CURL = {
25+
header = "curl/curl.h",
26+
library = "libcurl",
27+
}
28+
};
29+
unix = {
30+
CURL = {
31+
header = "curl/curl.h",
32+
-- library = "curl",
33+
}
34+
};
35+
}
36+
}
37+
38+
build = {
39+
copy_directories = {'doc', 'examples', 'test'},
40+
41+
type = "builtin",
42+
43+
platforms = {
44+
windows = { modules = {
45+
lcurl = {
46+
libraries = {"libcurl", "ws2_32"},
47+
}
48+
}},
49+
unix = { modules = {
50+
lcurl = {
51+
libraries = {"curl"},
52+
}
53+
}}
54+
},
55+
56+
modules = {
57+
["cURL" ] = "src/lua/cURL.lua",
58+
["cURL.safe" ] = "src/lua/cURL/safe.lua",
59+
["cURL.utils" ] = "src/lua/cURL/utils.lua",
60+
["cURL.impl.cURL" ] = "src/lua/cURL/impl/cURL.lua",
61+
62+
lcurl = {
63+
sources = {
64+
"src/l52util.c", "src/lceasy.c", "src/lcerror.c",
65+
"src/lchttppost.c", "src/lcurl.c", "src/lcutils.c",
66+
"src/lcmulti.c", "src/lcshare.c", "src/lcmime.c",
67+
"src/lcurlapi.c",
68+
},
69+
incdirs = { "$(CURL_INCDIR)" },
70+
libdirs = { "$(CURL_LIBDIR)" }
71+
},
72+
}
73+
}
74+
75+

src/l52util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/******************************************************************************
22
* Author: Alexey Melnichuk <[email protected]>
33
*
4-
* Copyright (C) 2014-2018 Alexey Melnichuk <[email protected]>
4+
* Copyright (C) 2014-2021 Alexey Melnichuk <[email protected]>
55
*
66
* Licensed according to the included 'LICENSE' document
77
*

src/l52util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/******************************************************************************
22
* Author: Alexey Melnichuk <[email protected]>
33
*
4-
* Copyright (C) 2014-2018 Alexey Melnichuk <[email protected]>
4+
* Copyright (C) 2014-2021 Alexey Melnichuk <[email protected]>
55
*
66
* Licensed according to the included 'LICENSE' document
77
*

src/lceasy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/******************************************************************************
22
* Author: Alexey Melnichuk <[email protected]>
33
*
4-
* Copyright (C) 2014-2018 Alexey Melnichuk <[email protected]>
4+
* Copyright (C) 2014-2021 Alexey Melnichuk <[email protected]>
55
*
66
* Licensed according to the included 'LICENSE' document
77
*

src/lceasy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/******************************************************************************
22
* Author: Alexey Melnichuk <[email protected]>
33
*
4-
* Copyright (C) 2014-2018 Alexey Melnichuk <[email protected]>
4+
* Copyright (C) 2014-2021 Alexey Melnichuk <[email protected]>
55
*
66
* Licensed according to the included 'LICENSE' document
77
*

src/lcurl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/******************************************************************************
22
* Author: Alexey Melnichuk <[email protected]>
33
*
4-
* Copyright (C) 2014-2018 Alexey Melnichuk <[email protected]>
4+
* Copyright (C) 2014-2021 Alexey Melnichuk <[email protected]>
55
*
66
* Licensed according to the included 'LICENSE' document
77
*

src/lcutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/******************************************************************************
22
* Author: Alexey Melnichuk <[email protected]>
33
*
4-
* Copyright (C) 2014-2018 Alexey Melnichuk <[email protected]>
4+
* Copyright (C) 2014-2021 Alexey Melnichuk <[email protected]>
55
*
66
* Licensed according to the included 'LICENSE' document
77
*

src/lcutils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/******************************************************************************
22
* Author: Alexey Melnichuk <[email protected]>
33
*
4-
* Copyright (C) 2014-2018 Alexey Melnichuk <[email protected]>
4+
* Copyright (C) 2014-2021 Alexey Melnichuk <[email protected]>
55
*
66
* Licensed according to the included 'LICENSE' document
77
*

src/lua/cURL/impl/cURL.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--
22
-- Author: Alexey Melnichuk <[email protected]>
33
--
4-
-- Copyright (C) 2014-2019 Alexey Melnichuk <[email protected]>
4+
-- Copyright (C) 2014-2021 Alexey Melnichuk <[email protected]>
55
--
66
-- Licensed according to the included 'LICENSE' document
77
--
@@ -10,9 +10,9 @@
1010

1111
local module_info = {
1212
_NAME = "Lua-cURL";
13-
_VERSION = "0.3.12-dev";
13+
_VERSION = "0.3.12";
1414
_LICENSE = "MIT";
15-
_COPYRIGHT = "Copyright (c) 2014-2019 Alexey Melnichuk";
15+
_COPYRIGHT = "Copyright (c) 2014-2021 Alexey Melnichuk";
1616
}
1717

1818
local function hash_id(str)

0 commit comments

Comments
 (0)