Skip to content

Commit

Permalink
Use new .all_issues method.
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Coury <felipe.coury@gmail.com>
  • Loading branch information
runpaint authored and fcoury committed Apr 22, 2009
1 parent fcc70cf commit 1b902d3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions contrib/backup.rb
Expand Up @@ -79,11 +79,9 @@ def issues
@user.repositories.each do |repo|
puts "#{repo.name}"
Dir.chdir(repo.name) do
%w{open closed}.each do | state|
repo.issues(state).each do |issue|
puts "* #{issue.title} [#{state}]"
issue.to_yaml_file(issue.number)
end
repo.all_issues.each do |issue|
puts "* #{issue.title} [#{issue.state}]"
issue.to_yaml_file(issue.number)
end
end
end
Expand Down

0 comments on commit 1b902d3

Please sign in to comment.