Fix #235
This commit is contained in:
parent
c67cbb31f2
commit
0ff48a3dba
|
@ -14,14 +14,15 @@ module GitHubChangelogGenerator
|
||||||
def initialize(options = {})
|
def initialize(options = {})
|
||||||
@options = options
|
@options = options
|
||||||
|
|
||||||
|
@logger = Logger.new(STDOUT)
|
||||||
|
@logger.formatter = proc do |_severity, _datetime, _progname, msg|
|
||||||
|
"#{msg}\n"
|
||||||
|
|
||||||
@user = @options[:user]
|
@user = @options[:user]
|
||||||
@project = @options[:project]
|
@project = @options[:project]
|
||||||
@github_token = fetch_github_token
|
@github_token = fetch_github_token
|
||||||
@tag_times_hash = {}
|
@tag_times_hash = {}
|
||||||
|
|
||||||
@logger = Logger.new(STDOUT)
|
|
||||||
@logger.formatter = proc do |_severity, _datetime, _progname, msg|
|
|
||||||
"#{msg}\n"
|
|
||||||
end
|
end
|
||||||
github_options = { per_page: PER_PAGE_NUMBER }
|
github_options = { per_page: PER_PAGE_NUMBER }
|
||||||
github_options[:oauth_token] = @github_token unless @github_token.nil?
|
github_options[:oauth_token] = @github_token unless @github_token.nil?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user