Make 'change log' a single word (#579)

This commit is contained in:
Saugat Acharya 2017-12-14 02:51:00 +05:45 committed by Olle Jonsson
parent d5f82c5994
commit d9cf6ffd94
15 changed files with 48 additions and 48 deletions

View File

@ -1,4 +1,4 @@
# Change Log # Changelog
## [v1.15.0-rc](https://github.com/skywinder/github-changelog-generator/tree/v1.15.0-rc) (2017-10-29) ## [v1.15.0-rc](https://github.com/skywinder/github-changelog-generator/tree/v1.15.0-rc) (2017-10-29)
[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/v1.15.0.pre.beta...v1.15.0-rc) [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/v1.15.0.pre.beta...v1.15.0-rc)
@ -591,7 +591,7 @@
**Implemented enhancements:** **Implemented enhancements:**
- Parsing of existing Change Log file [\#212](https://github.com/skywinder/github-changelog-generator/issues/212) - Parsing of existing Changelog file [\#212](https://github.com/skywinder/github-changelog-generator/issues/212)
- Warn users about 0 tags in repo. [\#208](https://github.com/skywinder/github-changelog-generator/issues/208) - Warn users about 0 tags in repo. [\#208](https://github.com/skywinder/github-changelog-generator/issues/208)
- Cleanup [\#220](https://github.com/skywinder/github-changelog-generator/pull/220) ([tuexss](https://github.com/tuexss)) - Cleanup [\#220](https://github.com/skywinder/github-changelog-generator/pull/220) ([tuexss](https://github.com/tuexss))
@ -855,4 +855,4 @@
## [0.0.1](https://github.com/skywinder/github-changelog-generator/tree/0.0.1) (2014-11-06) ## [0.0.1](https://github.com/skywinder/github-changelog-generator/tree/0.0.1) (2014-11-06)
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*

View File

@ -22,7 +22,7 @@ module GitHubChangelogGenerator
log += File.read(options[:base]) if File.file?(options[:base]) log += File.read(options[:base]) if File.file?(options[:base])
credit_line = "\n\n\\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*" credit_line = "\n\n\\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*"
log.gsub!(credit_line, "") # Remove old credit lines log.gsub!(credit_line, "") # Remove old credit lines
log += credit_line log += credit_line

View File

@ -68,7 +68,7 @@ module GitHubChangelogGenerator
opts.on("--issues-label [LABEL]", "Setup custom label for closed-issues section. Default is \"**Closed issues:**\"") do |v| opts.on("--issues-label [LABEL]", "Setup custom label for closed-issues section. Default is \"**Closed issues:**\"") do |v|
options[:issue_prefix] = v options[:issue_prefix] = v
end end
opts.on("--header-label [LABEL]", "Setup custom header label. Default is \"# Change Log\"") do |v| opts.on("--header-label [LABEL]", "Setup custom header label. Default is \"# Changelog\"") do |v|
options[:header] = v options[:header] = v
end end
opts.on("--front-matter [JSON]", "Add YAML front matter. Formatted as JSON because it's easier to add on the command line") do |v| opts.on("--front-matter [JSON]", "Add YAML front matter. Formatted as JSON because it's easier to add on the command line") do |v|
@ -214,7 +214,7 @@ module GitHubChangelogGenerator
simple_list: false, simple_list: false,
ssl_ca_file: nil, ssl_ca_file: nil,
verbose: true, verbose: true,
header: "# Change Log", header: "# Changelog",
merge_prefix: "**Merged pull requests:**", merge_prefix: "**Merged pull requests:**",
issue_prefix: "**Closed issues:**", issue_prefix: "**Closed issues:**",
bug_prefix: "**Fixed bugs:**", bug_prefix: "**Fixed bugs:**",

View File

@ -70,7 +70,7 @@ Setup custom label for closed\-issues section\. Default is "\fBClosed issues:\fR
\-\-header\-label [LABEL] \-\-header\-label [LABEL]
. .
.P .P
Setup custom header label\. Default is "# Change Log" Setup custom header label\. Default is "# Changelog"
. .
.P .P
\-\-front\-matter [JSON] \-\-front\-matter [JSON]

View File

@ -122,7 +122,7 @@
<p> --header-label [LABEL]</p> <p> --header-label [LABEL]</p>
<p> Setup custom header label. Default is "# Change Log"</p> <p> Setup custom header label. Default is "# Changelog"</p>
<p> --front-matter [JSON]</p> <p> --front-matter [JSON]</p>

View File

@ -122,7 +122,7 @@
<p> --header-label [LABEL]</p> <p> --header-label [LABEL]</p>
<p> Setup custom header label. Default is "# Change Log"</p> <p> Setup custom header label. Default is "# Changelog"</p>
<p> --pr-label [LABEL]</p> <p> --pr-label [LABEL]</p>

View File

@ -49,7 +49,7 @@ Automatically generate change log from your tags, issues, labels and pull reques
--header-label [LABEL] --header-label [LABEL]
Setup custom header label. Default is "# Change Log" Setup custom header label. Default is "# Changelog"
--front-matter [JSON] --front-matter [JSON]

View File

@ -1,4 +1,4 @@
# Change Log # Changelog
## [1.3.10](https://github.com/skywinder/Github-Changelog-Generator/tree/1.3.10) (2015-03-18) ## [1.3.10](https://github.com/skywinder/Github-Changelog-Generator/tree/1.3.10) (2015-03-18)
@ -302,4 +302,4 @@
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*

View File

@ -51,7 +51,7 @@ describe GitHubChangelogGenerator::Reader do
it { is_expected.to be_empty } it { is_expected.to be_empty }
end end
context "when file has only the header" do context "when file has only the header" do
subject { @reader.parse("# Change Log") } subject { @reader.parse("# Changelog") }
it { is_expected.to be_an(Array) } it { is_expected.to be_an(Array) }
it { is_expected.to be_empty } it { is_expected.to be_empty }
end end