Skip to content

Commit 8726a23

Browse files
committed
Bumped to v1.10.
1 parent 432b861 commit 8726a23

File tree

3 files changed

+127
-122
lines changed

3 files changed

+127
-122
lines changed
Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
1-
// Copyright © 2007 by Initial Force AS. All rights reserved.
2-
// https://github.com/InitialForce/SIUnits
3-
//
4-
// Permission is hereby granted, free of charge, to any person obtaining a copy
5-
// of this software and associated documentation files (the "Software"), to deal
6-
// in the Software without restriction, including without limitation the rights
7-
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8-
// copies of the Software, and to permit persons to whom the Software is
9-
// furnished to do so, subject to the following conditions:
10-
//
11-
// The above copyright notice and this permission notice shall be included in
12-
// all copies or substantial portions of the Software.
13-
//
14-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20-
// THE SOFTWARE.
21-
22-
using System.Reflection;
23-
using System.Resources;
24-
25-
// General Information about an assembly is controlled through the following
26-
// set of attributes. Change these attribute values to modify the information
27-
// associated with an assembly.
28-
29-
[assembly: AssemblyTitle("UnitsNet")]
30-
[assembly: AssemblyDescription("Data structures and helper methods to convert values between units, parse value and unit from text or get textual representation.")]
31-
[assembly: AssemblyConfiguration("")]
32-
[assembly: AssemblyCompany("Initial Force AS")]
33-
[assembly: AssemblyProduct("UnitsNet")]
34-
[assembly: AssemblyCopyright("Copyright © 2007-2013 Initial Force AS")]
35-
[assembly: AssemblyTrademark("")]
36-
[assembly: AssemblyCulture("")]
37-
[assembly: NeutralResourcesLanguage("")]
38-
39-
// Version information for an assembly consists of the following four values:
40-
//
41-
// Major Version
42-
// Minor Version
43-
// Build Number
44-
// Revision
45-
//
46-
47-
[assembly: AssemblyVersion("1.9.0")]
48-
[assembly: AssemblyFileVersion("1.9.0")]
1+
// Copyright © 2007 by Initial Force AS. All rights reserved.
2+
// https://github.com/InitialForce/SIUnits
3+
//
4+
// Permission is hereby granted, free of charge, to any person obtaining a copy
5+
// of this software and associated documentation files (the "Software"), to deal
6+
// in the Software without restriction, including without limitation the rights
7+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
// copies of the Software, and to permit persons to whom the Software is
9+
// furnished to do so, subject to the following conditions:
10+
//
11+
// The above copyright notice and this permission notice shall be included in
12+
// all copies or substantial portions of the Software.
13+
//
14+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20+
// THE SOFTWARE.
21+
22+
using System.Reflection;
23+
using System.Resources;
24+
25+
// General Information about an assembly is controlled through the following
26+
// set of attributes. Change these attribute values to modify the information
27+
// associated with an assembly.
28+
29+
[assembly: AssemblyTitle("UnitsNet")]
30+
[assembly: AssemblyDescription("Data structures and helper methods to convert values between units, parse value and unit from text or get textual representation.")]
31+
[assembly: AssemblyConfiguration("")]
32+
[assembly: AssemblyCompany("Initial Force AS")]
33+
[assembly: AssemblyProduct("UnitsNet")]
34+
[assembly: AssemblyCopyright("Copyright © 2007-2013 Initial Force AS")]
35+
[assembly: AssemblyTrademark("")]
36+
[assembly: AssemblyCulture("")]
37+
[assembly: NeutralResourcesLanguage("")]
38+
39+
// Version information for an assembly consists of the following four values:
40+
//
41+
// Major Version
42+
// Minor Version
43+
// Build Number
44+
// Revision
45+
//
46+
47+
[assembly: AssemblyVersion("1.10.0")]
48+
[assembly: AssemblyFileVersion("1.10.0")]

Tests/Properties/AssemblyInfo.cs

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
using System.Reflection;
2-
using System.Runtime.CompilerServices;
3-
using System.Runtime.InteropServices;
4-
5-
// General Information about an assembly is controlled through the following
6-
// set of attributes. Change these attribute values to modify the information
7-
// associated with an assembly.
8-
[assembly: AssemblyTitle("UnitsNet.Tests.net35")]
9-
[assembly: AssemblyDescription("")]
10-
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("UnitsNet.Tests.net35")]
13-
[assembly: AssemblyCopyright("Copyright © 2013")]
14-
[assembly: AssemblyTrademark("")]
15-
[assembly: AssemblyCulture("")]
16-
17-
// Setting ComVisible to false makes the types in this assembly not visible
18-
// to COM components. If you need to access a type in this assembly from
19-
// COM, set the ComVisible attribute to true on that type.
20-
[assembly: ComVisible(false)]
21-
22-
// The following GUID is for the ID of the typelib if this project is exposed to COM
23-
[assembly: Guid("0a912b96-39c0-4b7a-b045-a49ef3e4bc3c")]
24-
25-
// Version information for an assembly consists of the following four values:
26-
//
27-
// Major Version
28-
// Minor Version
29-
// Build Number
30-
// Revision
31-
//
32-
33-
[assembly: AssemblyVersion("1.9.0")]
34-
[assembly: AssemblyFileVersion("1.9.0")]
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("UnitsNet.Tests.net35")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("UnitsNet.Tests.net35")]
13+
[assembly: AssemblyCopyright("Copyright © 2013")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Setting ComVisible to false makes the types in this assembly not visible
18+
// to COM components. If you need to access a type in this assembly from
19+
// COM, set the ComVisible attribute to true on that type.
20+
[assembly: ComVisible(false)]
21+
22+
// The following GUID is for the ID of the typelib if this project is exposed to COM
23+
[assembly: Guid("0a912b96-39c0-4b7a-b045-a49ef3e4bc3c")]
24+
25+
// Version information for an assembly consists of the following four values:
26+
//
27+
// Major Version
28+
// Minor Version
29+
// Build Number
30+
// Revision
31+
//
32+
33+
[assembly: AssemblyVersion("1.10.0")]
34+
[assembly: AssemblyFileVersion("1.10.0")]

UnitsNet.nuspec

Lines changed: 45 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,45 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
3-
<metadata>
4-
<id>UnitsNet</id>
5-
<version>1.9.0</version>
6-
<title>Units.NET</title>
7-
<authors>Andreas Gullberg Larsen</authors>
8-
<owners>Initial Force AS</owners>
9-
<licenseUrl>https://github.com/InitialForce/UnitsNet/blob/master/LICENSE</licenseUrl>
10-
<projectUrl>https://github.com/InitialForce/UnitsNet</projectUrl>
11-
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12-
<description>Units.NET gives you all the common units of measurement and the conversions between them. It is light-weight, unit tested and supports PCL.</description>
13-
<summary>Simplifies working with units of measurement.</summary>
14-
<releaseNotes>v1.9: Improved precision of PoundForce unit (thanks Jim Selikoff).
15-
16-
v1.8: Added angle units of measurement (thanks @gpetrou). Added tests and fixed bug in NewtonPerSquareCentimeter and NewtonPerSquareMillimeter.
17-
18-
v1.7: Added imperial and US units for volume and area.
19-
20-
v1.6: Added area units. Fixed exception in TryConvert for volume units.
21-
22-
v1.5: Added volume units of measurement (thanks @vitasimek). Added missing operator overloads.
23-
24-
v1.4: Added ShortTon and LongTon mass units (thanks Cameron MacFarland). Added TryConvert methods.
25-
26-
v1.3: Added pressure units. Added dynamic conversion via UnitConverter and UnitValue
27-
28-
v1.2: Added force, torque, pressure, mass, voltage, length and length2d units of measurement.
29-
</releaseNotes>
30-
<copyright>Copyright © 2007-2013 Initial Force AS</copyright>
31-
<language>en-US</language>
32-
<tags>unit units measurement si metric imperial abbreviation abbreviations convert parse c# .net immutable</tags>
33-
</metadata>
34-
<files>
35-
<file src="bin\UnitsNet.pcl.dll" target="lib\portable-win+net40+sl40+wp+Xbox40\UnitsNet.pcl.dll" />
36-
<file src="bin\UnitsNet.net35.dll" target="lib\net35-client\UnitsNet.net35.dll" />
37-
<file src="bin\UnitsNet.sl4.dll" target="lib\sl4\UnitsNet.sl4.dll" />
38-
<file src="bin\UnitsNet.netcore45\UnitsNet.netcore45.dll" target="lib\netcore45\UnitsNet.netcore45.dll" />
39-
</files>
40-
</package>
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
3+
<metadata>
4+
<id>UnitsNet</id>
5+
<version>1.10.0</version>
6+
<title>Units.NET</title>
7+
<authors>Andreas Gullberg Larsen</authors>
8+
<owners>Initial Force AS</owners>
9+
<licenseUrl>https://github.com/InitialForce/UnitsNet/blob/master/LICENSE</licenseUrl>
10+
<projectUrl>https://github.com/InitialForce/UnitsNet</projectUrl>
11+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12+
<description>Units.NET gives you all the common units of measurement and the conversions between them. It is light-weight, unit tested and supports PCL.</description>
13+
<summary>Simplifies working with units of measurement.</summary>
14+
<releaseNotes>v1.10: Added missing localization to units for US English and Russian cultures (thanks George Zhuikov).
15+
Added RotationalSpeed and Flow unit classes (thanks George Zhuikov).
16+
Added mils and microinches length units (thanks Georgios).
17+
Refactored to generate unit classes with T4 templates, a lot less work to add new units.
18+
19+
v1.9: Improved precision of PoundForce unit (thanks Jim Selikoff).
20+
21+
v1.8: Added angle units of measurement (thanks Georgios). Added tests and fixed bug in NewtonPerSquareCentimeter and NewtonPerSquareMillimeter.
22+
23+
v1.7: Added imperial and US units for volume and area.
24+
25+
v1.6: Added area units. Fixed exception in TryConvert for volume units.
26+
27+
v1.5: Added volume units of measurement (thanks @vitasimek). Added missing operator overloads.
28+
29+
v1.4: Added ShortTon and LongTon mass units (thanks Cameron MacFarland). Added TryConvert methods.
30+
31+
v1.3: Added pressure units. Added dynamic conversion via UnitConverter and UnitValue
32+
33+
v1.2: Added force, torque, pressure, mass, voltage, length and length2d units of measurement.
34+
</releaseNotes>
35+
<copyright>Copyright © 2007-2013 Initial Force AS</copyright>
36+
<language>en-US</language>
37+
<tags>unit units measurement si metric imperial abbreviation abbreviations convert parse c# .net immutable</tags>
38+
</metadata>
39+
<files>
40+
<file src="bin\UnitsNet.pcl.dll" target="lib\portable-win+net40+sl40+wp+Xbox40\UnitsNet.pcl.dll" />
41+
<file src="bin\UnitsNet.net35.dll" target="lib\net35-client\UnitsNet.net35.dll" />
42+
<file src="bin\UnitsNet.sl4.dll" target="lib\sl4\UnitsNet.sl4.dll" />
43+
<file src="bin\UnitsNet.netcore45\UnitsNet.netcore45.dll" target="lib\netcore45\UnitsNet.netcore45.dll" />
44+
</files>
45+
</package>

0 commit comments

Comments
 (0)