Skip to content

Commit

Permalink
Fixes #1 adds subway lines 4, 5 and 6. Cleanup unused using
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesemacfly committed Jun 12, 2016
1 parent b4fa867 commit 734c123
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 58 deletions.
5 changes: 0 additions & 5 deletions MTAServiceStatus/Configs/AutoMapperConfig.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
using AutoMapper;
using MTAServiceStatus.Models;
using MTAServiceStatus.Models.Api;
using MTAServiceStatus.Resolvers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MTAServiceStatus.Configs
{
Expand Down
2 changes: 1 addition & 1 deletion MTAServiceStatus/MTAServiceStatus.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<projectUrl>https://github.com/cheesemacfly/MTAServiceStatus</projectUrl>
<licenseUrl>https://github.com/cheesemacfly/MTAServiceStatus/blob/master/LICENSE</licenseUrl>
<description>$description$</description>
<releaseNotes>SUSPENDED is now a status.</releaseNotes>
<releaseNotes>Subway lines 4, 5 and 6 are now included</releaseNotes>
<tags>MTA NYC New York City Subway</tags>
</metadata>
</package>
8 changes: 2 additions & 6 deletions MTAServiceStatus/MTASubwayStatus.cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
using AutoMapper;
using MTAServiceStatus.Models;
using MTAServiceStatus.Models;
using MTAServiceStatus.Repositories;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MTAServiceStatus
{
public class MTASubwayStatus
{
private readonly string[] SubwayNames = new[] { "1", "2", "3", "A", "C", "E", "B", "D", "F", "M", "G", "J", "Z", "L", "N", "Q", "R", "S", "SIR" };
private readonly string[] SubwayNames = new[] { "1", "2", "3", "4", "5", "6", "A", "C", "E", "B", "D", "F", "M", "G", "J", "Z", "L", "N", "Q", "R", "S", "SIR" };
private readonly MTARepository _repo;

/// <summary>
Expand Down
4 changes: 0 additions & 4 deletions MTAServiceStatus/Models/Api/Line.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MTAServiceStatus.Models.Api
{
Expand Down
3 changes: 0 additions & 3 deletions MTAServiceStatus/Models/Api/Service.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MTAServiceStatus.Models.Api
{
Expand Down
8 changes: 1 addition & 7 deletions MTAServiceStatus/Models/ServiceStatus.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MTAServiceStatus.Models
namespace MTAServiceStatus.Models
{
public enum ServiceStatus
{
Expand Down
8 changes: 1 addition & 7 deletions MTAServiceStatus/Models/SubwayLine.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MTAServiceStatus.Models
namespace MTAServiceStatus.Models
{
public class SubwayLine
{
Expand Down
3 changes: 1 addition & 2 deletions MTAServiceStatus/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down Expand Up @@ -32,4 +31,4 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.2.1.1")]
[assembly: AssemblyVersion("0.3.0.0")]
8 changes: 4 additions & 4 deletions MTAServiceStatus/Repositories/MTARepository.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using MTAServiceStatus.Models.Api;
using AutoMapper;
using MTAServiceStatus.Configs;
using MTAServiceStatus.Extensions;
using MTAServiceStatus.Models.Api;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using System.Xml.Linq;
using System.Xml.Serialization;
using MTAServiceStatus.Extensions;
using AutoMapper;
using MTAServiceStatus.Configs;

namespace MTAServiceStatus.Repositories
{
Expand Down
4 changes: 0 additions & 4 deletions MTAServiceStatus/Resolvers/LineDateTimeResolver.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
using AutoMapper;
using MTAServiceStatus.Models.Api;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MTAServiceStatus.Resolvers
{
Expand Down
4 changes: 0 additions & 4 deletions MTAServiceStatus/Resolvers/ServiceStatusResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
using MTAServiceStatus.Models;
using MTAServiceStatus.Models.Api;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MTAServiceStatus.Resolvers
{
Expand Down
5 changes: 0 additions & 5 deletions Tests/MTARepositoryTests.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using MTAServiceStatus.Repositories;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tests
{
Expand Down
5 changes: 0 additions & 5 deletions Tests/MTASubwayStatusTests.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
using MTAServiceStatus;
using MTAServiceStatus.Repositories;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tests
{
Expand Down
1 change: 0 additions & 1 deletion Tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down

0 comments on commit 734c123

Please sign in to comment.