From 2c8ba4965badbd4d94f3fe23a2fea3081392b6be Mon Sep 17 00:00:00 2001 From: tuexss Date: Thu, 26 Mar 2015 21:47:17 +0100 Subject: [PATCH] Fix method name typo --- bin/github_changelog_generator | 2 +- lib/github_changelog_generator.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/github_changelog_generator b/bin/github_changelog_generator index 3777a19..f7c751f 100755 --- a/bin/github_changelog_generator +++ b/bin/github_changelog_generator @@ -1,4 +1,4 @@ #! /usr/bin/env ruby require_relative '../lib/github_changelog_generator' -GitHubChangelogGenerator::ChangelogGenerator.new.compund_changelog +GitHubChangelogGenerator::ChangelogGenerator.new.compound_changelog diff --git a/lib/github_changelog_generator.rb b/lib/github_changelog_generator.rb index e571e78..e1689a4 100755 --- a/lib/github_changelog_generator.rb +++ b/lib/github_changelog_generator.rb @@ -176,7 +176,7 @@ module GitHubChangelogGenerator filtered_pull_requests end - def compund_changelog + def compound_changelog log = "# Change Log\n\n" if @options[:unreleased_only] @@ -635,6 +635,6 @@ module GitHubChangelogGenerator end if __FILE__ == $PROGRAM_NAME - GitHubChangelogGenerator::ChangelogGenerator.new.compund_changelog + GitHubChangelogGenerator::ChangelogGenerator.new.compound_changelog end end