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

ruby-changes:34696

From: ko1 <ko1@a...>
Date: Fri, 11 Jul 2014 11:13:16 +0900 (JST)
Subject: [ruby-changes:34696] ko1:r46779 (trunk): * benchmark/prepare_so_k_nucleotide.rb: use require_relative.

ko1	2014-07-11 11:13:09 +0900 (Fri, 11 Jul 2014)

  New Revision: 46779

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

  Log:
    * benchmark/prepare_so_k_nucleotide.rb: use require_relative.
    * benchmark/prepare_so_reverse_complement.rb: ditto.

  Modified files:
    trunk/ChangeLog
    trunk/benchmark/prepare_so_k_nucleotide.rb
    trunk/benchmark/prepare_so_reverse_complement.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 46778)
+++ ChangeLog	(revision 46779)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jul 11 11:11:50 2014  Koichi Sasada  <ko1@a...>
+
+	* benchmark/prepare_so_k_nucleotide.rb: use require_relative.
+
+	* benchmark/prepare_so_reverse_complement.rb: ditto.
+
 Fri Jul 11 10:09:03 2014  Nobuyoshi Nakada  <nobu@r...>
 
 	* pack.c (encodes): fix buffer overrun by tail_lf.  Thanks to
Index: benchmark/prepare_so_reverse_complement.rb
===================================================================
--- benchmark/prepare_so_reverse_complement.rb	(revision 46778)
+++ benchmark/prepare_so_reverse_complement.rb	(revision 46779)
@@ -1,2 +1,2 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/prepare_so_reverse_complement.rb#L1
-require File.join(File.dirname(__FILE__), 'make_fasta_output')
+require_relative 'make_fasta_output'
 prepare_fasta_output(2_500_000)
Index: benchmark/prepare_so_k_nucleotide.rb
===================================================================
--- benchmark/prepare_so_k_nucleotide.rb	(revision 46778)
+++ benchmark/prepare_so_k_nucleotide.rb	(revision 46779)
@@ -1,2 +1,2 @@ https://github.com/ruby/ruby/blob/trunk/benchmark/prepare_so_k_nucleotide.rb#L1
-require File.join(File.dirname(__FILE__), 'make_fasta_output')
+require_relative 'make_fasta_output'
 prepare_fasta_output(100_000)

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

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