Rakefile in travis-1.6.6.travis.417.4 vs Rakefile in travis-1.6.6.travis.419.4

- old
+ new

@@ -39,9 +39,14 @@ readme = File.read('README.md').b readme.gsub! /^(\s+\$ travis version\n\s+).*$/, "\\1#{Travis::VERSION}" readme.gsub! /(gem install travis -v )\S+/, "\\1#{Travis::VERSION}" readme.gsub! /^\*\*#{Regexp.escape(Travis::VERSION)}\*\* \(not yet released?\)\n/i, "**#{Travis::VERSION}** (#{Time.now.strftime("%B %-d, %Y")})\n" + + Travis::CLI.commands.each do |c| + readme.sub! /^( \* \[\`#{c.command_name}\`\]\(##{c.command_name}\)).*$/, "\\1 - #{c.description}" + end + File.write('README.md', readme) end task :completion do require 'travis/tools/completion' \ No newline at end of file