Skip to content

Commit

Permalink
Release 1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
msadeqsirjani committed Dec 17, 2020
1 parent 3aa307f commit 1ee9832
Show file tree
Hide file tree
Showing 32 changed files with 49 additions and 41 deletions.
Binary file modified .vs/Cacus.Blade.Core/DesignTimeBuild/.dtbcache.v2
Binary file not shown.
Binary file modified .vs/Cacus.Blade.Core/v16/.suo
Binary file not shown.
2 changes: 1 addition & 1 deletion Core.Test/obj/Core.Test.csproj.nuget.dgspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
}
},
"D:\\Job\\Code\\C#\\Cactus Packages\\Cactus.Blade.Core\\Core\\Core.csproj": {
"version": "1.2.2",
"version": "1.2.3",
"restore": {
"projectUniqueName": "D:\\Job\\Code\\C#\\Cactus Packages\\Cactus.Blade.Core\\Core\\Core.csproj",
"projectName": "Cactus.Blade.Core",
Expand Down
Binary file not shown.
6 changes: 3 additions & 3 deletions Core.Test/obj/project.assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@
"lib/netstandard1.3/System.Xml.XDocument.dll": {}
}
},
"Cactus.Blade.Core/1.2.2": {
"Cactus.Blade.Core/1.2.3": {
"type": "project",
"framework": ".NETStandard,Version=v2.1",
"compile": {
Expand Down Expand Up @@ -6028,15 +6028,15 @@
"system.xml.xdocument.nuspec"
]
},
"Cactus.Blade.Core/1.2.2": {
"Cactus.Blade.Core/1.2.3": {
"type": "project",
"path": "../Core/Core.csproj",
"msbuildProject": "../Core/Core.csproj"
}
},
"projectFileDependencyGroups": {
".NETCoreApp,Version=v3.1": [
"Cactus.Blade.Core >= 1.2.2",
"Cactus.Blade.Core >= 1.2.3",
"MSTest.TestAdapter >= 2.1.2",
"MSTest.TestFramework >= 2.1.2",
"Microsoft.NET.Test.Sdk >= 16.9.0-preview-20201123-03",
Expand Down
2 changes: 1 addition & 1 deletion Core.Test/obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "FrgZkOQMhdXgJIfFKPJav3ap0xuyJokuNYAsH1RKNwXz3E/4RkKfLCj+mrH/WK4ZShNZmzivJlI5QQUO2UAZ0Q==",
"dgSpecHash": "EsDEkWmjJ8xrrPvw6m1p9aYIkoFCSRDylcsrVVEQrUFF4BTEWk/RuIEzQSQCMUPVe6F7tV40N9/ZHX3AHkJNJA==",
"success": true,
"projectFilePath": "D:\\Job\\Code\\C#\\Cactus Packages\\Cactus.Blade.Core\\Core.Test\\Core.Test.csproj",
"expectedPackageFiles": [
Expand Down
4 changes: 1 addition & 3 deletions Core/Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PackageId>Cactus.Blade.Core</PackageId>
<AssemblyName>Cactus.Blade.Core</AssemblyName>
<RootNamespace>Cactus.Blade.Core</RootNamespace>
<Version>1.2.2</Version>
<Version>1.2.3</Version>
<NeutralLanguage>C#</NeutralLanguage>
<PackageReleaseNotes>Core is a library that is intuitive, fast and extensible.</PackageReleaseNotes>
<Description>Core is a library that is intuitive, fast and extensible.</Description>
Expand All @@ -24,7 +24,6 @@

<ItemGroup>
<Compile Remove="System.Int16\Generic\Int16.Years.cs" />
<Compile Remove="System.Int64\Generic\Int64.Years.cs" />
</ItemGroup>

<ItemGroup>
Expand All @@ -37,7 +36,6 @@
<PackagePath></PackagePath>
</None>
<None Include="System.Int16\Generic\Int16.Years.cs" />
<None Include="System.Int64\Generic\Int64.Years.cs" />
</ItemGroup>

</Project>
10 changes: 6 additions & 4 deletions Core/System.Int16/Generic/Int16.Years.cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
using System;
using System.Collections.Generic;
using System.Text;

public static partial class Extension
{
/// <summary>
/// An Int16 extension method that years the given this.
/// An Int64 extension method that years the given this.
/// </summary>
/// <param name="this">The @this to act on.</param>
/// <returns>A TimeSpan.</returns>
public static TimeSpan Years(this short @this)
{
var leap = @this / 4;

short days = 365 * @this + leap;
long days = 365 * @this + leap;

return days.Days();
return TimeSpan.FromDays(days);
}
}
}
14 changes: 7 additions & 7 deletions Core/System.Int32/Generic/Int32.Years.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

public static partial class Extension
{
/// <summary>
/// An Int32 extension method that years the given this.
/// </summary>
/// <param name="this">The @this to act on.</param>
/// <returns>A TimeSpan.</returns>
public static TimeSpan Years(this short @this)
// <summary>
// An Int32 extension method that years the given this.
// </summary>
// <param name = "this" > The @this to act on.</param>
// <returns>A TimeSpan.</returns>
public static TimeSpan Years(this int @this)
{
var leap = @this / 4;

var days = 365 * @this + leap;

return days.Days();
return TimeSpan.FromDays(days);
}
}
14 changes: 7 additions & 7 deletions Core/System.Int64/Generic/Int64.Years.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

public static partial class Extension
{
/// <summary>
/// An Int64 extension method that years the given this.
/// </summary>
/// <param name="this">The @this to act on.</param>
/// <returns>A TimeSpan.</returns>
public static TimeSpan Years(this short @this)
// <summary>
// An Int64 extension method that years the given this.
// </summary>
// <param name = "this" > The @this to act on.</param>
// <returns>A TimeSpan.</returns>
public static TimeSpan Years(this long @this)
{
var leap = @this / 4;

long days = 365 * @this + leap;

return days.Days();
return TimeSpan.FromDays(days);
}
}
Binary file modified Core/bin/Debug/netstandard2.1/Cactus.Blade.Core.dll
Binary file not shown.
Binary file modified Core/bin/Debug/netstandard2.1/Cactus.Blade.Core.pdb
Binary file not shown.
4 changes: 2 additions & 2 deletions Core/bin/Release/netstandard2.1/Cactus.Blade.Core.deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"targets": {
".NETStandard,Version=v2.1": {},
".NETStandard,Version=v2.1/": {
"Cactus.Blade.Core/1.2.1": {
"Cactus.Blade.Core/1.2.3": {
"runtime": {
"Cactus.Blade.Core.dll": {}
}
}
}
},
"libraries": {
"Cactus.Blade.Core/1.2.1": {
"Cactus.Blade.Core/1.2.3": {
"type": "project",
"serviceable": false,
"sha512": ""
Expand Down
Binary file modified Core/bin/Release/netstandard2.1/Cactus.Blade.Core.dll
Binary file not shown.
Binary file modified Core/bin/Release/netstandard2.1/Cactus.Blade.Core.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion Core/obj/Core.csproj.nuget.dgspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"projects": {
"D:\\Job\\Code\\C#\\Cactus Packages\\Cactus.Blade.Core\\Core\\Core.csproj": {
"version": "1.2.2",
"version": "1.2.3",
"restore": {
"projectUniqueName": "D:\\Job\\Code\\C#\\Cactus Packages\\Cactus.Blade.Core\\Core\\Core.csproj",
"projectName": "Cactus.Blade.Core",
Expand Down
Binary file modified Core/obj/Debug/netstandard2.1/Cactus.Blade.Core.dll
Binary file not shown.
Binary file modified Core/obj/Debug/netstandard2.1/Cactus.Blade.Core.pdb
Binary file not shown.
6 changes: 3 additions & 3 deletions Core/obj/Debug/netstandard2.1/Core.AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyCopyrightAttribute("@Copyright 2020")]
[assembly: System.Reflection.AssemblyDescriptionAttribute("Core is a library that is intuitive, fast and extensible.")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.2.2.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.2.2")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.2.3.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.2.3")]
[assembly: System.Reflection.AssemblyProductAttribute("Cactus")]
[assembly: System.Reflection.AssemblyTitleAttribute("Cactus.Blade.Core")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.2.2.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.2.3.0")]
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/mohammadsadeqsirjani/Cactus/tree/master/Core")]
[assembly: System.Resources.NeutralResourcesLanguageAttribute("C#")]

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
69c5266a6d636f0833b56f481606871bbaf68bbe
fb50cef52067e3f2b048c30714f96474f89dab88
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ D:\Job\Code\C#\Cactus Packages\Cactus.Blade\Project\Core\Cacus.Blade.Core\Core\o
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\bin\Debug\netstandard2.1\Cactus.Blade.Core.deps.json
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\bin\Debug\netstandard2.1\Cactus.Blade.Core.dll
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\bin\Debug\netstandard2.1\Cactus.Blade.Core.pdb
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\obj\Debug\netstandard2.1\Core.csprojAssemblyReference.cache
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\obj\Debug\netstandard2.1\Core.AssemblyInfoInputs.cache
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\obj\Debug\netstandard2.1\Core.AssemblyInfo.cs
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\obj\Debug\netstandard2.1\Core.csproj.CoreCompileInputs.cache
Expand Down
Binary file modified Core/obj/Release/netstandard2.1/Cactus.Blade.Core.dll
Binary file not shown.
Binary file modified Core/obj/Release/netstandard2.1/Cactus.Blade.Core.pdb
Binary file not shown.
6 changes: 3 additions & 3 deletions Core/obj/Release/netstandard2.1/Core.AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyCopyrightAttribute("@Copyright 2020")]
[assembly: System.Reflection.AssemblyDescriptionAttribute("Core is a library that is intuitive, fast and extensible.")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.2.1.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.2.1")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.2.3.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.2.3")]
[assembly: System.Reflection.AssemblyProductAttribute("Cactus")]
[assembly: System.Reflection.AssemblyTitleAttribute("Cactus.Blade.Core")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.2.1.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.2.3.0")]
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/mohammadsadeqsirjani/Cactus/tree/master/Core")]
[assembly: System.Resources.NeutralResourcesLanguageAttribute("C#")]

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b70820bb2b93060e076c805a063539b9116f9633
8cd219514b20b81334cc3e8c7cb58d5213343562
Binary file modified Core/obj/Release/netstandard2.1/Core.assets.cache
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
de4035719b66f22a63df349f1b787be5e95f5474
d7374442f3d42f30fb7e3387052ef20eff69bd6c
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ D:\Job\Code\C#\Cactus Packages\Cactus.Blade\Core\obj\Release\netstandard2.1\Core
D:\Job\Code\C#\Cactus Packages\Cactus.Blade\Core\obj\Release\netstandard2.1\Cactus.Blade.Core.dll
D:\Job\Code\C#\Cactus Packages\Cactus.Blade\Core\obj\Release\netstandard2.1\Cactus.Blade.Core.pdb
D:\Job\Code\C#\Cactus Packages\Cactus.Blade\Core\obj\Release\netstandard2.1\Core.csprojAssemblyReference.cache
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\bin\Release\netstandard2.1\Cactus.Blade.Core.deps.json
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\bin\Release\netstandard2.1\Cactus.Blade.Core.dll
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\bin\Release\netstandard2.1\Cactus.Blade.Core.pdb
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\obj\Release\netstandard2.1\Core.csprojAssemblyReference.cache
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\obj\Release\netstandard2.1\Core.AssemblyInfoInputs.cache
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\obj\Release\netstandard2.1\Core.AssemblyInfo.cs
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\obj\Release\netstandard2.1\Core.csproj.CoreCompileInputs.cache
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\obj\Release\netstandard2.1\Cactus.Blade.Core.dll
D:\Job\Code\C#\Cactus Packages\Cactus.Blade.Core\Core\obj\Release\netstandard2.1\Cactus.Blade.Core.pdb
Binary file not shown.
2 changes: 1 addition & 1 deletion Core/obj/project.assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"C:\\Users\\pc\\.nuget\\packages\\": {}
},
"project": {
"version": "1.2.2",
"version": "1.2.3",
"restore": {
"projectUniqueName": "D:\\Job\\Code\\C#\\Cactus Packages\\Cactus.Blade.Core\\Core\\Core.csproj",
"projectName": "Cactus.Blade.Core",
Expand Down
2 changes: 1 addition & 1 deletion Core/obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "nQVsV+LDJNlxLx//Atu3VWTut0xXtOlVxyYLubH9XdP/xDK4IFTvvhxTh/8myDMsDz09Cx92SiADc72T5nJhAA==",
"dgSpecHash": "7lluEK2t0CnAFh0BgnB1ULZsvjfvoAzhUJqcnV1do2RBTlWV7RsUPTIFscjXgSn/qm2BMWkZE2fZgpy1AUJJbQ==",
"success": true,
"projectFilePath": "D:\\Job\\Code\\C#\\Cactus Packages\\Cactus.Blade.Core\\Core\\Core.csproj",
"expectedPackageFiles": [],
Expand Down
Binary file added Nuget/Release 1.2.3/Cactus.Blade.Core.1.2.3.nupkg
Binary file not shown.

0 comments on commit 1ee9832

Please sign in to comment.