Skip to content

Commit ea6d30c

Browse files
committed
Fix dependencies. 2.1.1 prep.
1 parent 02f980a commit ea6d30c

File tree

10 files changed

+30
-16
lines changed

10 files changed

+30
-16
lines changed

Blocks/src/CodeJam.Blocks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<DefineConstants>$(DefineConstants);TRACE</DefineConstants>
5252
<DocumentationFile>$(OutputPath)$(TargetFramework)\$(ProjectName).xml</DocumentationFile>
5353
</PropertyGroup>
54-
54+
5555
<ItemGroup Condition=" '$(TargetFramework)' == 'net35'">
5656
<AssemblyAttribute Include="System.Runtime.Versioning.TargetFrameworkAttribute">
5757
<_Parameter1>.NETFramework,Version=v3.5</_Parameter1>

Blocks/src/Readme.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
CodeJam.Blocks 2.1.0 Release Notes
1+
CodeJam.Blocks 2.1.1 Release Notes
22
----------------------------------
33

4+
What's new in 2.1.1
5+
-----------------------
6+
* Fix package dependencies
7+
* Fix version
8+
49
What's new in 2.1.0-rc1
510
-----------------------
611
* FW 4.7.2 support

Blocks/src/TableData/CsvFormat.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static string EscapeValue(string value)
6161
public static Parser CreateParser(bool allowEscaping = true, char columnSeparator = ',') =>
6262
allowEscaping
6363
? (Parser)((TextReader rdr, ref int ln) => ParseCsv(rdr, ref ln, columnSeparator))
64-
: ((TextReader rdr, ref int ln) => ParseCsvNoEscape(rdr, ref ln, columnSeparator));
64+
: (TextReader rdr, ref int ln) => ParseCsvNoEscape(rdr, ref ln, columnSeparator);
6565

6666
/// <summary>Parses CSV data.</summary>
6767
/// <param name="reader">Text to parse</param>

Build/CodeJam.Default.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<DelaySign>False</DelaySign>
1414

1515
<Version>2.1.0.0</Version>
16-
<PackageVersion>2.1.0</PackageVersion>
16+
<PackageVersion>2.1.1</PackageVersion>
1717
<PackageOutputPath>..\..\_Results</PackageOutputPath>
1818

1919
<Company>RSDN</Company>

Build/CodeJam.Targeting.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<PropertyGroup Condition=" '$(TargetFramework)' == 'net461' ">
33
<DefineConstants>$(DefineConstants);DEFAULT_PLATFORM</DefineConstants>
44
</PropertyGroup>
5-
5+
66
<!-- Generated from https://docs.microsoft.com/en-us/dotnet/standard/frameworks -->
7-
7+
88
<!-- Monikers for full .net framework -->
99
<PropertyGroup Condition="'$(TargetFramework)' == 'net11' ">
1010
<DefineConstants>$(DefineConstants);TARGETS_NET;LESSTHAN_NET20;LESSTHAN_NET35;LESSTHAN_NET40;LESSTHAN_NET403;LESSTHAN_NET45;LESSTHAN_NET451;LESSTHAN_NET452;LESSTHAN_NET46;LESSTHAN_NET461;LESSTHAN_NET462;LESSTHAN_NET47;LESSTHAN_NET471;LESSTHAN_NET472</DefineConstants>
@@ -48,7 +48,7 @@
4848
<PropertyGroup Condition="'$(TargetFramework)' == 'net472' ">
4949
<DefineConstants>$(DefineConstants);TARGETS_NET</DefineConstants>
5050
</PropertyGroup>
51-
51+
5252
<!-- Monikers for .Net standard -->
5353
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.0' ">
5454
<DefineConstants>$(DefineConstants);TARGETS_NETSTANDARD;LESSTHAN_NETSTANDARD11;LESSTHAN_NETSTANDARD12;LESSTHAN_NETSTANDARD13;LESSTHAN_NETSTANDARD14;LESSTHAN_NETSTANDARD15;LESSTHAN_NETSTANDARD16;LESSTHAN_NETSTANDARD20</DefineConstants>
@@ -74,7 +74,7 @@
7474
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0' ">
7575
<DefineConstants>$(DefineConstants);TARGETS_NETSTANDARD</DefineConstants>
7676
</PropertyGroup>
77-
77+
7878
<!-- Monikers for .Net Core -->
7979
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp1.0' ">
8080
<DefineConstants>$(DefineConstants);TARGETS_NETCORE;LESSTHAN_NETCOREAPP11;LESSTHAN_NETCOREAPP20;LESSTHAN_NETCOREAPP21</DefineConstants>

Main/src/CodeJam.Main.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
</ItemGroup>
6767
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' ">
6868
<PackageReference Include="System.ComponentModel.Annotations" Version="4.4.0" />
69+
<PackageReference Include="System.ValueTuple" Version="4.4.0" />
6970
</ItemGroup>
7071
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
7172
<Reference Include="System.ComponentModel.DataAnnotations" />

Main/src/Ranges/[Boundaries]/RangeBoundaryTo`1.generated.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ public RangeBoundaryTo(T value, RangeBoundaryToKind boundaryKind)
159159
value = default;
160160
if (boundaryKind != RangeBoundaryToKind.Infinite)
161161
{
162-
throw CodeExceptions.Argument(nameof(value), "The positive infinity value should be used only for Infinite boundaries.");
162+
throw CodeExceptions.Argument(
163+
nameof(value), "The positive infinity value should be used only for Infinite boundaries.");
163164
}
164165
}
165166
if (_hasNegativeInfinity && _equalsFunc(value, _negativeInfinity))

Main/src/Ranges/[CompositeRanges]/CompositeRange`2.generated.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
13-
using System.Diagnostics.CodeAnalysis;
1413
using System.Linq;
1514

1615
using CodeJam.Collections;
@@ -38,7 +37,6 @@ namespace CodeJam.Ranges
3837
/// <typeparam name="TKey">The type of the range key</typeparam>
3938
[Serializable]
4039
[PublicAPI]
41-
[SuppressMessage("ReSharper", "SuggestVarOrType_BuiltInTypes")]
4240
public partial struct CompositeRange<T, TKey> : IEquatable<CompositeRange<T, TKey>>, IFormattable
4341
{
4442
#region Nested types
@@ -55,7 +53,7 @@ private sealed class SubRangesComparer : IComparer<Range<T, TKey>>
5553
/// <param name="x">The first object to compare.</param>
5654
/// <param name="y">The second object to compare.</param>
5755
/// <returns>
58-
/// A signed integer that indicates the relative values of <paramref name="x" /> and <paramref name="y" />
56+
/// A signed integer that indicates the relative values of <paramref name="x"/> and <paramref name="y"/>
5957
/// </returns>
6058
public int Compare(Range<T, TKey> x, Range<T, TKey> y)
6159
{
@@ -224,7 +222,9 @@ internal CompositeRange([NotNull] IEnumerable<Range<T, TKey>> ranges, UnsafeOver
224222
#endregion
225223

226224
#region Properties
227-
/// <summary>The composite range cannot be simplified anymore. Subranges do not intersect and start one exactly after another.</summary>
225+
/// <summary>
226+
/// The composite range cannot be simplified anymore. Subranges do not intersect and start one exactly after another.
227+
/// </summary>
228228
/// <value><c>true</c> if all subranges are merged already; otherwise, <c>false</c>.</value>
229229
public bool IsMerged => !_hasRangesToMerge;
230230

Main/src/Ranges/[Ranges]/Range`2.Operations.generated.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,10 @@ public bool HasIntersection<TKey2>(Range<T, TKey2> other)
247247
public T Clamp(T value)
248248
{
249249
Code.AssertArgument(IsNotEmpty, nameof(value), "Cannot fit the value into empty range.");
250-
Code.AssertArgument(!From.IsExclusiveBoundary, nameof(value), "The clamp range boundary From is exclusive and has no value.");
251-
Code.AssertArgument(!To.IsExclusiveBoundary, nameof(value), "The clamp range boundary To is exclusive and has no value.");
250+
Code.AssertArgument(
251+
!From.IsExclusiveBoundary, nameof(value), "The clamp range boundary From is exclusive and has no value.");
252+
Code.AssertArgument(
253+
!To.IsExclusiveBoundary, nameof(value), "The clamp range boundary To is exclusive and has no value.");
252254

253255
// case for the positive infinity
254256
if (!RangeBoundaryFrom<T>.IsValid(value))

Main/src/Readme.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
CodeJam 2.1.0 Release Notes
1+
CodeJam 2.1.1 Release Notes
22
---------------------------
33

4+
What's new in 2.1.1
5+
-----------------------
6+
* Fix package dependencies
7+
* Fix version
8+
49
What's new in 2.1.0-rc1
510
-----------------------
611
* FW 4.7.2 support

0 commit comments

Comments
 (0)