Skip to content

Commit

Permalink
Merge pull request #2 from ClydeDz/dev/v0.0.4
Browse files Browse the repository at this point in the history
Merge Dev/v0.0.4
  • Loading branch information
ClydeDz authored Feb 6, 2019
2 parents 05fdbbc + a5dfe14 commit a03861b
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 5 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
# Horoscope NuGet
A .NET library for zodiac signs. Get details on each zodiac sign, pass a date and know which zodiac sign it falls in or get a list of all zodiac signs. Now includes Chinese zodiac signs and elements!

[![NuGet](https://img.shields.io/nuget/v/Horoscope.svg)](https://www.nuget.org/packages/Horoscope/)
[![NuGet](https://img.shields.io/nuget/v/horoscope.svg?colorB=green&label=NuGet&logo=nuget&style=flat)](https://www.nuget.org/packages/Horoscope/)
[![NuGet Downloads](https://img.shields.io/nuget/dt/horoscope.svg?colorB=%23004880&label=NuGet%20Downloads&logo=nuget&style=flat)](https://www.nuget.org/packages/Horoscope/)
[![Build status](https://dev.azure.com/horoscope-nuget/Horoscope%20NuGet/_apis/build/status/Master%20branch%20build)](https://dev.azure.com/horoscope-nuget/Horoscope%20NuGet/_build/latest?definitionId=1)
[![Test status](https://img.shields.io/azure-devops/tests/horoscope-nuget/Horoscope%20NuGet/1/master.svg?label=Tests&logo=Azure%20DevOps&style=flat)](https://dev.azure.com/horoscope-nuget/Horoscope%20NuGet/_build/latest?definitionId=1)

## How to use
#### Installation
Library can be installed with [Nuget](https://www.nuget.org/packages/Horoscope/).
Library can either be directly downloaded from [Nuget.org](https://www.nuget.org/packages/Horoscope/), OR installed via the [NuGet Package Manager UI](https://docs.microsoft.com/en-us/nuget/tools/package-manager-ui#finding-and-installing-a-package) or via the [Package Manager Console](https://docs.microsoft.com/en-us/nuget/tools/package-manager-console) if you're using Visual Studio.

Command to install Horoscope NuGet via the Package Manager Console UI in Visual Studio shown below.
```PowerShell
PM> Install-Package Horoscope
```

#### Usage
Include the namespace in your program.
```C#
Expand Down
25 changes: 25 additions & 0 deletions Src/Horoscope.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>Horoscope</id>
<version>0.0.4</version>
<title>Horoscope</title>
<authors>Clyde D'Souza</authors>
<owners>Clyde D'Souza</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
<projectUrl>https://github.com/ClydeDz/horoscope-nuget/wiki</projectUrl>
<repository url="https://github.com/ClydeDz/horoscope-nuget" />
<iconUrl>https://raw.githubusercontent.com/ClydeDz/horoscope-nuget/master/Icon.png</iconUrl>
<description>A .NET library for zodiac signs. Get details on each zodiac sign, pass a date and know which zodiac sign it falls in or get a list of all zodiac signs. Now includes Chinese zodiac signs and elements!</description>
<summary>A .NET library for zodiac signs. Get details on each zodiac sign, pass a date and know which zodiac sign it falls in or get a list of all zodiac signs.</summary>
<releaseNotes>Now includes Chinese zodiac signs, fixed elements (i.e., wood, fire, earth, metal, water) and yin yang associated with each Chinese zodiac sign.

More release notes here: https://github.com/ClydeDz/horoscope-nuget/wiki#release-notes </releaseNotes>
<copyright>Copyright (c) 2018 Clyde D'Souza</copyright>
<tags>horoscope zodiac development library zodiac-signs chinese-zodiac chinese-horoscope yinyang chinese-elements yin-yang</tags>
<dependencies>
<group targetFramework=".NETStandard2.0" />
</dependencies>
</metadata>
</package>
2 changes: 2 additions & 0 deletions Src/Horoscope.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Horoscope.Tests", "Horoscop
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution items", "Solution items", "{DF07DAC1-0499-4D6D-8B51-36F4A623C99D}"
ProjectSection(SolutionItems) = preProject
Horoscope.nuspec = Horoscope.nuspec
..\Icon.png = ..\Icon.png
..\LICENSE = ..\LICENSE
LICENSE.md = LICENSE.md
..\README.md = ..\README.md
EndProjectSection
EndProject
Expand Down
2 changes: 1 addition & 1 deletion Src/Horoscope/ChineseZodiac.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Horoscope
{
/// <summary>
/// Contains all methods pertaining to Chinese zodiac signs.
/// Contains all public methods pertaining to Chinese zodiac signs.
/// </summary>
public class ChineseZodiac
{
Expand Down
13 changes: 13 additions & 0 deletions Src/Horoscope/Horoscope.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ More release notes here: https://github.com/ClydeDz/horoscope-nuget/wiki#release
<AssemblyVersion>0.0.0.3</AssemblyVersion>
<FileVersion>0.0.0.3</FileVersion>
<PackageIconUrl>https://raw.githubusercontent.com/ClydeDz/horoscope-nuget/master/Icon.png</PackageIconUrl>
<Product>Horoscope</Product>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<OutputPath>bin\Release\lib\</OutputPath>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<OutputPath>bin\Debug\lib\</OutputPath>
</PropertyGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy /Y &quot;$(SolutionDir)Horoscope.nuspec&quot; &quot;$(ProjectDir)bin\$(ConfigurationName)\Horoscope.nuspec&quot;&#xD;&#xA;copy /Y &quot;$(SolutionDir)LICENSE.md&quot; &quot;$(ProjectDir)bin\$(ConfigurationName)\LICENSE.md&quot;" />
</Target>

</Project>
2 changes: 1 addition & 1 deletion Src/Horoscope/Zodiac.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Horoscope
{
/// <summary>
/// Contains all methods pertaining to zodiac signs.
/// Contains all public methods pertaining to zodiac signs.
/// </summary>
public class Zodiac
{
Expand Down
20 changes: 20 additions & 0 deletions Src/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2018 Clyde D'Souza

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.

0 comments on commit a03861b

Please sign in to comment.