Skip to content

Commit fec3cfa

Browse files
committed
Update MinVer hoping to get the right assembly version
1 parent b5c43a4 commit fec3cfa

File tree

7 files changed

+15
-17
lines changed

7 files changed

+15
-17
lines changed

RestSharp.sln.DotSettings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/WRAP_PARAMETERS_STYLE/@EntryValue">CHOP_IF_LONG</s:String>
6666
<s:Boolean x:Key="/Default/CodeStyle/CSharpUsing/PreferQualifiedReference/@EntryValue">False</s:Boolean>
6767
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=FDIC/@EntryIndexedValue">FDIC</s:String>
68+
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EFeature_002EServices_002EDaemon_002ESettings_002EMigration_002ESwaWarningsModeSettingsMigrate/@EntryIndexedValue">True</s:Boolean>
6869
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpAttributeForSingleLineMethodUpgrade/@EntryIndexedValue">True</s:Boolean>
6970
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpKeepExistingMigration/@EntryIndexedValue">True</s:Boolean>
7071
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpPlaceEmbeddedOnSameLineMigration/@EntryIndexedValue">True</s:Boolean>

benchmarks/RestSharp.Benchmarks/RestSharp.Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="AutoFixture" Version="4.11.0" />
9+
<PackageReference Include="AutoFixture" Version="4.14.0" />
1010
<PackageReference Include="BenchmarkDotNet" Version="0.12.1" />
1111
<PackageReference Include="Utf8Json" Version="1.3.7" />
1212
</ItemGroup>

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<ItemGroup>
2323
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
24-
<PackageReference Include="MinVer" Version="2.2.0" PrivateAssets="All"/>
24+
<PackageReference Include="MinVer" Version="2.3.1" PrivateAssets="All"/>
2525
<PackageReference Include="JetBrains.Annotations" Version="2020.1.0" PrivateAssets="All"/>
2626
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
2727
</ItemGroup>

src/RestSharp/IRestRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public interface IRestRequest
159159
/// <summary>
160160
/// Serialized request body to be accessed in authenticators
161161
/// </summary>
162-
RequestBody Body { get; set; }
162+
RequestBody? Body { get; set; }
163163

164164
/// <summary>
165165
/// Adds a file to the Files collection to be included with a POST or PUT request

src/RestSharp/RequestBody.cs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,17 @@
1414

1515
using System;
1616

17-
namespace RestSharp
18-
{
19-
[Obsolete("The RestBody class will be internal in future versions")]
20-
public class RequestBody
21-
{
17+
namespace RestSharp {
18+
public class RequestBody {
2219
public string ContentType { get; }
2320
public string Name { get; }
2421
public object Value { get; }
2522

26-
public RequestBody(string contentType, string name, object value)
27-
{
23+
[Obsolete("The RestBody constructor will be internal in future versions")]
24+
public RequestBody(string contentType, string name, object value) {
2825
ContentType = contentType;
2926
Name = name;
3027
Value = value;
3128
}
3229
}
33-
}
30+
}

test/Directory.Build.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0"/>
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1"/>
1212
<PackageReference Include="NUnit" Version="3.12.0"/>
13-
<PackageReference Include="NUnit3TestAdapter" Version="3.15.1"/>
14-
<PackageReference Include="AutoFixture" Version="4.11.0"/>
15-
<PackageReference Include="FluentAssertions" Version="5.10.0"/>
16-
<PackageReference Include="coverlet.collector" Version="1.0.1"/>
13+
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0"/>
14+
<PackageReference Include="AutoFixture" Version="4.14.0"/>
15+
<PackageReference Include="FluentAssertions" Version="5.10.3"/>
16+
<PackageReference Include="coverlet.collector" Version="1.3.0"/>
1717
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
1818
</ItemGroup>
1919
</Project>

test/RestSharp.Tests/RestSharp.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<TargetFrameworks>net452;netcoreapp3.1</TargetFrameworks>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageReference Include="Moq" Version="4.13.1" />
6+
<PackageReference Include="Moq" Version="4.14.5" />
77
</ItemGroup>
88
<ItemGroup>
99
<ProjectReference Include="..\..\src\RestSharp\RestSharp.csproj" />

0 commit comments

Comments
 (0)