From f9fa99e9912f3725b3ec029a620fc9b9271f91d4 Mon Sep 17 00:00:00 2001 From: FranekWoW <46614084+franekwow@users.noreply.github.com> Date: Sat, 10 Aug 2019 17:28:24 +0100 Subject: [PATCH] Added LICESE and changed TOC --- HandyNotes_ShrinesForJewelcrafters.toc | 1 + LICENSE | 21 +++++++++++++++++++++ config.lua | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 LICENSE 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 -- 1.7.9.5