From 2403c41de0ac35ca8b21920408df456dd61832c2 Mon Sep 17 00:00:00 2001 From: woodsnake Date: Thu, 31 Dec 2020 10:21:50 +0100 Subject: [PATCH] Rockfile --- example.lua | 2 +- ...-0.1-6.rockspec => lua-suncalc-0.1-7.rockspec | 8 ++++---- suncalc-0.1-5.src.rock | Bin 3424 -> 0 bytes suncalc.lua => suncalc/suncalc.lua | 0 4 files changed, 5 insertions(+), 5 deletions(-) rename suncalc-0.1-6.rockspec => lua-suncalc-0.1-7.rockspec (78%) delete mode 100644 suncalc-0.1-5.src.rock rename suncalc.lua => suncalc/suncalc.lua (100%) diff --git a/example.lua b/example.lua index 24e8e98..3cb2395 100755 --- a/example.lua +++ b/example.lua @@ -1,5 +1,5 @@ #!/usr/bin/env lua -SunCalc = require("suncalc") +SunCalc = require("suncalc/suncalc") local ran, err = pcall( function () sc = SunCalc:new( {latitude=48.85, longitude=10.5} ) diff --git a/suncalc-0.1-6.rockspec b/lua-suncalc-0.1-7.rockspec similarity index 78% rename from suncalc-0.1-6.rockspec rename to lua-suncalc-0.1-7.rockspec index 749b12e..a517b46 100644 --- a/suncalc-0.1-6.rockspec +++ b/lua-suncalc-0.1-7.rockspec @@ -1,8 +1,8 @@ -package = "suncalc" -version = "0.1-6" +package = "lua-suncalc" +version = "0.1-7" source = { url = "git://github.com/woodsnake/lua-suncalc.git", - branch = "v0.1-6" + branch = "v0.1-7" } description = { summary = "SunCalc is a package to calculate the sun positon", @@ -18,6 +18,6 @@ dependencies = { build = { type = "builtin", modules = { - suncalc = "suncalc.lua" + ['suncalc'] = "suncalc/suncalc.lua" } } diff --git a/suncalc-0.1-5.src.rock b/suncalc-0.1-5.src.rock deleted file mode 100644 index 889b2e7b1239f2fd269389b448368ca48a74cb0c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3424 zcmeH}c{J2*8^?b$!&sBh*hL zG(^ajH6lb2D$6tVbY4yGd3t-_zu)sa_kHfaKELaHuj{_g#{dIi-~j-D82~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