From fda39952c0a9adb8b44fa5367aefb165fa123f5a Mon Sep 17 00:00:00 2001 From: Maxime Rossini Date: Tue, 21 Feb 2017 10:53:43 +0100 Subject: [PATCH 1/2] Added support for xAPI 1.0.3 & default to 1.0.3 for latest version --- TinCan/TCAPIVersion.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TinCan/TCAPIVersion.cs b/TinCan/TCAPIVersion.cs index cd0a80a..fcde90b 100644 --- a/TinCan/TCAPIVersion.cs +++ b/TinCan/TCAPIVersion.cs @@ -20,6 +20,7 @@ namespace TinCan { public sealed class TCAPIVersion { + public static readonly TCAPIVersion V103 = new TCAPIVersion("1.0.3"); public static readonly TCAPIVersion V102 = new TCAPIVersion("1.0.2"); public static readonly TCAPIVersion V101 = new TCAPIVersion("1.0.1"); public static readonly TCAPIVersion V100 = new TCAPIVersion("1.0.0"); @@ -28,7 +29,7 @@ public sealed class TCAPIVersion public static TCAPIVersion latest() { - return V101; + return V103; } private static Dictionary known; @@ -41,6 +42,7 @@ public static Dictionary GetKnown() } known = new Dictionary(); + known.Add("1.0.3", V103); known.Add("1.0.2", V102); known.Add("1.0.1", V101); known.Add("1.0.0", V100); @@ -57,6 +59,7 @@ public static Dictionary GetSupported() } supported = new Dictionary(); + supported.Add("1.0.3", V103); supported.Add("1.0.2", V102); supported.Add("1.0.1", V101); supported.Add("1.0.0", V100); From d69e7c22e6423ef7a2250ecff7c21179219bdb57 Mon Sep 17 00:00:00 2001 From: Maxime Rossini Date: Tue, 21 Feb 2017 10:54:01 +0100 Subject: [PATCH 2/2] Assembly version bump --- TinCan/Properties/AssemblyInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TinCan/Properties/AssemblyInfo.cs b/TinCan/Properties/AssemblyInfo.cs index 14534ff..f599061 100644 --- a/TinCan/Properties/AssemblyInfo.cs +++ b/TinCan/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.1.0")] -[assembly: AssemblyFileVersion("1.0.1.0")] +[assembly: AssemblyVersion("1.0.2.0")] +[assembly: AssemblyFileVersion("1.0.2.0")]