[BioRuby-cvs] bioruby/lib/bio/io/flatfile index.rb, 1.10, 1.11 indexer.rb, 1.18, 1.19 bdb.rb, 1.6, 1.7

Naohisa Goto ngoto at pub.open-bio.org
Fri Sep 9 10:35:28 EDT 2005


Update of /home/repository/bioruby/bioruby/lib/bio/io/flatfile
In directory pub.open-bio.org:/tmp/cvs-serv21060/lib/bio/io/flatfile

Modified Files:
	index.rb indexer.rb bdb.rb 
Log Message:
Fixed Bio::FlatFileIndex autoload problem


Index: bdb.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/flatfile/bdb.rb,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** bdb.rb	8 Sep 2005 01:22:12 -0000	1.6
--- bdb.rb	9 Sep 2005 14:35:25 -0000	1.7
***************
*** 26,29 ****
--- 26,32 ----
  end 
  
+ require 'bio/io/flatfile/index'
+ require 'bio/io/flatfile/indexer'
+ 
  module Bio
    class FlatFileIndex

Index: index.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/flatfile/index.rb,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** index.rb	8 Sep 2005 01:22:12 -0000	1.10
--- index.rb	9 Sep 2005 14:35:25 -0000	1.11
***************
*** 21,27 ****
  # 
  
- 
  module Bio
    class FlatFileIndex
      MAGIC_FLAT = 'flat/1'
      MAGIC_BDB  = 'BerkeleyDB/1'
--- 21,32 ----
  # 
  
  module Bio
    class FlatFileIndex
+ 
+     autoload :Indexer,    'bio/io/flatfile/indexer'
+     autoload :BDBdefault, 'bio/io/flatfile/bdb'
+     autoload :BDBwrapper, 'bio/io/flatfile/bdb'
+     autoload :BDB_1,      'bio/io/flatfile/bdb'
+ 
      MAGIC_FLAT = 'flat/1'
      MAGIC_BDB  = 'BerkeleyDB/1'

Index: indexer.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/flatfile/indexer.rb,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** indexer.rb	8 Sep 2005 01:22:12 -0000	1.18
--- indexer.rb	9 Sep 2005 14:35:25 -0000	1.19
***************
*** 21,24 ****
--- 21,26 ----
  # 
  
+ require 'bio/io/flatfile/index'
+ 
  module Bio
    class FlatFileIndex



More information about the bioruby-cvs mailing list