Skip to content

Commit

Permalink
fixed a bug with the creation of the JsonApiPatch
Browse files Browse the repository at this point in the history
  • Loading branch information
cosullivan committed Jan 15, 2017
1 parent 305476c commit 657521c
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>Hypermedia.JsonApi.Client</id>
<title>Hypermedia.JsonApi.Client</title>
<version>2.0.6</version>
<version>2.0.7</version>
<authors>Cain O'Sullivan</authors>
<projectUrl>https://github.com/cosullivan/Hypermedia</projectUrl>
<description>A JSONAPI client library that enables conversion to and from .NET POCO's.</description>
Expand Down
4 changes: 2 additions & 2 deletions Src/Hypermedia.JsonApi.Client/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,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("2.0.6.0")]
[assembly: AssemblyFileVersion("2.0.6.0")]
[assembly: AssemblyVersion("2.0.7.0")]
[assembly: AssemblyFileVersion("2.0.7.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>Hypermedia.JsonApi.WebApi</id>
<title>Hypermedia.JsonApi.WebApi</title>
<version>2.0.6</version>
<version>2.0.7</version>
<authors>Cain O'Sullivan</authors>
<projectUrl>https://github.com/cosullivan/Hypermedia</projectUrl>
<description>A JSONAPI media type formatter for the Web API.</description>
Expand Down
2 changes: 1 addition & 1 deletion Src/Hypermedia.JsonApi.WebApi/JsonApiMediaTypeFormatter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ protected override IPatch CreatePatch(Type type, IContractResolver contractResol
var constructor = patch.GetConstructor(new[] { typeof(IContractResolver), typeof(IFieldNamingStrategy), typeof(JsonObject) });
Debug.Assert(constructor != null);

return (IPatch)constructor.Invoke(new object[] { ContractResolver, jsonValue });
return (IPatch)constructor.Invoke(new object[] { ContractResolver, _fieldNamingStratgey, jsonValue });
}

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions Src/Hypermedia.JsonApi.WebApi/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("2.0.6.0")]
[assembly: AssemblyFileVersion("2.0.6.0")]
[assembly: AssemblyVersion("2.0.7.0")]
[assembly: AssemblyFileVersion("2.0.7.0")]
4 changes: 2 additions & 2 deletions Src/Hypermedia.JsonApi/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,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("2.0.6.0")]
[assembly: AssemblyFileVersion("2.0.6.0")]
[assembly: AssemblyVersion("2.0.7.0")]
[assembly: AssemblyFileVersion("2.0.7.0")]
4 changes: 2 additions & 2 deletions Src/Hypermedia.WebApi/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,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("2.0.6.0")]
[assembly: AssemblyFileVersion("2.0.6.0")]
[assembly: AssemblyVersion("2.0.7.0")]
[assembly: AssemblyFileVersion("2.0.7.0")]
4 changes: 2 additions & 2 deletions Src/Hypermedia/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,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("2.0.6.0")]
[assembly: AssemblyFileVersion("2.0.6.0")]
[assembly: AssemblyVersion("2.0.7.0")]
[assembly: AssemblyFileVersion("2.0.7.0")]

0 comments on commit 657521c

Please sign in to comment.