Skip to content

Commit

Permalink
Add build status, fix test support, add extra release note
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranayub committed May 23, 2017
1 parent ae8ce45 commit 1fc40cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions GiantBomb.Api.Tests/Support/Token.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@ namespace GiantBomb.Api.Tests.Support
{
public static class Token
{
const string FilePath = @".\Support\api_token.private";
// relative to bin/Configuration
const string FilePath = @"..\..\Support\api_token.private";

/// <summary>
/// Gets the API token for tests. Located in api_token.private folder in same folder or GIANTBOMB_API_TOKEN environment variable (CI).
/// </summary>
/// <returns></returns>
public static string GetToken()
{
if (File.Exists(FilePath))
string basePath = AppDomain.CurrentDomain.BaseDirectory;

if (File.Exists(Path.Combine(basePath, FilePath)))
{
return File.ReadAllText(FilePath);
}
Expand Down
3 changes: 3 additions & 0 deletions GiantBomb.Api/readme.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
GiantBomb C#
------------

[![Build status](https://ci.appveyor.com/api/projects/status/hh268dmpd08qfjqt?svg=true)](https://ci.appveyor.com/project/kamranayub/giantbomb-csharp)

## 2.3.0

- **BUG:** Fixed deserialization exception for single resource errors (e.g. Object Not Found)
- **BUG:** Fixed synchronous API to not deadlock
- Removed fastJSON DLL since it wasn't *actually* being used
- Upgrade to RestSharp 105.2.3
- Added .NET 4.6 and 4.6.1 support

## 2.2.1

Expand Down

0 comments on commit 1fc40cb

Please sign in to comment.