Quantcast

Updated LibItemUpgradeInfo-1.0 to 1.0.6.

kibsgaard [06-06-14 - 16:24]
Updated LibItemUpgradeInfo-1.0 to 1.0.6.
Should now properly display upgrades up to 4/4.

Signed-off-by: kibsgaard <kibsgaard@curseforge.com>
Filename
KibsItemLevel.lua
KibsItemLevel.toc
libs/LibItemUpgradeInfo-1.0/Changelog-LibItemUpgradeInfo-1.0-v1.0.5.txt
libs/LibItemUpgradeInfo-1.0/Changelog-LibItemUpgradeInfo-1.0-v1.0.6.txt
libs/LibItemUpgradeInfo-1.0/Core.lua
libs/LibItemUpgradeInfo-1.0/LibItemUpgradeInfo-1.0.toc
libs/LibItemUpgradeInfo-1.0/LibStub/LibStub.toc
diff --git a/KibsItemLevel.lua b/KibsItemLevel.lua
index af03ef7..4b7c019 100644
--- a/KibsItemLevel.lua
+++ b/KibsItemLevel.lua
@@ -153,7 +153,7 @@ function KibsItemLevelFrame_VARIABLES_LOADED()
 	local b1 = CreateFrame("CheckButton","Upgrades",ConfigPanel,"UICheckButtonTemplate");
 	b1:SetPoint("TOPLEFT",b,"BOTTOMLEFT",0,0);
 	b1:SetChecked(KibsItemLevelConfig.upgrades);
-	_G[b1:GetName() .. "Text"]:SetText("Show upgrades, e.g. (2/2)");
+	_G[b1:GetName() .. "Text"]:SetText("Show upgrades, e.g. (4/4)");
 	b1:SetScript("OnClick", function(self, button, isDown) if ( self:GetChecked() ) then KibsItemLevelConfig.upgrades = true; cleanUp(); else KibsItemLevelConfig.upgrades = nil; cleanUp(); end end)

 	local b2 = CreateFrame("CheckButton","Char",ConfigPanel,"UICheckButtonTemplate");
diff --git a/KibsItemLevel.toc b/KibsItemLevel.toc
index 287cace..f0150cb 100644
--- a/KibsItemLevel.toc
+++ b/KibsItemLevel.toc
@@ -1,5 +1,5 @@
 ## Interface: 50400
-## Version: 0.2.1
+## Version: 0.2.2
 ## Title: KibsItemLevel
 ## Author: Kibs
 ## SavedVariables: KibsItemLevelConfig
diff --git a/libs/LibItemUpgradeInfo-1.0/Changelog-LibItemUpgradeInfo-1.0-v1.0.5.txt b/libs/LibItemUpgradeInfo-1.0/Changelog-LibItemUpgradeInfo-1.0-v1.0.5.txt
deleted file mode 100644
index 38e8248..0000000
--- a/libs/LibItemUpgradeInfo-1.0/Changelog-LibItemUpgradeInfo-1.0-v1.0.5.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-tag v1.0.5
-92de2b331353dabc5ebd4f48eab1757ba1fcfd8d
-Kevin Ballard <kevin@sb.org>
-2013-12-09 16:13:40 -0800
-
-Tagging as v1.0.5
-
-
---------------------
-
-Kevin Ballard:
-	- Bump libstub minor version number and bump version to 1.0.5.
-	This should have been done when I updated for 5.4.
diff --git a/libs/LibItemUpgradeInfo-1.0/Changelog-LibItemUpgradeInfo-1.0-v1.0.6.txt b/libs/LibItemUpgradeInfo-1.0/Changelog-LibItemUpgradeInfo-1.0-v1.0.6.txt
new file mode 100644
index 0000000..3020055
--- /dev/null
+++ b/libs/LibItemUpgradeInfo-1.0/Changelog-LibItemUpgradeInfo-1.0-v1.0.6.txt
@@ -0,0 +1,13 @@
+tag v1.0.6
+f0f2c50a2e359738133297add375a1e734eac3b3
+Kevin Ballard <kevin@sb.org>
+2014-05-20 18:14:03 -0700
+
+Tagging as v1.0.6
+
+
+--------------------
+
+Kevin Ballard:
+	- Add upgrade info for 5.4.8
+	Bump version to v1.0.6.
diff --git a/libs/LibItemUpgradeInfo-1.0/Core.lua b/libs/LibItemUpgradeInfo-1.0/Core.lua
index 86ee42e..b3f119a 100644
--- a/libs/LibItemUpgradeInfo-1.0/Core.lua
+++ b/libs/LibItemUpgradeInfo-1.0/Core.lua
@@ -1,4 +1,4 @@
-local MAJOR, MINOR = "LibItemUpgradeInfo-1.0", 3
+local MAJOR, MINOR = "LibItemUpgradeInfo-1.0", 4

 local lib = _G.LibStub:NewLibrary(MAJOR, MINOR)
 if not lib then return end
@@ -36,14 +36,18 @@ local upgradeTable = {
 	[470] = { upgrade = 2, max = 4, ilevel = 8 },
 	[471] = { upgrade = 3, max = 4, ilevel = 12 },
 	[472] = { upgrade = 4, max = 4, ilevel = 16 },
-	[491] = { upgrade = 0, max = 2, ilevel = 0 },
-	[492] = { upgrade = 1, max = 2, ilevel = 4 },
-	[493] = { upgrade = 2, max = 2, ilevel = 8 },
-	[494] = { upgrade = 0, max = 4, ilevel = 0 },
-	[495] = { upgrade = 1, max = 4, ilevel = 4 },
-	[496] = { upgrade = 2, max = 4, ilevel = 8 },
-	[497] = { upgrade = 3, max = 4, ilevel = 12 },
-	[498] = { upgrade = 4, max = 4, ilevel = 16 },
+	[491] = { upgrade = 0, max = 4, ilevel = 0 },
+	[492] = { upgrade = 1, max = 4, ilevel = 4 },
+	[493] = { upgrade = 2, max = 4, ilevel = 8 },
+	[494] = { upgrade = 0, max = 6, ilevel = 0 },
+	[495] = { upgrade = 1, max = 6, ilevel = 4 },
+	[496] = { upgrade = 2, max = 6, ilevel = 8 },
+	[497] = { upgrade = 3, max = 6, ilevel = 12 },
+	[498] = { upgrade = 4, max = 6, ilevel = 16 },
+	[504] = { upgrade = 3, max = 4, ilevel = 12 },
+	[505] = { upgrade = 4, max = 4, ilevel = 16 },
+	[506] = { upgrade = 5, max = 6, ilevel = 20 },
+	[507] = { upgrade = 6, max = 6, ilevel = 24 },
 }
 do
 	local stub = { ilevel = 0 }
@@ -214,7 +218,9 @@ local function printDiffTable(t1, t2)
 end

 -- Scans the first 10000 upgrade IDs
- do
+-- Run this with /run LibStub:GetLibrary("LibItemUpgradeInfo-1.0"):_CheckUpgradeTable()
+-- If you don't have Aspirant's Staff of Harmony cached it may error out, just try again.
+do
 	local debugFrame
 	local worker
 	local newTable
diff --git a/libs/LibItemUpgradeInfo-1.0/LibItemUpgradeInfo-1.0.toc b/libs/LibItemUpgradeInfo-1.0/LibItemUpgradeInfo-1.0.toc
index 4ffa6c0..1162dab 100644
--- a/libs/LibItemUpgradeInfo-1.0/LibItemUpgradeInfo-1.0.toc
+++ b/libs/LibItemUpgradeInfo-1.0/LibItemUpgradeInfo-1.0.toc
@@ -2,9 +2,9 @@
 ## Title: Lib: ItemUpgradeInfo-1.0
 ## Notes: Database of item upgrade IDs
 ## Author: eridius
-## Version: 1.0.5
+## Version: 1.0.6
 ## X-Category: Library
-## X-Curse-Packaged-Version: v1.0.5
+## X-Curse-Packaged-Version: v1.0.6
 ## X-Curse-Project-Name: LibItemUpgradeInfo-1.0
 ## X-Curse-Project-ID: libitemupgradeinfo-1-0
 ## X-Curse-Repository-ID: wow/libitemupgradeinfo-1-0/mainline
diff --git a/libs/LibItemUpgradeInfo-1.0/LibStub/LibStub.toc b/libs/LibItemUpgradeInfo-1.0/LibStub/LibStub.toc
index 077ae59..f3dd6d7 100644
--- a/libs/LibItemUpgradeInfo-1.0/LibStub/LibStub.toc
+++ b/libs/LibItemUpgradeInfo-1.0/LibStub/LibStub.toc
@@ -5,7 +5,7 @@
 ## X-Website: http://www.wowace.com/addons/libstub/
 ## X-Category: Library
 ## X-License: Public Domain
-## X-Curse-Packaged-Version: v1.0.5
+## X-Curse-Packaged-Version: v1.0.6
 ## X-Curse-Project-Name: LibItemUpgradeInfo-1.0
 ## X-Curse-Project-ID: libitemupgradeinfo-1-0
 ## X-Curse-Repository-ID: wow/libitemupgradeinfo-1-0/mainline