diff --git a/source/XeroAPI.Net.nuspec b/source/XeroAPI.Net.nuspec index 41ef3c5..c648373 100644 --- a/source/XeroAPI.Net.nuspec +++ b/source/XeroAPI.Net.nuspec @@ -1,19 +1,18 @@ - XeroAPI.Net - 0.0.0.0 - .Net wrapper library for Xero API - XeroAPI - - https://github.com/XeroAPI/XeroAPI.Net - https://secure.gravatar.com/avatar/7fff030fb8040a5157c3fd463858167f.png?s=128 + XeroAPI.Net-4DP + 1.0.6 + .Net wrapper library for Xero API with 4DP support + Unleashed Software + https://github.com/unleashedsoftware/XeroAPI.Net false - .Net wrapper library for Xero API. This library allows you to perform GET/PUT/POST methods against the Xero API without needing to know the internals of xml serialisation, oauth signatures or character encodings. See http://developer.xero.com for more information. - .Net wrapper library for Xero API + This library is same as XeroAPI.Net (https://www.nuget.org/packages/XeroAPI.Net) with 4DP support by default. + .Net wrapper library for Xero API with 4DP support + Replicating fix for bug in Content-Length from https://github.com/XeroAPI/XeroAPI.Net/commit/3946a195397870b81cb5ce55ad9b20dd9c679658 - - + + \ No newline at end of file diff --git a/source/XeroApi.Tests/OAuth/Consumer/ConsumerRequestTests.cs b/source/XeroApi.Tests/OAuth/Consumer/ConsumerRequestTests.cs index fdc4e76..fcc70ab 100644 --- a/source/XeroApi.Tests/OAuth/Consumer/ConsumerRequestTests.cs +++ b/source/XeroApi.Tests/OAuth/Consumer/ConsumerRequestTests.cs @@ -53,7 +53,7 @@ public void to_consumer_response_with_current_date_string_should_pass_validation [Test] public void it_can_parse_unset_IfModifiedSince_date() { - ConsumerRequest consumerRequest = new ConsumerRequest(null, null, null, null); + ConsumerRequest consumerRequest = new ConsumerRequest(null, null, null); NameValueCollection headers = new NameValueCollection(); OAuthContext oauthContext = new OAuthContext {Headers = headers}; @@ -126,7 +126,7 @@ public void it_can_read_IfModifiedSince_date_from_oauth_context_property() private static ConsumerRequest NewConsumerRequest() { - return new ConsumerRequest(null, null, null, null); + return new ConsumerRequest(null, null, null); } private static ConsumerRequest NewConsumerRequest(OAuthContext oAuthContext) @@ -142,7 +142,7 @@ private static ConsumerRequest NewConsumerRequest(OAuthContext oAuthContext) ConsumerRequestRunner = consumerRequestRunner }; - return new ConsumerRequest(oAuthSession, oAuthContext, consumerContext, new NullCertificateFactory()); + return new ConsumerRequest(oAuthSession, oAuthContext, consumerContext); } } } diff --git a/source/XeroApi.Tests/XeroApi.Tests.csproj b/source/XeroApi.Tests/XeroApi.Tests.csproj index c2e8f3e..eca9fea 100644 --- a/source/XeroApi.Tests/XeroApi.Tests.csproj +++ b/source/XeroApi.Tests/XeroApi.Tests.csproj @@ -82,4 +82,7 @@ PreserveNewest + + + \ No newline at end of file diff --git a/source/XeroApi.VBTests/XeroApi.VBTests.vbproj b/source/XeroApi.VBTests/XeroApi.VBTests.vbproj index ac5a326..80f07e9 100644 --- a/source/XeroApi.VBTests/XeroApi.VBTests.vbproj +++ b/source/XeroApi.VBTests/XeroApi.VBTests.vbproj @@ -110,6 +110,9 @@ XeroApi + + +