summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-09-21 23:39:12 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-09-21 23:39:12 -0400
commitcddcd9a8cfde182e843f8b2224d00ba742596c76 (patch)
tree5b389133ceb0506a651a8da0116bed9fe0b1bad0
parent9791de306c22c744732219dadfd97b7dd556a5b2 (diff)
downloadSMAPI-cddcd9a8cfde182e843f8b2224d00ba742596c76.tar.gz
SMAPI-cddcd9a8cfde182e843f8b2224d00ba742596c76.tar.bz2
SMAPI-cddcd9a8cfde182e843f8b2224d00ba742596c76.zip
standardise project name (#336)
-rw-r--r--src/StardewModdingAPI.Web/Controllers/CheckController.cs (renamed from Dewdrop/Controllers/CheckController.cs)10
-rw-r--r--src/StardewModdingAPI.Web/Models/IModModel.cs (renamed from Dewdrop/Models/IModModel.cs)2
-rw-r--r--src/StardewModdingAPI.Web/Models/ModGenericModel.cs (renamed from Dewdrop/Models/ModGenericModel.cs)2
-rw-r--r--src/StardewModdingAPI.Web/Models/NexusResponseModel.cs (renamed from Dewdrop/Models/NexusResponseModel.cs)4
-rw-r--r--src/StardewModdingAPI.Web/Program.cs (renamed from Dewdrop/Program.cs)2
-rw-r--r--src/StardewModdingAPI.Web/Properties/launchSettings.json (renamed from Dewdrop/Properties/launchSettings.json)0
-rw-r--r--src/StardewModdingAPI.Web/StardewModdingAPI.Web.csproj (renamed from Dewdrop/Dewdrop.csproj)0
-rw-r--r--src/StardewModdingAPI.Web/Startup.cs (renamed from Dewdrop/Startup.cs)2
-rw-r--r--src/StardewModdingAPI.Web/appsettings.Development.json (renamed from Dewdrop/appsettings.Development.json)0
-rw-r--r--src/StardewModdingAPI.Web/appsettings.json (renamed from Dewdrop/appsettings.json)0
-rw-r--r--src/StardewModdingAPI.sln2
11 files changed, 12 insertions, 12 deletions
diff --git a/Dewdrop/Controllers/CheckController.cs b/src/StardewModdingAPI.Web/Controllers/CheckController.cs
index def2edbc..8ab4611b 100644
--- a/Dewdrop/Controllers/CheckController.cs
+++ b/src/StardewModdingAPI.Web/Controllers/CheckController.cs
@@ -1,12 +1,12 @@
using System;
+using System.Collections.Generic;
using System.Net.Http;
-using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
-using System.Collections.Generic;
-using Dewdrop.Models;
+using StardewModdingAPI.Web.Models;
-namespace Dewdrop.Controllers
+namespace StardewModdingAPI.Web.Controllers
{
/// <summary>Provides an API to perform mod update checks.</summary>
[Produces("application/json")]
@@ -63,4 +63,4 @@ namespace Dewdrop.Controllers
}
}
}
-} \ No newline at end of file
+}
diff --git a/Dewdrop/Models/IModModel.cs b/src/StardewModdingAPI.Web/Models/IModModel.cs
index f1b09f8a..2eadcaec 100644
--- a/Dewdrop/Models/IModModel.cs
+++ b/src/StardewModdingAPI.Web/Models/IModModel.cs
@@ -1,4 +1,4 @@
-namespace Dewdrop.Models
+namespace StardewModdingAPI.Web.Models
{
/// <summary>A mod metadata response which provides a method to extract generic info.</summary>
internal interface IModModel
diff --git a/Dewdrop/Models/ModGenericModel.cs b/src/StardewModdingAPI.Web/Models/ModGenericModel.cs
index 0da04295..208af416 100644
--- a/Dewdrop/Models/ModGenericModel.cs
+++ b/src/StardewModdingAPI.Web/Models/ModGenericModel.cs
@@ -1,4 +1,4 @@
-namespace Dewdrop.Models
+namespace StardewModdingAPI.Web.Models
{
/// <summary>Generic metadata about a mod.</summary>
public class ModGenericModel
diff --git a/Dewdrop/Models/NexusResponseModel.cs b/src/StardewModdingAPI.Web/Models/NexusResponseModel.cs
index fa663910..ae5c691c 100644
--- a/Dewdrop/Models/NexusResponseModel.cs
+++ b/src/StardewModdingAPI.Web/Models/NexusResponseModel.cs
@@ -1,6 +1,6 @@
-using Newtonsoft.Json;
+using Newtonsoft.Json;
-namespace Dewdrop.Models
+namespace StardewModdingAPI.Web.Models
{
/// <summary>A mod metadata response from Nexus Mods.</summary>
public class NexusResponseModel : IModModel
diff --git a/Dewdrop/Program.cs b/src/StardewModdingAPI.Web/Program.cs
index 0e831a23..5e258acc 100644
--- a/Dewdrop/Program.cs
+++ b/src/StardewModdingAPI.Web/Program.cs
@@ -1,7 +1,7 @@
using System.IO;
using Microsoft.AspNetCore.Hosting;
-namespace Dewdrop
+namespace StardewModdingAPI.Web
{
/// <summary>The main app entry point.</summary>
public class Program
diff --git a/Dewdrop/Properties/launchSettings.json b/src/StardewModdingAPI.Web/Properties/launchSettings.json
index c15134dc..c15134dc 100644
--- a/Dewdrop/Properties/launchSettings.json
+++ b/src/StardewModdingAPI.Web/Properties/launchSettings.json
diff --git a/Dewdrop/Dewdrop.csproj b/src/StardewModdingAPI.Web/StardewModdingAPI.Web.csproj
index fa1d88eb..fa1d88eb 100644
--- a/Dewdrop/Dewdrop.csproj
+++ b/src/StardewModdingAPI.Web/StardewModdingAPI.Web.csproj
diff --git a/Dewdrop/Startup.cs b/src/StardewModdingAPI.Web/Startup.cs
index d1618037..c7a5e8fe 100644
--- a/Dewdrop/Startup.cs
+++ b/src/StardewModdingAPI.Web/Startup.cs
@@ -4,7 +4,7 @@ using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
-namespace Dewdrop
+namespace StardewModdingAPI.Web
{
/// <summary>The web app startup configuration.</summary>
public class Startup
diff --git a/Dewdrop/appsettings.Development.json b/src/StardewModdingAPI.Web/appsettings.Development.json
index fa8ce71a..fa8ce71a 100644
--- a/Dewdrop/appsettings.Development.json
+++ b/src/StardewModdingAPI.Web/appsettings.Development.json
diff --git a/Dewdrop/appsettings.json b/src/StardewModdingAPI.Web/appsettings.json
index 5fff67ba..5fff67ba 100644
--- a/Dewdrop/appsettings.json
+++ b/src/StardewModdingAPI.Web/appsettings.json
diff --git a/src/StardewModdingAPI.sln b/src/StardewModdingAPI.sln
index 3cf129c0..031e2d5f 100644
--- a/src/StardewModdingAPI.sln
+++ b/src/StardewModdingAPI.sln
@@ -29,7 +29,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StardewModdingAPI.Installer
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StardewModdingAPI.Tests", "StardewModdingAPI.Tests\StardewModdingAPI.Tests.csproj", "{36CCB19E-92EB-48C7-9615-98EEFD45109B}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dewdrop", "..\Dewdrop\Dewdrop.csproj", "{A308F679-51A3-4006-92D5-BAEC7EBD01A1}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StardewModdingAPI.Web", "StardewModdingAPI.Web\StardewModdingAPI.Web.csproj", "{A308F679-51A3-4006-92D5-BAEC7EBD01A1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution