fixed 1 bug to work with octokit api

This commit is contained in:
Andrew Waage 2016-06-03 11:13:26 -07:00 committed by Olle Jonsson
parent cb6286fb83
commit b82aa64eee

View File

@ -146,7 +146,7 @@ module GitHubChangelogGenerator
# @return [Array] filtered tags according :between_tags option # @return [Array] filtered tags according :between_tags option
def filter_between_tags(all_tags) def filter_between_tags(all_tags)
filtered_tags = all_tags filtered_tags = all_tags
tag_names = filtered_tags.map(&:name) tag_names = filtered_tags.map{ |ft| ft['name'] }
if @options[:between_tags] if @options[:between_tags]
@options[:between_tags].each do |tag| @options[:between_tags].each do |tag|