lib/octokit/client/stats.rb in octokit-4.0.1 vs lib/octokit/client/stats.rb in octokit-4.1.0
- old
+ new
@@ -21,10 +21,10 @@
# Get the last year of commit activity data
#
# @param repo [Integer, String, Hash, Repository] A GitHub repository
# @return [Array<Sawyer::Resource>] The last year of commit activity grouped by
# week. The days array is a group of commits per day, starting on Sunday.
- # @see https://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity-data
+ # @see https://developer.github.com/v3/repos/statistics/#commit-activity
# @example Get commit activity for octokit
# @client.commit_activity_stats('octokit/octokit.rb')
def commit_activity_stats(repo, options = {})
get_stats(repo, "commit_activity", options)
end