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