Quantcast

Added LICESE and changed TOC

FranekWoW [08-10-19 - 16:28]
Added LICESE and changed TOC
Filename
HandyNotes_ShrinesForJewelcrafters.toc
LICENSE
config.lua
diff --git a/HandyNotes_ShrinesForJewelcrafters.toc b/HandyNotes_ShrinesForJewelcrafters.toc
index 03d5c0c..bdaf4b5 100644
--- a/HandyNotes_ShrinesForJewelcrafters.toc
+++ b/HandyNotes_ShrinesForJewelcrafters.toc
@@ -8,6 +8,7 @@
 ## X-eMail:
 ## SavedVariables: HandyNotes_ShrinesForJewelcraftersDB
 ## RequiredDeps: HandyNotes
+## X-WoWI-ID: 24992
 ## X-credit: Kemayo and Imoom

 #@no-lib-strip@
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..a661f94
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2019 franekwow
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/config.lua b/config.lua
index 1c14994..6ffadd2 100644
--- a/config.lua
+++ b/config.lua
@@ -19,7 +19,7 @@ ns.defaults = {

 ns.options = {
     type = "group",
-    name = myname:gsub("HandyNotes_", ""),
+    name = myname:gsub("HandyNotes_", ""):gsub("([A-Z])", " %1"):gsub("^%s+", ""),
     get = function(info) return ns.db[info[#info]] end,
     set = function(info, v)
         ns.db[info[#info]] = v