Skip to content
This repository was archived by the owner on Dec 29, 2020. It is now read-only.

Commit 2ed728b

Browse files
Trevor PilleyTrevor Pilley
authored andcommitted
MicroLite.Extensions.WebApi 6.6.2 and Net.Http.WebApi.OData 4.1.5
1 parent 88d6641 commit 2ed728b

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

MicroLite.Extensions.WebApi.OData.Tests/Binders/FilterBinderTests.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public WhenCallingApplyToWithAGroupedFunctionAndFunction()
9898
TestHelper.EnsureEDM();
9999

100100
var queryOptions = new ODataQueryOptions(
101-
new HttpRequestMessage(HttpMethod.Get, "http://services.microlite.org/odata/Customers?$filter=(endswith(Name, 'son') and endswith(Name, 'nes')))"),
101+
new HttpRequestMessage(HttpMethod.Get, "http://services.microlite.org/odata/Customers?$filter=(endswith(Name, 'son') and endswith(Name, 'nes'))"),
102102
EntityDataModel.Current.EntitySets["Customers"]);
103103

104104
this.sqlQuery = FilterBinder.BindFilter(queryOptions.Filter, ObjectInfo.For(typeof(Customer)), SqlBuilder.Select("*").From(typeof(Customer))).ToSqlQuery();
@@ -144,7 +144,7 @@ public WhenCallingApplyToWithAGroupedFunctionOrFunction()
144144
TestHelper.EnsureEDM();
145145

146146
var queryOptions = new ODataQueryOptions(
147-
new HttpRequestMessage(HttpMethod.Get, "http://services.microlite.org/odata/Customers?$filter=(endswith(Name, 'son') or endswith(Name, 'nes')))"),
147+
new HttpRequestMessage(HttpMethod.Get, "http://services.microlite.org/odata/Customers?$filter=(endswith(Name, 'son') or endswith(Name, 'nes'))"),
148148
EntityDataModel.Current.EntitySets["Customers"]);
149149

150150
this.sqlQuery = FilterBinder.BindFilter(queryOptions.Filter, ObjectInfo.For(typeof(Customer)), SqlBuilder.Select("*").From(typeof(Customer))).ToSqlQuery();
@@ -1500,7 +1500,7 @@ public WhenCallingBindFilterQueryOptionWithPropertyAddValueEquals()
15001500
TestHelper.EnsureEDM();
15011501

15021502
var queryOptions = new ODataQueryOptions(
1503-
new HttpRequestMessage(HttpMethod.Get, "http://services.microlite.org/odata/Invoices?$filter=Quantity add 10 eq 15'"),
1503+
new HttpRequestMessage(HttpMethod.Get, "http://services.microlite.org/odata/Invoices?$filter=Quantity add 10 eq 15"),
15041504
EntityDataModel.Current.EntitySets["Invoices"]);
15051505

15061506
this.sqlQuery = FilterBinder.BindFilter(queryOptions.Filter, ObjectInfo.For(typeof(Invoice)), SqlBuilder.Select("*").From(typeof(Invoice))).ToSqlQuery();
@@ -1546,7 +1546,7 @@ public WhenCallingBindFilterQueryOptionWithPropertyDivideValueEquals()
15461546
TestHelper.EnsureEDM();
15471547

15481548
var queryOptions = new ODataQueryOptions(
1549-
new HttpRequestMessage(HttpMethod.Get, "http://services.microlite.org/odata/Invoices?$filter=Quantity div 10 eq 15'"),
1549+
new HttpRequestMessage(HttpMethod.Get, "http://services.microlite.org/odata/Invoices?$filter=Quantity div 10 eq 15"),
15501550
EntityDataModel.Current.EntitySets["Invoices"]);
15511551

15521552
this.sqlQuery = FilterBinder.BindFilter(queryOptions.Filter, ObjectInfo.For(typeof(Invoice)), SqlBuilder.Select("*").From(typeof(Invoice))).ToSqlQuery();
@@ -1592,7 +1592,7 @@ public WhenCallingBindFilterQueryOptionWithPropertyModuloValueEquals()
15921592
TestHelper.EnsureEDM();
15931593

15941594
var queryOptions = new ODataQueryOptions(
1595-
new HttpRequestMessage(HttpMethod.Get, "http://services.microlite.org/odata/Invoices?$filter=Quantity mod 10 eq 15'"),
1595+
new HttpRequestMessage(HttpMethod.Get, "http://services.microlite.org/odata/Invoices?$filter=Quantity mod 10 eq 15"),
15961596
EntityDataModel.Current.EntitySets["Invoices"]);
15971597

15981598
this.sqlQuery = FilterBinder.BindFilter(queryOptions.Filter, ObjectInfo.For(typeof(Invoice)), SqlBuilder.Select("*").From(typeof(Invoice))).ToSqlQuery();
@@ -1638,7 +1638,7 @@ public WhenCallingBindFilterQueryOptionWithPropertyMultiplyValueEquals()
16381638
TestHelper.EnsureEDM();
16391639

16401640
var queryOptions = new ODataQueryOptions(
1641-
new HttpRequestMessage(HttpMethod.Get, "http://services.microlite.org/odata/Invoices?$filter=Quantity mul 10 eq 15'"),
1641+
new HttpRequestMessage(HttpMethod.Get, "http://services.microlite.org/odata/Invoices?$filter=Quantity mul 10 eq 15"),
16421642
EntityDataModel.Current.EntitySets["Invoices"]);
16431643

16441644
this.sqlQuery = FilterBinder.BindFilter(queryOptions.Filter, ObjectInfo.For(typeof(Invoice)), SqlBuilder.Select("*").From(typeof(Invoice))).ToSqlQuery();
@@ -1684,7 +1684,7 @@ public WhenCallingBindFilterQueryOptionWithPropertySubtractValueEquals()
16841684
TestHelper.EnsureEDM();
16851685

16861686
var queryOptions = new ODataQueryOptions(
1687-
new HttpRequestMessage(HttpMethod.Get, "http://services.microlite.org/odata/Invoices?$filter=Quantity sub 10 eq 15'"),
1687+
new HttpRequestMessage(HttpMethod.Get, "http://services.microlite.org/odata/Invoices?$filter=Quantity sub 10 eq 15"),
16881688
EntityDataModel.Current.EntitySets["Invoices"]);
16891689

16901690
this.sqlQuery = FilterBinder.BindFilter(queryOptions.Filter, ObjectInfo.For(typeof(Invoice)), SqlBuilder.Select("*").From(typeof(Invoice))).ToSqlQuery();

MicroLite.Extensions.WebApi.OData.Tests/MicroLite.Extensions.WebApi.OData.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@
4949
<Private>True</Private>
5050
</Reference>
5151
<Reference Include="MicroLite.Extensions.WebApi, Version=6.6.0.0, Culture=neutral, PublicKeyToken=08410e6798c4fa37, processorArchitecture=MSIL">
52-
<HintPath>..\packages\MicroLite.Extensions.WebApi.6.6.1\lib\net45\MicroLite.Extensions.WebApi.dll</HintPath>
52+
<HintPath>..\packages\MicroLite.Extensions.WebApi.6.6.2\lib\net45\MicroLite.Extensions.WebApi.dll</HintPath>
5353
</Reference>
5454
<Reference Include="Moq, Version=4.13.0.0, Culture=neutral, PublicKeyToken=69f491c39445e920, processorArchitecture=MSIL">
5555
<HintPath>..\packages\Moq.4.13.1\lib\net45\Moq.dll</HintPath>
5656
</Reference>
5757
<Reference Include="Net.Http.WebApi.OData, Version=4.1.0.0, Culture=neutral, PublicKeyToken=d54bd485d668c081, processorArchitecture=MSIL">
58-
<HintPath>..\packages\Net.Http.WebApi.OData.4.1.0\lib\net45\Net.Http.WebApi.OData.dll</HintPath>
58+
<HintPath>..\packages\Net.Http.WebApi.OData.4.1.5\lib\net45\Net.Http.WebApi.OData.dll</HintPath>
5959
</Reference>
6060
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
6161
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>

MicroLite.Extensions.WebApi.OData.Tests/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<packages>
33
<package id="Castle.Core" version="4.4.0" targetFramework="net45" />
44
<package id="MicroLite" version="6.3.1" targetFramework="net45" />
5-
<package id="MicroLite.Extensions.WebApi" version="6.6.1" targetFramework="net45" />
5+
<package id="MicroLite.Extensions.WebApi" version="6.6.2" targetFramework="net45" />
66
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.7" targetFramework="net45" />
77
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.7" targetFramework="net45" />
88
<package id="Moq" version="4.13.1" targetFramework="net45" />
9-
<package id="Net.Http.WebApi.OData" version="4.1.0" targetFramework="net45" />
9+
<package id="Net.Http.WebApi.OData" version="4.1.5" targetFramework="net45" />
1010
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" />
1111
<package id="System.Runtime.CompilerServices.Unsafe" version="4.6.0" targetFramework="net45" />
1212
<package id="System.Threading.Tasks.Extensions" version="4.5.3" targetFramework="net45" />

MicroLite.Extensions.WebApi.OData.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1515
<tags>ASP.NET WebApi OData MicroORM ORM POCO Database</tags>
1616
<dependencies>
17-
<dependency id="MicroLite.Extensions.WebApi" version="[6.6.1,7.0)" />
18-
<dependency id="Net.Http.WebApi.OData" version="[4.1,5.0)" />
17+
<dependency id="MicroLite.Extensions.WebApi" version="[6.6.2,7.0)" />
18+
<dependency id="Net.Http.WebApi.OData" version="[4.1.5,5.0)" />
1919
</dependencies>
2020
</metadata>
2121
<files>

MicroLite.Extensions.WebApi.OData/MicroLite.Extensions.WebApi.OData.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@
5757
<Private>True</Private>
5858
</Reference>
5959
<Reference Include="MicroLite.Extensions.WebApi, Version=6.6.0.0, Culture=neutral, PublicKeyToken=08410e6798c4fa37, processorArchitecture=MSIL">
60-
<HintPath>..\packages\MicroLite.Extensions.WebApi.6.6.1\lib\net45\MicroLite.Extensions.WebApi.dll</HintPath>
60+
<HintPath>..\packages\MicroLite.Extensions.WebApi.6.6.2\lib\net45\MicroLite.Extensions.WebApi.dll</HintPath>
6161
</Reference>
6262
<Reference Include="Net.Http.WebApi.OData, Version=4.1.0.0, Culture=neutral, PublicKeyToken=d54bd485d668c081, processorArchitecture=MSIL">
63-
<HintPath>..\packages\Net.Http.WebApi.OData.4.1.0\lib\net45\Net.Http.WebApi.OData.dll</HintPath>
63+
<HintPath>..\packages\Net.Http.WebApi.OData.4.1.5\lib\net45\Net.Http.WebApi.OData.dll</HintPath>
6464
</Reference>
6565
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
6666
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="MicroLite" version="6.3.1" targetFramework="net45" />
4-
<package id="MicroLite.Extensions.WebApi" version="6.6.1" targetFramework="net45" />
4+
<package id="MicroLite.Extensions.WebApi" version="6.6.2" targetFramework="net45" />
55
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.7" targetFramework="net45" />
66
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.7" targetFramework="net45" />
77
<package id="Microsoft.CodeAnalysis.FxCopAnalyzers" version="2.9.8" targetFramework="net45" developmentDependency="true" />
88
<package id="Microsoft.CodeAnalysis.VersionCheckAnalyzer" version="2.9.8" targetFramework="net45" developmentDependency="true" />
99
<package id="Microsoft.CodeQuality.Analyzers" version="2.9.8" targetFramework="net45" developmentDependency="true" />
1010
<package id="Microsoft.NetCore.Analyzers" version="2.9.8" targetFramework="net45" developmentDependency="true" />
1111
<package id="Microsoft.NetFramework.Analyzers" version="2.9.8" targetFramework="net45" developmentDependency="true" />
12-
<package id="Net.Http.WebApi.OData" version="4.1.0" targetFramework="net45" />
12+
<package id="Net.Http.WebApi.OData" version="4.1.5" targetFramework="net45" />
1313
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" />
1414
<package id="StyleCop.Analyzers" version="1.1.118" targetFramework="net45" developmentDependency="true" />
1515
</packages>

0 commit comments

Comments
 (0)