Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Update LibDualSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
brittyazel committed Oct 20, 2020
1 parent 1760ecd commit f4988c1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
18 changes: 12 additions & 6 deletions Libs/LibDualSpec-1.0/CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
tag d37c1d1d24edfea5a517b71c5630d405fa2f61ec v1.15
tag 86a0d38e50b44b34c45fae4d9e00e8822b48b1d5 v1.16
Author: Kyle Buller <[email protected]>
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 <[email protected]>
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 <[email protected]>
Date: Wed Oct 14 02:10:18 2020 -0500

Update TOC for 9.0.1

8 changes: 1 addition & 7 deletions Libs/LibDualSpec-1.0/LibDualSpec-1.0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -270,10 +270,6 @@ end
-- AceDBOptions-3.0 support
-- ----------------------------------------------------------------------------

local function NoDualSpec()
return UnitLevel("player") < 11
end

options.new = {
name = "New",
type = "input",
Expand Down Expand Up @@ -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
Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions Libs/LibDualSpec-1.0/LibDualSpec-1.0.toc
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f4988c1

Please sign in to comment.