Fix comparing pull requests between tags by merged_at field instead of actual_date field

This commit is contained in:
Alissa Bonas 2015-08-23 18:08:07 +03:00
parent 4aa9c61520
commit 30b7f39c40

View File

@ -115,7 +115,7 @@ module GitHubChangelogGenerator
#
# @return [Array] filtered issues and pull requests
def filter_issues_for_tags(newer_tag, older_tag)
filtered_pull_requests = delete_by_time(@pull_requests, :actual_date, older_tag, newer_tag)
filtered_pull_requests = delete_by_time(@pull_requests, :merged_at, older_tag, newer_tag)
filtered_issues = delete_by_time(@issues, :actual_date, older_tag, newer_tag)
newer_tag_name = newer_tag.nil? ? nil : newer_tag["name"]