diff --git a/bk-tree.lua b/bk-tree.lua index b259692..a1cd58d 100644 --- a/bk-tree.lua +++ b/bk-tree.lua @@ -5,7 +5,7 @@ -- @module bk-tree -- @author Robin Hübner -- robinhubner@gmail.com --- @release version 1.0.2 +-- @release version 1.0.3 -- @license MIT local bk_tree = {} diff --git a/rockspecs/bk-tree-1.0.3-1.rockspec b/rockspecs/bk-tree-1.0.3-1.rockspec new file mode 100644 index 0000000..f173ca3 --- /dev/null +++ b/rockspecs/bk-tree-1.0.3-1.rockspec @@ -0,0 +1,26 @@ +package = "bk-tree" +version = "1.0.3-1" +source = { + url = "https://github.com/profan/lua-bk-tree/archive/v1.0.3.tar.gz", + dir = "lua-bk-tree-1.0.3" +} + +description = { + summary = "BK-trees, commonly used for finding near matches to strings.", + detailed = [[ +Burkhard-Keller Trees or bk-trees, a datastructure commonly used for fuzzy string matching, spell checking or similar, comes with a levenshtein distance metric for measuring similarity. + ]], + homepage = "http://profan.github.io/lua-bk-tree/", + license = "MIT/X11" +} + +dependencies = { + "lua >= 5.1" +} + +build = { + type = "builtin", + modules = { + ["bk-tree"] = "bk-tree.lua" + } +}