From 7cc8359284dbc0b8946934d629286ff8cc154dab Mon Sep 17 00:00:00 2001 From: Austin Noska Date: Tue, 28 Jul 2020 17:31:41 -0400 Subject: [PATCH 1/3] fix: Check if any & all characters in a string is a digit instead of just all --- ICD.Common.Utils/Extensions/StringExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ICD.Common.Utils/Extensions/StringExtensions.cs b/ICD.Common.Utils/Extensions/StringExtensions.cs index e1be90e..92e33dd 100644 --- a/ICD.Common.Utils/Extensions/StringExtensions.cs +++ b/ICD.Common.Utils/Extensions/StringExtensions.cs @@ -205,7 +205,7 @@ namespace ICD.Common.Utils.Extensions if (extends == null) throw new ArgumentNullException("extends"); - return extends.All(char.IsDigit); + return extends.AnyAndAll(char.IsDigit); } /// From 51ec3dd8ff0866f763786a211c48776f3b3a83d5 Mon Sep 17 00:00:00 2001 From: Austin Noska Date: Tue, 28 Jul 2020 18:09:00 -0400 Subject: [PATCH 2/3] docs: Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1247123..4aa8952 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed + - StringExtensions - fixed an issue with IsNumeric where empty strings would return true ## [8.9.1] - 2020-05-27 ### Changed From 7f306801b32ca7a0b04620c30e78a60eaaa512e5 Mon Sep 17 00:00:00 2001 From: Drew Tingen Date: Tue, 28 Jul 2020 23:00:23 -0400 Subject: [PATCH 3/3] chore: Updating changelog, incremeting patch version --- CHANGELOG.md | 2 ++ ICD.Common.Utils/Properties/AssemblyInfo.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4aa8952..b80c258 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [8.9.2] - 2020-07-28 ### Changed - StringExtensions - fixed an issue with IsNumeric where empty strings would return true diff --git a/ICD.Common.Utils/Properties/AssemblyInfo.cs b/ICD.Common.Utils/Properties/AssemblyInfo.cs index 7f9dce7..b35da97 100644 --- a/ICD.Common.Utils/Properties/AssemblyInfo.cs +++ b/ICD.Common.Utils/Properties/AssemblyInfo.cs @@ -4,4 +4,4 @@ using System.Reflection; [assembly: AssemblyCompany("ICD Systems")] [assembly: AssemblyProduct("ICD.Common.Utils")] [assembly: AssemblyCopyright("Copyright © ICD Systems 2020")] -[assembly: AssemblyVersion("8.9.1.0")] +[assembly: AssemblyVersion("8.9.2.0")]