Skip to content

Commit

Permalink
Merge pull request #23 from gitFurious/dev
Browse files Browse the repository at this point in the history
v1.5.1.0
  • Loading branch information
Damon Pollard committed May 12, 2016
2 parents 6e9083a + a8bf30c commit efc2b86
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 11 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ A Nuget package is available at [www.nuget.org/packages/HaloSharp](https://www.n

### Changelog ###

###### v.1.5.1.0 (2016-05-12)

1. Added new Medal Enum (Infection Hype!).

###### v.1.5.0.0 (2016-04-21)

1. Stats Endpoints.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"type": "integer"
},
"flair": {
"type": "null"
"type": [ "string", "null" ]
},
"stackedRequisitionPacks": {
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"type": [ "null", "string" ]
},
"supportedGameModes": {
"type": "array",
"type": ["null", "array"],
"additionalItems": false,
"items": {
"type": "string"
Expand Down
4 changes: 2 additions & 2 deletions Source/HaloSharp.Test/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,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.5.0.0")]
[assembly: AssemblyFileVersion("1.5.0.0")]
[assembly: AssemblyVersion("1.5.1.0")]
[assembly: AssemblyFileVersion("1.5.1.0")]
7 changes: 4 additions & 3 deletions Source/HaloSharp/Model/Enumeration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ public enum MedalType
Warzone,
WeaponProficiency,
Goal,
Ball
Ball,
Infection
}

public enum OwnerType
Expand All @@ -137,11 +138,11 @@ public enum RequisitionPackType
None,
New,
Hot,
LeavingSoon,
[EnumMember(Value = "Leaving Soon")] LeavingSoon,
[EnumMember(Value = "Maximum Value")] MaximumValue,
[EnumMember(Value = "Limited Time")] Limitedtime,
Featured,
BestSeller,
[EnumMember(Value = "Best Seller")] BestSeller,
Popular
}

Expand Down
2 changes: 1 addition & 1 deletion Source/HaloSharp/Model/Metadata/GameBaseVariant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public bool Equals(GameBaseVariant other)
&& Id.Equals(other.Id)
&& string.Equals(InternalName, other.InternalName)
&& string.Equals(Name, other.Name)
&& SupportedGameModes.OrderBy(sgm => sgm).SequenceEqual(other.SupportedGameModes.OrderBy(sgm => sgm));
&& ((SupportedGameModes == null && other.SupportedGameModes == null) || (SupportedGameModes != null && other.SupportedGameModes != null && SupportedGameModes.OrderBy(ka => ka).SequenceEqual(other.SupportedGameModes.OrderBy(ka => ka))));
}

public override bool Equals(object obj)
Expand Down
2 changes: 1 addition & 1 deletion Source/HaloSharp/Model/Stats/Common/BaseStat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public class WeaponId : IEquatable<WeaponId>
/// Any attachments the weapon had.
/// </summary>
[JsonProperty(PropertyName = "Attachments")]
public List<int> Attachments { get; set; }
public List<uint> Attachments { get; set; }

/// <summary>
/// The ID of the weapon. Weapons are available via the Metadata API.
Expand Down
4 changes: 2 additions & 2 deletions Source/HaloSharp/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
// 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.5.0.0")]
[assembly: AssemblyFileVersion("1.5.0.0")]
[assembly: AssemblyVersion("1.5.1.0")]
[assembly: AssemblyFileVersion("1.5.1.0")]

//HaloSharp.Test
[assembly: InternalsVisibleTo("HaloSharp.Test")]

0 comments on commit efc2b86

Please sign in to comment.