update readme and bump gem

This commit is contained in:
Petr Korolev 2014-11-07 13:52:23 +02:00
parent 4237b751a0
commit 8457b764bf
4 changed files with 6 additions and 4 deletions

View File

@ -27,7 +27,7 @@ See `github_changelog_generator --help` for detailed usage.
-v, --[no-]verbose Run verbosely
-l, --last-changes Generate log between only last 2 tags
-f, --date-format [FORMAT] Date format. Default is %d/%m/%y
-o, --output [FORMAT] Output file. Default is CHANGELOG.md
-o, --output [NAME] Output file. Default is CHANGELOG.md
## Examples:
### This changelog: [ActionSheetPicker-3.0/CHANGELOG.md](https://github.com/skywinder/ActionSheetPicker-3.0/blob/master/CHANGELOG.md)

View File

@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "github_changelog_generator"
s.version = "0.0.2"
s.version = "0.1.0"
s.default_executable = "github_changelog_generator"
s.required_ruby_version = '>= 1.9.3'

View File

@ -220,5 +220,7 @@ class ChangelogGenerator
end
if __FILE__ == $0
ChangelogGenerator.new.compund_changelog
changelog_generator = ChangelogGenerator.new
# changelog_generator.compund_changelog
end

View File

@ -29,7 +29,7 @@ class Parser
opts.on('-f', '--date-format [FORMAT]', 'Date format. Default is %d/%m/%y') do |last|
options[:format] = last
end
opts.on('-o', '--output [FORMAT]', 'Output file. Default is CHANGELOG.md') do |last|
opts.on('-o', '--output [NAME]', 'Output file. Default is CHANGELOG.md') do |last|
options[:output] = last
end
}