diff --git a/.travis.yml b/.travis.yml index a73a717ecf..9745633faa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,10 @@ matrix: - os: linux dist: trusty sudo: required - dotnet: 1.0.1 + dotnet: 1.0.4 - os: osx osx_image: xcode8 - dotnet: 1.0.1 + dotnet: 1.0.4 before_script: - if test "$TRAVIS_OS_NAME" == "osx"; then export FrameworkPathOverride=/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/4.5/; else export FrameworkPathOverride=/usr/lib/mono/4.5/; fi diff --git a/Octokit/Models/Response/Milestone.cs b/Octokit/Models/Response/Milestone.cs index 727592b08a..2d82cf5328 100644 --- a/Octokit/Models/Response/Milestone.cs +++ b/Octokit/Models/Response/Milestone.cs @@ -14,7 +14,7 @@ public Milestone(int number) Number = number; } - public Milestone(string url, string htmlUrl, int number, ItemState state, string title, string description, User creator, int openIssues, int closedIssues, DateTimeOffset createdAt, DateTimeOffset? dueOn, DateTimeOffset? closedAt) + public Milestone(string url, string htmlUrl, int number, ItemState state, string title, string description, User creator, int openIssues, int closedIssues, DateTimeOffset createdAt, DateTimeOffset? dueOn, DateTimeOffset? closedAt, DateTimeOffset? updatedAt) { Url = url; HtmlUrl = htmlUrl; @@ -28,6 +28,7 @@ public Milestone(string url, string htmlUrl, int number, ItemState state, string CreatedAt = createdAt; DueOn = dueOn; ClosedAt = closedAt; + UpdatedAt = updatedAt; } /// @@ -51,7 +52,7 @@ public Milestone(string url, string htmlUrl, int number, ItemState state, string public StringEnum State { get; protected set; } /// - /// Title of the milestone + /// Title of the milestone. /// public string Title { get; protected set; } @@ -76,7 +77,7 @@ public Milestone(string url, string htmlUrl, int number, ItemState state, string public int ClosedIssues { get; protected set; } /// - /// The date this milestone was created + /// The date this milestone was created. /// public DateTimeOffset CreatedAt { get; protected set; } @@ -90,6 +91,11 @@ public Milestone(string url, string htmlUrl, int number, ItemState state, string /// public DateTimeOffset? ClosedAt { get; protected set; } + /// + /// The date, if any, when this milestone was updated. + /// + public DateTimeOffset? UpdatedAt { get; protected set; } + internal string DebuggerDisplay { get { return string.Format(CultureInfo.InvariantCulture, "Title {0} ", Title); }