From f4988c198f99bee88b86c17a21c5672a2d4460da Mon Sep 17 00:00:00 2001 From: Britt Yazel Date: Mon, 19 Oct 2020 17:06:55 -0700 Subject: [PATCH] Update LibDualSpec --- Libs/LibDualSpec-1.0/CHANGES.txt | 18 ++++++++++++------ Libs/LibDualSpec-1.0/LibDualSpec-1.0.lua | 8 +------- Libs/LibDualSpec-1.0/LibDualSpec-1.0.toc | 6 +++--- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Libs/LibDualSpec-1.0/CHANGES.txt b/Libs/LibDualSpec-1.0/CHANGES.txt index edac5896..695ebbda 100644 --- a/Libs/LibDualSpec-1.0/CHANGES.txt +++ b/Libs/LibDualSpec-1.0/CHANGES.txt @@ -1,12 +1,18 @@ -tag d37c1d1d24edfea5a517b71c5630d405fa2f61ec v1.15 +tag 86a0d38e50b44b34c45fae4d9e00e8822b48b1d5 v1.16 Author: Kyle Buller -Date: Tue Jan 14 13:04:06 2020 -0600 +Date: Sun Oct 18 11:14:43 2020 -0500 -Tagging as v1.15 +Tagging as v1.16 -commit 01bd5332f5c5eef7d9a8342551df02a643f6f142 +commit da9763c90430bf561918166e3436e62eaa0369b6 Author: Kyle Buller -Date: Tue Jan 14 13:03:43 2020 -0600 +Date: Sun Oct 18 10:56:05 2020 -0500 - Update TOC + Always show the config options + +commit 044c32eb446e6e4d8b0779511fbc37c5475b7aa5 +Author: Kyle Buller +Date: Wed Oct 14 02:10:18 2020 -0500 + + Update TOC for 9.0.1 diff --git a/Libs/LibDualSpec-1.0/LibDualSpec-1.0.lua b/Libs/LibDualSpec-1.0/LibDualSpec-1.0.lua index 7c9f478d..5330849a 100644 --- a/Libs/LibDualSpec-1.0/LibDualSpec-1.0.lua +++ b/Libs/LibDualSpec-1.0/LibDualSpec-1.0.lua @@ -34,7 +34,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- just bail out on classic, there is no DualSpec there if WOW_PROJECT_ID == WOW_PROJECT_CLASSIC then return end -local MAJOR, MINOR = "LibDualSpec-1.0", 17 +local MAJOR, MINOR = "LibDualSpec-1.0", 18 assert(LibStub, MAJOR.." requires LibStub") local lib, minor = LibStub:NewLibrary(MAJOR, MINOR) if not lib then return end @@ -270,10 +270,6 @@ end -- AceDBOptions-3.0 support -- ---------------------------------------------------------------------------- -local function NoDualSpec() - return UnitLevel("player") < 11 -end - options.new = { name = "New", type = "input", @@ -311,7 +307,6 @@ options.enabled = { width = "full", get = function(info) return info.handler.db:IsDualSpecEnabled() end, set = function(info, value) info.handler.db:SetDualSpecEnabled(value) end, - hidden = NoDualSpec, } for i = 1, numSpecs do @@ -325,7 +320,6 @@ for i = 1, numSpecs do values = "ListProfiles", arg = "common", disabled = function(info) return not info.handler.db:IsDualSpecEnabled() end, - hidden = NoDualSpec, } end diff --git a/Libs/LibDualSpec-1.0/LibDualSpec-1.0.toc b/Libs/LibDualSpec-1.0/LibDualSpec-1.0.toc index 3654d036..41b16d2b 100644 --- a/Libs/LibDualSpec-1.0/LibDualSpec-1.0.toc +++ b/Libs/LibDualSpec-1.0/LibDualSpec-1.0.toc @@ -1,8 +1,8 @@ -## Interface: 80300 +## Interface: 90001 ## LoadOnDemand: 1 ## Title: Lib: DualSpec-1.0 -## Version: v1.15 -## X-Date: 2020-01-14T19:03:43Z +## Version: v1.16 +## X-Date: 2020-10-18T15:56:05Z ## Notes: Adds spec switching support to individual AceDB-3.0 databases. ## Author: Adirelle ## OptionalDeps: Ace3