Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added compatibility with xAPI version 1.0.3 #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions TinCan/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
5 changes: 4 additions & 1 deletion TinCan/TCAPIVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -28,7 +29,7 @@ public sealed class TCAPIVersion

public static TCAPIVersion latest()
{
return V101;
return V103;
}

private static Dictionary<String, TCAPIVersion> known;
Expand All @@ -41,6 +42,7 @@ public static Dictionary<String, TCAPIVersion> GetKnown()
}

known = new Dictionary<String, TCAPIVersion>();
known.Add("1.0.3", V103);
known.Add("1.0.2", V102);
known.Add("1.0.1", V101);
known.Add("1.0.0", V100);
Expand All @@ -57,6 +59,7 @@ public static Dictionary<String, TCAPIVersion> GetSupported()
}

supported = new Dictionary<String, TCAPIVersion>();
supported.Add("1.0.3", V103);
supported.Add("1.0.2", V102);
supported.Add("1.0.1", V101);
supported.Add("1.0.0", V100);
Expand Down