Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .rdoc_options
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
page_dir: doc
main_page: README.md
title: Documentation for OptionParser
op_dir: rdoc
1 change: 0 additions & 1 deletion optparse.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Gem::Specification.new do |spec|

spec.files = Dir["{doc,lib,misc}/**/{*,.document}"] +
%w[README.md ChangeLog COPYING .document .rdoc_options]
spec.rdoc_options = ["--main=README.md", "--op=rdoc", "--page-dir=doc"]
spec.bindir = "exe"
spec.executables = []
spec.require_paths = ["lib"]
Expand Down
2 changes: 1 addition & 1 deletion rakelib/changelogs.rake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ end
tags = IO.popen(%w[git tag -l v[0-9]*]).grep(/v(.*)/) {$1}
unless tags.empty?
tags.sort_by! {|tag| tag.scan(/\d+/).map(&:to_i)}
tags.pop if IO.popen(%W[git log --format=%H v#{tags.last}..HEAD --], &:read).empty?
tags.pop if IO.popen(%W[git rev-list --right-only --count v#{tags.last}..HEAD --], &:read).to_i == 0
tags.inject(nil) do |prev, tag|
task("logs/ChangeLog-#{tag}") {|t| changelog[t.name, tag, prev]}
tag
Expand Down