Skip to content

Commit

Permalink
1.0.28-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
vmelamed committed Jan 16, 2016
1 parent 69b4fec commit 0db9739
Show file tree
Hide file tree
Showing 14 changed files with 661 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>AspectExpressionSerialization</id>
<version>1.0.26</version>
<version>1.0.28</version>
<authors>Val Melamed</authors>
<owners>Val Melamed</owners>
<summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
[assembly: AssemblyTitle("vm.Aspects.Linq.Expressions.Serialization")]
[assembly: AssemblyDescription("Serializes and deserializes LINQ expression trees to and from XML documents.")]

[assembly: AssemblyVersion("1.0.26")]
[assembly: AssemblyFileVersion("1.0.26")]
[assembly: AssemblyInformationalVersion("1.0.26")]
[assembly: AssemblyVersion("1.0.28")]
[assembly: AssemblyFileVersion("1.0.28")]
[assembly: AssemblyInformationalVersion("1.0.28")]

[assembly: InternalsVisibleTo(
"vm.Aspects.Linq.Expressions.Serialization.Test, " +
Expand Down
6 changes: 3 additions & 3 deletions Aspects/Model/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
[assembly: AssemblyTitle("vm.Aspect.Model")]
[assembly: AssemblyDescription("Defines the IRepository and related base classes and utilities - a framework of building domain object model.")]

[assembly: AssemblyVersion("1.0.26")]
[assembly: AssemblyFileVersion("1.0.26")]
[assembly: AssemblyInformationalVersion("1.0.26")]
[assembly: AssemblyVersion("1.0.28")]
[assembly: AssemblyFileVersion("1.0.28")]
[assembly: AssemblyInformationalVersion("1.0.28")]

[assembly: System.Runtime.CompilerServices.InternalsVisibleTo(
"vm.Aspects.Model.Tests, " +
Expand Down
5 changes: 2 additions & 3 deletions Aspects/NuGet/vm.Aspects.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>vm.Aspects</id>
<version>1.0.26-beta</version>
<version>1.0.28-beta</version>
<authors>Val Melamed</authors>
<owners>Val Melamed</owners>
<summary>
Expand All @@ -12,8 +12,7 @@
A set of classes, utilities, etc. addressing various common cross-cutting concerns or extending existing similar libraries like Enterprise Library, Unity, etc.
</description>
<releaseNotes>
* vm.Aspects.Security,Cryptography: Fixed a bug in `EncryptedKeyCipher.CloneCipher`
* vm.Aspects.Model: Fixed a bug in the DomainEntity and in the resolution of the HiLoStoreIdProvider.
* vm.Aspects: Added SemanticVersion class.
</releaseNotes>
<licenseUrl>https://github.com/vmelamed/vm/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/vmelamed/vm/tree/master/Aspects</projectUrl>
Expand Down
6 changes: 3 additions & 3 deletions Aspects/Parsers/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
[assembly: AssemblyTitle("vm.Aspects.Parser")]
[assembly: AssemblyDescription("Text parsing readers, e.g. CSV/TSV reader.")]

[assembly: AssemblyVersion("1.0.26")]
[assembly: AssemblyFileVersion("1.0.26")]
[assembly: AssemblyInformationalVersion("1.0.26")]
[assembly: AssemblyVersion("1.0.28")]
[assembly: AssemblyFileVersion("1.0.28")]
[assembly: AssemblyInformationalVersion("1.0.28")]

[assembly: System.Runtime.CompilerServices.InternalsVisibleTo(
"vm.Aspects.Parsers.Tests, " +
Expand Down
6 changes: 3 additions & 3 deletions Aspects/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[assembly: AssemblyTitle("vm.Aspects")]
[assembly: AssemblyDescription("A set of classes addressing various common cross-cutting concerns.")]
[assembly: AssemblyVersion("1.0.26")]
[assembly: AssemblyFileVersion("1.0.26")]
[assembly: AssemblyInformationalVersion("1.0.26")]
[assembly: AssemblyVersion("1.0.28")]
[assembly: AssemblyFileVersion("1.0.28")]
[assembly: AssemblyInformationalVersion("1.0.28")]


[assembly: System.Runtime.CompilerServices.InternalsVisibleTo(
Expand Down
36 changes: 36 additions & 0 deletions Aspects/RegularExpression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,42 @@ public static class RegularExpression
#endregion
#endregion

#region Semantic version
/// <summary>
/// The semantic versioning prerelease version syntax.
/// </summary>
public const string RexSemanticVersionPrerelease = @"[0-9a-z-]+(?:\.[0-9a-z-]+)*";

readonly static Lazy<Regex> _semanticVersionPrerelease = new Lazy<Regex>(() => new Regex(RexSemanticVersionPrerelease, RegexOptions.Compiled));

/// <summary>
/// Gets a regular expression object that tests semantic versioning prerelease strings.
/// </summary>
public static Regex SemanticVersionPrerelease => _semanticVersionPrerelease.Value;

/// <summary>
/// The semantic versioning prerelease version syntax.
/// </summary>
public const string RexSemanticVersionBuild = RexSemanticVersionPrerelease;

/// <summary>
/// Gets a regular expression object that tests semantic versioning build strings.
/// </summary>
public static Regex SemanticVersionBuild => _semanticVersionPrerelease.Value;

/// <summary>
/// Tests semantic versioning strings: http://semver.org/
/// </summary>
public const string RexSemanticVersion = @"^(?i:)(?<major>0|(?:0|[1-9][0-9]*))\.(?<minor>0|[1-9][0-9]*)\.(?<patch>0|[1-9][0-9]*)(?:-(?<prerelease>"+RexSemanticVersionPrerelease+@"))?(?:\+(?<build>"+RexSemanticVersionBuild+@"))?$";

readonly static Lazy<Regex> _semanticVersion = new Lazy<Regex>(() => new Regex(RexSemanticVersion, RegexOptions.Compiled));

/// <summary>
/// Gets a regular expression object that tests semantic versioning strings.
/// </summary>
public static Regex SemanticVersion => _semanticVersion.Value;
#endregion

#region Misceleaneous
#region ByteArray
/// <summary>
Expand Down
Loading

0 comments on commit 0db9739

Please sign in to comment.