Skip to content

Commit

Permalink
Merge pull request #27 from gitFurious/dev
Browse files Browse the repository at this point in the history
v1.5.5.0
  • Loading branch information
Damon Pollard authored Jul 18, 2016
2 parents 521aa92 + 2ee3b78 commit 2cc8106
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 12 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ A Nuget package is available at [www.nuget.org/packages/HaloSharp](https://www.n

### Changelog ###

###### v.1.5.5.0 (2016-07-16)

1. Updated WarzoneMatch model.
* Updated: PveTotalRoundAssistBonuses
* Updated: PveTotalRoundKillBonuses
* Updated: PveTotalRoundSpeedBonuses
* Updated: PveTotalRoundSurvivalBonuses

###### v.1.5.4.0 (2016-06-30)

1. Updated Player Stat model.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,16 +181,16 @@
}
},
"PveTotalRoundAssistBonuses": {
"type": "null"
"type": [ "integer", "null" ]
},
"PveTotalRoundKillBonuses": {
"type": "null"
"type": [ "integer", "null" ]
},
"PveTotalRoundSpeedBonuses": {
"type": "null"
"type": [ "integer", "null" ]
},
"PveTotalRoundSurvivalBonuses": {
"type": "null"
"type": [ "integer", "null" ]
},
"WarzoneLevel": {
"type": "integer"
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.4.0")]
[assembly: AssemblyFileVersion("1.5.4.0")]
[assembly: AssemblyVersion("1.5.5.0")]
[assembly: AssemblyFileVersion("1.5.5.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public async Task Query_DoesNotThrow()
[Test]
[TestCase("763208a1-934e-466a-bdbd-318fa4d2e1c6")]
[TestCase("04725707-da3f-407c-b43c-5f2b8bceb50a")]
[TestCase("3bd3945a-3578-4726-aad2-89b2c014a2ad")]
public async Task GetWarzoneMatchDetails_DoesNotThrow(string guid)
{
var query = new GetWarzoneMatchDetails()
Expand All @@ -85,6 +86,7 @@ public async Task GetWarzoneMatchDetails_DoesNotThrow(string guid)
[Test]
[TestCase("763208a1-934e-466a-bdbd-318fa4d2e1c6")]
[TestCase("04725707-da3f-407c-b43c-5f2b8bceb50a")]
[TestCase("3bd3945a-3578-4726-aad2-89b2c014a2ad")]
public async Task GetWarzoneMatchDetails_SchemaIsValid(string guid)
{
var weaponsSchema = JSchema.Parse(File.ReadAllText(Config.WarzoneMatchJsonSchemaPath), new JSchemaReaderSettings
Expand All @@ -105,6 +107,7 @@ public async Task GetWarzoneMatchDetails_SchemaIsValid(string guid)
[Test]
[TestCase("763208a1-934e-466a-bdbd-318fa4d2e1c6")]
[TestCase("04725707-da3f-407c-b43c-5f2b8bceb50a")]
[TestCase("3bd3945a-3578-4726-aad2-89b2c014a2ad")]
public async Task GetWarzoneMatchDetails_ModelMatchesSchema(string guid)
{
var schema = JSchema.Parse(File.ReadAllText(Config.WarzoneMatchJsonSchemaPath), new JSchemaReaderSettings
Expand All @@ -128,6 +131,7 @@ public async Task GetWarzoneMatchDetails_ModelMatchesSchema(string guid)
[Test]
[TestCase("763208a1-934e-466a-bdbd-318fa4d2e1c6")]
[TestCase("04725707-da3f-407c-b43c-5f2b8bceb50a")]
[TestCase("3bd3945a-3578-4726-aad2-89b2c014a2ad")]
public async Task GetWarzoneMatchDetails_IsSerializable(string guid)
{
var query = new GetWarzoneMatchDetails()
Expand Down
8 changes: 4 additions & 4 deletions Source/HaloSharp/Model/Stats/CarnageReport/WarzoneMatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,25 +136,25 @@ public class WarzonePlayerStat : BasePlayerStat, IEquatable<WarzonePlayerStat>
/// TODO
/// </summary>
[JsonProperty(PropertyName = "PveTotalRoundAssistBonuses")]
public object PveTotalRoundAssistBonuses { get; set; }
public int? PveTotalRoundAssistBonuses { get; set; }

/// <summary>
/// TODO
/// </summary>
[JsonProperty(PropertyName = "PveTotalRoundKillBonuses")]
public object PveTotalRoundKillBonuses { get; set; }
public int? PveTotalRoundKillBonuses { get; set; }

/// <summary>
/// TODO
/// </summary>
[JsonProperty(PropertyName = "PveTotalRoundSpeedBonuses")]
public object PveTotalRoundSpeedBonuses { get; set; }
public int? PveTotalRoundSpeedBonuses { get; set; }

/// <summary>
/// TODO
/// </summary>
[JsonProperty(PropertyName = "PveTotalRoundSurvivalBonuses")]
public object PveTotalRoundSurvivalBonuses { get; set; }
public int? PveTotalRoundSurvivalBonuses { get; set; }

/// <summary>
/// The set of rewards that the player got in this match. Rewards 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.4.0")]
[assembly: AssemblyFileVersion("1.5.4.0")]
[assembly: AssemblyVersion("1.5.5.0")]
[assembly: AssemblyFileVersion("1.5.5.0")]

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

0 comments on commit 2cc8106

Please sign in to comment.