diff --git a/osu.Desktop.Deploy/Program.cs b/osu.Desktop.Deploy/Program.cs
index 644987ce5a..929483b428 100644
--- a/osu.Desktop.Deploy/Program.cs
+++ b/osu.Desktop.Deploy/Program.cs
@@ -17,8 +17,8 @@ namespace osu.Desktop.Deploy
{
internal static class Program
{
- private const string nuget_path = @"packages\NuGet.CommandLine.4.1.0\tools\NuGet.exe";
- private const string squirrel_path = @"packages\squirrel.windows.1.7.5\tools\Squirrel.exe";
+ private const string nuget_path = @"packages\NuGet.CommandLine.4.3.0\tools\NuGet.exe";
+ private const string squirrel_path = @"packages\squirrel.windows.1.7.8\tools\Squirrel.exe";
private const string msbuild_path = @"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe";
public static string StagingFolder = ConfigurationManager.AppSettings["StagingFolder"];
diff --git a/osu.Desktop.Tests/Visual/TestCaseUserProfile.cs b/osu.Desktop.Tests/Visual/TestCaseUserProfile.cs
index e5955441dc..a94177c1b6 100644
--- a/osu.Desktop.Tests/Visual/TestCaseUserProfile.cs
+++ b/osu.Desktop.Tests/Visual/TestCaseUserProfile.cs
@@ -33,13 +33,10 @@ namespace osu.Desktop.Tests.Visual
Rank = 2148,
PP = 4567.89m
},
- AllRankHistories = new User.RankHistories
+ RankHistory = new User.RankHistoryData
{
- Osu = new User.RankHistory
- {
- Mode = @"osu",
- Data = Enumerable.Range(2345,45).Concat(Enumerable.Range(2109,40)).ToArray()
- }
+ Mode = @"osu",
+ Data = Enumerable.Range(2345, 45).Concat(Enumerable.Range(2109, 40)).ToArray()
}
}, false));
AddStep("Show ppy", () => profile.ShowUser(new User
diff --git a/osu.Desktop/osu.Desktop.csproj b/osu.Desktop/osu.Desktop.csproj
index 5eebad47ef..ef57265a06 100644
--- a/osu.Desktop/osu.Desktop.csproj
+++ b/osu.Desktop/osu.Desktop.csproj
@@ -69,7 +69,8 @@
none
true
bin\Release\
- CuttingEdge NoUpdate
+
+
prompt
4
true
@@ -104,6 +105,7 @@
prompt
AllRules.ruleset
--tests
+ false
diff --git a/osu.Game/Overlays/Profile/RankChart.cs b/osu.Game/Overlays/Profile/RankChart.cs
index 416bcedfea..2e2286098a 100644
--- a/osu.Game/Overlays/Profile/RankChart.cs
+++ b/osu.Game/Overlays/Profile/RankChart.cs
@@ -70,7 +70,7 @@ namespace osu.Game.Overlays.Profile
}
};
- ranks = user.AllRankHistories?.Osu?.Data ?? new[] { user.Statistics.Rank };
+ ranks = user.RankHistory?.Data ?? new[] { user.Statistics.Rank };
}
private void updateRankTexts()
diff --git a/osu.Game/Users/User.cs b/osu.Game/Users/User.cs
index 37b426ac2c..2adb809334 100644
--- a/osu.Game/Users/User.cs
+++ b/osu.Game/Users/User.cs
@@ -122,25 +122,10 @@ namespace osu.Game.Users
public int Available;
}
- [JsonProperty(@"defaultStatistics")]
+ [JsonProperty(@"statistics")]
public UserStatistics Statistics;
- public class RankHistories
- {
- [JsonProperty(@"osu")]
- public RankHistory Osu;
-
- [JsonProperty(@"taiko")]
- public RankHistory Taiko;
-
- [JsonProperty(@"fruits")]
- public RankHistory Fruits;
-
- [JsonProperty(@"mania")]
- public RankHistory Mania;
- }
-
- public class RankHistory
+ public class RankHistoryData
{
[JsonProperty(@"mode")]
public string Mode;
@@ -149,7 +134,7 @@ namespace osu.Game.Users
public int[] Data;
}
- [JsonProperty(@"allRankHistories")]
- public RankHistories AllRankHistories;
+ [JsonProperty(@"rankHistory")]
+ public RankHistoryData RankHistory;
}
}