rubocop autofixes
This commit is contained in:
parent
e27fe24a76
commit
b7980c8900
|
@ -133,9 +133,6 @@ module GitHubChangelogGenerator
|
||||||
filtered_pull_requests
|
filtered_pull_requests
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# This method fetch missing required attributes for pull requests
|
# This method fetch missing required attributes for pull requests
|
||||||
# :merged_at - is a date, when issue PR was merged.
|
# :merged_at - is a date, when issue PR was merged.
|
||||||
# More correct to use this date, not closed date.
|
# More correct to use this date, not closed date.
|
||||||
|
@ -158,7 +155,6 @@ module GitHubChangelogGenerator
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
# Include issues with labels, specified in :include_labels
|
# Include issues with labels, specified in :include_labels
|
||||||
# @param [Array] issues to filter
|
# @param [Array] issues to filter
|
||||||
# @return [Array] filtered array of issues
|
# @return [Array] filtered array of issues
|
||||||
|
|
|
@ -74,7 +74,6 @@ module GitHubChangelogGenerator
|
||||||
tags
|
tags
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
# This method fetch all closed issues and separate them to pull requests and pure issues
|
# This method fetch all closed issues and separate them to pull requests and pure issues
|
||||||
# (pull request is kind of issue in term of GitHub)
|
# (pull request is kind of issue in term of GitHub)
|
||||||
# @return [Tuple] with issues and pull requests
|
# @return [Tuple] with issues and pull requests
|
||||||
|
@ -163,8 +162,6 @@ module GitHubChangelogGenerator
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Try to find tag date in local hash.
|
# Try to find tag date in local hash.
|
||||||
# Otherwise fFetch tag time and put it to local hash file.
|
# Otherwise fFetch tag time and put it to local hash file.
|
||||||
# @param [String] tag_name name of the tag
|
# @param [String] tag_name name of the tag
|
||||||
|
@ -190,6 +187,5 @@ module GitHubChangelogGenerator
|
||||||
def fetch_commit(event)
|
def fetch_commit(event)
|
||||||
@github.git_data.commits.get @options[:user], @options[:project], event[:commit_id]
|
@github.git_data.commits.get @options[:user], @options[:project], event[:commit_id]
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user