mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
avoid a bug of the latest redmine
even if call ?include=changesets, latest redmine doesn't return changesets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b9ffe579da
commit
429537310e
1 changed files with 17 additions and 13 deletions
|
@ -276,20 +276,24 @@ eom
|
||||||
#end
|
#end
|
||||||
sio.puts i["description"]
|
sio.puts i["description"]
|
||||||
sio.puts
|
sio.puts
|
||||||
sio.puts "= changesets"
|
if i["changesets"]
|
||||||
@changesets = []
|
sio.puts "= changesets"
|
||||||
i["changesets"].each do |x|
|
@changesets = []
|
||||||
@changesets << x["revision"]
|
i["changesets"].each do |x|
|
||||||
sio.puts "== #{x["revision"]} #{x["committed_on"]} #{x["user"]["name"] rescue nil}"
|
@changesets << x["revision"]
|
||||||
sio.puts x["comments"]
|
sio.puts "== #{x["revision"]} #{x["committed_on"]} #{x["user"]["name"] rescue nil}"
|
||||||
end
|
sio.puts x["comments"]
|
||||||
sio.puts "= journals"
|
end
|
||||||
i["journals"].each do |x|
|
end
|
||||||
sio.puts "== #{x["user"]["name"]} (#{x["created_on"]})"
|
if i["journals"] && !i["journals"].empty?
|
||||||
x["details"].each do |y|
|
sio.puts "= journals"
|
||||||
sio.puts JSON(y)
|
i["journals"].each do |x|
|
||||||
|
sio.puts "== #{x["user"]["name"]} (#{x["created_on"]})"
|
||||||
|
x["details"].each do |y|
|
||||||
|
sio.puts JSON(y)
|
||||||
|
end
|
||||||
|
sio.puts x["notes"]
|
||||||
end
|
end
|
||||||
sio.puts x["notes"]
|
|
||||||
end
|
end
|
||||||
more(sio)
|
more(sio)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue