From 14d7c29808e635d6ea9a60e79d94fb93a335389a Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Tue, 15 Sep 2015 00:35:07 +0200 Subject: [PATCH] Rake task: Be able to set false value in config --- lib/github_changelog_generator/task.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/github_changelog_generator/task.rb b/lib/github_changelog_generator/task.rb index 1e43a40..7ce2ecf 100644 --- a/lib/github_changelog_generator/task.rb +++ b/lib/github_changelog_generator/task.rb @@ -51,7 +51,7 @@ module GitHubChangelogGenerator OPTIONS.each do |o| v = instance_variable_get("@#{o}") - options[o.to_sym] = v if v + options[o.to_sym] = v unless v.nil? end generator = Generator.new options