ruby-changes:37270
From: usa <ko1@a...>
Date: Tue, 20 Jan 2015 13:23:56 +0900 (JST)
Subject: [ruby-changes:37270] usa:r49351 (trunk): * tool/redmine-backporter.rb: fix bugs.
usa 2015-01-20 13:23:43 +0900 (Tue, 20 Jan 2015) New Revision: 49351 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49351 Log: * tool/redmine-backporter.rb: fix bugs. Modified files: trunk/tool/redmine-backporter.rb Index: tool/redmine-backporter.rb =================================================================== --- tool/redmine-backporter.rb (revision 49350) +++ tool/redmine-backporter.rb (revision 49351) @@ -11,6 +11,7 @@ require 'pp' https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L11 begin require 'readline' rescue LoadError + module Readline; end else include Readline end @@ -278,7 +279,7 @@ while true https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L279 end case l when /\Als(?: +(\d+))?\z/ - uri = URI(REDMINE_BASE+'/projects/ruby-trunk/issues.json?'+URI.encode_www_form(@query.dup.merge('page' => ($1 ? $1.to_i : 1))) + uri = URI(REDMINE_BASE+'/projects/ruby-trunk/issues.json?'+URI.encode_www_form(@query.dup.merge('page' => ($1 ? $1.to_i : 1)))) # puts uri res = JSON(uri.read(openuri_options)) @issues = issues = res["issues"] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/