formatting
This commit is contained in:
parent
936b191566
commit
807bacd95a
|
@ -60,7 +60,7 @@ class ChangelogGenerator
|
||||||
tag1 = @options[:tag1]
|
tag1 = @options[:tag1]
|
||||||
tag2 = @options[:tag2]
|
tag2 = @options[:tag2]
|
||||||
tags_strings = []
|
tags_strings = []
|
||||||
self.all_tags.each { |x| tags_strings.push(x['name'])}
|
self.all_tags.each { |x| tags_strings.push(x['name']) }
|
||||||
|
|
||||||
if tags_strings.include?(tag1)
|
if tags_strings.include?(tag1)
|
||||||
if tags_strings.include?(tag2)
|
if tags_strings.include?(tag2)
|
||||||
|
@ -165,7 +165,7 @@ class ChangelogGenerator
|
||||||
|
|
||||||
issues = Array.new(@issues)
|
issues = Array.new(@issues)
|
||||||
|
|
||||||
issues.delete_if{ |issue|
|
issues.delete_if { |issue|
|
||||||
if issue[:closed_at]
|
if issue[:closed_at]
|
||||||
t = Time.parse(issue[:closed_at]).utc
|
t = Time.parse(issue[:closed_at]).utc
|
||||||
tag_is_later_since = t > since_tag_time
|
tag_is_later_since = t > since_tag_time
|
||||||
|
@ -201,7 +201,7 @@ class ChangelogGenerator
|
||||||
|
|
||||||
issues = Array.new(@issues)
|
issues = Array.new(@issues)
|
||||||
|
|
||||||
issues.delete_if{ |issue|
|
issues.delete_if { |issue|
|
||||||
if issue[:closed_at]
|
if issue[:closed_at]
|
||||||
t = Time.parse(issue[:closed_at]).utc
|
t = Time.parse(issue[:closed_at]).utc
|
||||||
t > tag_time
|
t > tag_time
|
||||||
|
|
Loading…
Reference in New Issue
Block a user