[前][次][番号順一覧][スレッド一覧]

ruby-changes:38558

From: usa <ko1@a...>
Date: Mon, 25 May 2015 22:38:20 +0900 (JST)
Subject: [ruby-changes:38558] usa:r50639 (trunk): * tool/redmine-backporter.rb (rel): after the relations is changed,

usa	2015-05-25 22:38:00 +0900 (Mon, 25 May 2015)

  New Revision: 50639

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50639

  Log:
    * tool/redmine-backporter.rb (rel): after the relations is changed,
      @changesets is no longer right.

  Modified files:
    trunk/ChangeLog
    trunk/tool/redmine-backporter.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50638)
+++ ChangeLog	(revision 50639)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon May 25 22:35:58 2015  NAKAMURA Usaku  <usa@r...>
+
+	* tool/redmine-backporter.rb (rel): after the relations is changed,
+	  @changesets is no longer right.
+
 Mon May 25 11:27:14 2015  NARUSE, Yui  <naruse@r...>
 
 	* win32/win32.c (setup_overlapped): seek to the file end only when
Index: tool/redmine-backporter.rb
===================================================================
--- tool/redmine-backporter.rb	(revision 50638)
+++ tool/redmine-backporter.rb	(revision 50639)
@@ -408,6 +408,9 @@ eom https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L408
       res = http.post(uri.path, "issue_id=#@issue",
                      'X-Redmine-API-Key' => REDMINE_API_KEY)
       puts res.body
+      class << @changesets
+        remove_method(:validated) rescue nil
+      end
     end
   },
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]