Skip to content

Commit

Permalink
Minor changes and package release on nuget.org.
Browse files Browse the repository at this point in the history
  • Loading branch information
akesseler committed Aug 30, 2018
1 parent 2dbee1f commit d09e0c9
Show file tree
Hide file tree
Showing 7 changed files with 124 additions and 24 deletions.
17 changes: 17 additions & 0 deletions code/nug/Plexdata.CsvParser.NET.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>$id$</id>
<version>$version$</version>
<title>$title$</title>
<authors>$author$</authors>
<owners>$author$</owners>
<licenseUrl>https://github.com/akesseler/Plexdata.CsvParser/blob/master/LICENSE.md</licenseUrl>
<projectUrl>https://github.com/akesseler/Plexdata.CsvParser</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<releaseNotes>Initial release on NuGet.org.</releaseNotes>
<copyright>Copyright 2018 plexdata.de</copyright>
<tags>CSV file parser</tags>
</metadata>
</package>
5 changes: 5 additions & 0 deletions code/src/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@



**1.0.0.1**

- Package release on nuget.org
- Release file uploaded on github.com

**1.0.0.0**

- Initial draft.
Expand Down
43 changes: 35 additions & 8 deletions code/src/Plexdata.CsvParser.NET.Tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,43 @@
using System.Reflection;
using System.Runtime.CompilerServices;
/*
* MIT License
*
* Copyright (c) 2018 plexdata.de
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Plexdata.CsvParser.NET.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyDescription("The NUnit test environment for the Plexdata.CsvParser.NET library.")]
#if DEBUG
[assembly: AssemblyConfiguration("DEBUG")]
#else
[assembly: AssemblyConfiguration("RELEASE")]
#endif
[assembly: AssemblyCompany("plexdata.de")]
[assembly: AssemblyProduct("Plexdata.CsvParser.NET.Tests")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyCopyright("Copyright © 2018 - plexdata.de")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -32,5 +59,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.0.1")]
[assembly: AssemblyFileVersion("1.0.0.1")]
2 changes: 1 addition & 1 deletion code/src/Plexdata.CsvParser.NET/Processors/CsvImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ private static void ValidateHeader(List<String> headers, List<ItemDescriptor> de
/// <remarks>
/// <para>
/// Well, standard string split would actually not work for this purpose.
/// For example, one of the exceptions is that strings are splitted at the
/// For example, one of the exceptions is that strings are split at the
/// separator, no matter if the separator is inside or outside a string
/// that is surrounded by double-quotes. This means that something like
/// <i>"Head,er1",Header2,Header3</i> would be split into <i>["Head] [er1"]
Expand Down
2 changes: 1 addition & 1 deletion code/src/Plexdata.CsvParser.NET/Processors/CsvSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public Boolean Exactly
/// <remarks>
/// The used culture applies to number conversion as well as to other culture-dependent
/// data types. For example using German culture will treat number such as 1.234,56
/// as valid decimals. In contrast to that, using an Enlish culture will treat a
/// as valid decimals. In contrast to that, using an English culture will treat a
/// number like 1,234.56 as valid decimal value.
/// </remarks>
/// <value>
Expand Down
42 changes: 35 additions & 7 deletions code/src/Plexdata.CsvParser.NET/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,44 @@
using System.Reflection;
/*
* MIT License
*
* Copyright (c) 2018 plexdata.de
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Plexdata.CsvParser.NET")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyDescription("This library is a simple CSV file parser. It uses attributes on classes that define which of the properties are used as CSV file columns.")]
#if DEBUG
[assembly: AssemblyConfiguration("DEBUG")]
#else
[assembly: AssemblyConfiguration("RELEASE")]
#endif
[assembly: AssemblyCompany("plexdata.de")]
[assembly: AssemblyProduct("Plexdata.CsvParser.NET")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyCopyright("Copyright © 2018 - plexdata.de")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -32,8 +60,8 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.0.1")]
[assembly: AssemblyFileVersion("1.0.0.1")]

// Make internal classes visible for testing...
[assembly: InternalsVisibleTo("Plexdata.CsvParser.NET.Tests")]
37 changes: 30 additions & 7 deletions code/src/Plexdata.CsvParser.Tester/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,39 @@
using System.Reflection;
using System.Runtime.CompilerServices;
/*
* MIT License
*
* Copyright (c) 2018 plexdata.de
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Plexdata.CsvParser.Tester")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyDescription("This program does something useful.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCompany("plexdata.de")]
[assembly: AssemblyProduct("Plexdata.CsvParser.Tester")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -32,5 +55,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.0.1")]
[assembly: AssemblyFileVersion("1.0.0.1")]

0 comments on commit d09e0c9

Please sign in to comment.