diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2022-03-06 14:50:49 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2022-03-06 23:04:20 -0300 |
commit | 2fac17d4d211adf9c1fe9668094febb55ee92389 (patch) | |
tree | 5a208594d4598a78c1b7786156c212b6235c587b /spec/fixtures | |
parent | 1138b2c1d84cee1dd165b17bd353e2ca38466eb7 (diff) | |
download | luarocks-2fac17d4d211adf9c1fe9668094febb55ee92389.tar.gz luarocks-2fac17d4d211adf9c1fe9668094febb55ee92389.tar.bz2 luarocks-2fac17d4d211adf9c1fe9668094febb55ee92389.zip |
tests: don't use validate-args rockspec in tests
We only used the rockspec in testing, but since the app it refers
to is GPL-3, it could cause confusion among users, so let's just
drop it from the test suite.
Closes #1387.
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/invalid_say-1.3-1.rockspec | 23 | ||||
-rw-r--r-- | spec/fixtures/invalid_validate-args-1.5.4-1.rockspec | 35 |
2 files changed, 23 insertions, 35 deletions
diff --git a/spec/fixtures/invalid_say-1.3-1.rockspec b/spec/fixtures/invalid_say-1.3-1.rockspec new file mode 100644 index 00000000..890b4db2 --- /dev/null +++ b/spec/fixtures/invalid_say-1.3-1.rockspec | |||
@@ -0,0 +1,23 @@ | |||
1 | package = "say" | ||
2 | version = "1.3-1" | ||
3 | source = {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{++{ | ||
4 | url = "https://github.com/Olivine-Labs/say/archive/v1.3-1.tar.gz", | ||
5 | dir = "say-1.3-1" | ||
6 | } | ||
7 | description = { | ||
8 | summary = "Lua String Hashing/Indexing Library", | ||
9 | detailed = [[ | ||
10 | Useful for internationalization. | ||
11 | ]], | ||
12 | homepage = "http://olivinelabs.com/busted/", | ||
13 | license = "MIT <http://opensource.org/licenses/MIT>" | ||
14 | } | ||
15 | dependencies = { | ||
16 | "lua >= 5.1" | ||
17 | } | ||
18 | build = { | ||
19 | type = "builtin", | ||
20 | modules = { | ||
21 | ["say.init"] = "src/init.lua" | ||
22 | } | ||
23 | } | ||
diff --git a/spec/fixtures/invalid_validate-args-1.5.4-1.rockspec b/spec/fixtures/invalid_validate-args-1.5.4-1.rockspec deleted file mode 100644 index 0b4d807d..00000000 --- a/spec/fixtures/invalid_validate-args-1.5.4-1.rockspec +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | package = 'validate-args' | ||
2 | version = '1.5.4-1' | ||
3 | source = {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{++{ | ||
4 | url = "https://bitbucket.org/djerius/validate.args/downloads/validate-args-1.5.4.tar.gz" | ||
5 | } | ||
6 | |||
7 | description = { | ||
8 | summary = "Function argument validation", | ||
9 | detailed = [[ | ||
10 | validate.args is a Lua module that provides a framework for | ||
11 | validation of arguments to Lua functions as well as complex data | ||
12 | structures. The included validate.inplace module provides "live" | ||
13 | validation during assignment of values to elements in tables. ]], | ||
14 | license = "GPL-3", | ||
15 | |||
16 | } | ||
17 | |||
18 | dependencies = { | ||
19 | "lua >= 5.1" | ||
20 | } | ||
21 | |||
22 | build = { | ||
23 | |||
24 | type = "builtin", | ||
25 | |||
26 | modules = { | ||
27 | ["validate.args"] = "validate/args.lua", | ||
28 | ["validate.inplace"] = "validate/inplace.lua", | ||
29 | }, | ||
30 | |||
31 | copy_directories = { | ||
32 | "doc", "tests" | ||
33 | } | ||
34 | |||
35 | } | ||