diff --git a/rocks/lua-requests-1.2-1.rockspec b/rocks/lua-requests-1.2-1.rockspec new file mode 100644 index 0000000..4def72b --- /dev/null +++ b/rocks/lua-requests-1.2-1.rockspec @@ -0,0 +1,30 @@ +package = "lua-requests" +version = "1.2-1" +source = { + url = "git://github.com/JakobGreen/lua-requests.git" +} +description = { + summary = "HTTP requests made easy! Support for HTTPS, Basic Auth, Digest Auth. HTTP response parsing has never been easier!", + detailed = [[Similar to Requests for python. + The goal of lua-requests is to make HTTP simple and easy to use. + Currently HTTPS, Basic Authentication, and Digest Authentication are supported. + Checkout the wiki on the github page for more details. Written in pure lua! + ]], + homepage = "http://github.com/JakobGreen/lua-requests", + license = "MIT" +} +dependencies = { + "lua >= 5.1", + "lbase64", + "luasocket", + "md5", + "lua-cjson == 2.1.0-1", + "xml", + "luasec >= 0.5.1" +} +build = { + type = "builtin", + modules = { + requests = "src/requests.lua" + } +} \ No newline at end of file