Skip to content

Commit

Permalink
EveCrest release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
ezet committed May 4, 2016
1 parent 5a44369 commit 190de48
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 deletions.
1 change: 0 additions & 1 deletion EveLib.Core/Config.cs
Expand Up @@ -43,7 +43,6 @@ public static class Config {
}
}


/// <summary>
/// Gets or sets the image path.
/// </summary>
Expand Down
13 changes: 4 additions & 9 deletions EveLib.EveCrest/EveCrest.cs
Expand Up @@ -54,12 +54,7 @@ public class EveCrest {
/// <summary>
/// The default URI used to access the public CREST API. This can be overridded by setting the Host.
/// </summary>
public const string DefaultPublicHost = "https://public-crest.eveonline.com/";

/// <summary>
/// The default URI used to access the authenticated CREST API. This can be overridded by setting the Host.
/// </summary>
public const string DefaultAuthHost = "https://crest-tq.eveonline.com/";
public const string DefaultHost = "https://crest-tq.eveonline.com/";

/// <summary>
/// The obsolete message
Expand Down Expand Up @@ -89,7 +84,7 @@ public class EveCrest {
RequestHandler = new CachedCrestRequestHandler(new JsonSerializer("yyyy.MM.dd HH:mm:ss"));
ImageRequestHandler = new ImageRequestHandler();
ApiPath = "/";
Host = DefaultPublicHost;
Host = DefaultHost;
Mode = CrestMode.Public;
EnableRootCache = true;
EnableAutomaticPaging = true;
Expand All @@ -102,7 +97,7 @@ public class EveCrest {
public EveCrest(string accessToken)
: this() {
AccessToken = accessToken;
Host = DefaultAuthHost;
Host = DefaultHost;
Mode = CrestMode.Authenticated;
EveAuth = new EveAuth();
EnableAutomaticTokenRefresh = false;
Expand All @@ -118,7 +113,7 @@ public EveCrest(string refreshToken, string encodedKey)
RefreshToken = refreshToken;
AccessToken = "";
EncodedKey = encodedKey;
Host = DefaultAuthHost;
Host = DefaultHost;
Mode = CrestMode.Authenticated;
EveAuth = new EveAuth();
EnableAutomaticTokenRefresh = true;
Expand Down
2 changes: 1 addition & 1 deletion EveLib.EveCrest/EveLib.EveCrest.nuspec
Expand Up @@ -12,7 +12,7 @@
<!-- <iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl> -->
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<releaseNotes>https://github.com/ezet/evelib/releases/tag/EveCrest_v3.4.1</releaseNotes>
<releaseNotes>https://github.com/ezet/evelib/releases/tag/EveCrest_v3.4.2</releaseNotes>
<tags>EveLib EveCrest API EveOnline Eve Online Crest</tags>
<dependencies>
<dependency id="Newtonsoft.Json" version="6.0.0" />
Expand Down
4 changes: 2 additions & 2 deletions EveLib.EveCrest/Properties/AssemblyInfo.cs
Expand Up @@ -36,6 +36,6 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("3.4.1.0")]
[assembly: AssemblyFileVersion("3.4.1.0")]
[assembly: AssemblyVersion("3.4.2.0")]
[assembly: AssemblyFileVersion("3.4.2.0")]
[assembly: NeutralResourcesLanguage("en")]
2 changes: 1 addition & 1 deletion EveLib.Tests/EveCrest_Authed_Tests.cs
Expand Up @@ -42,7 +42,7 @@ public class EveCrest_Authed_Tests {
[TestMethod]
public async Task GetRoot() {
var root = await crest.GetRootAsync();
Assert.AreEqual(EveCrest.DefaultAuthHost, root.CrestEndpoint.Uri);
Assert.AreEqual(EveCrest.DefaultHost, root.CrestEndpoint.Uri);
}

[TestMethod]
Expand Down

0 comments on commit 190de48

Please sign in to comment.