[BioRuby-cvs] bioruby/bin bioruby,1.6,1.7

Katayama Toshiaki k at pub.open-bio.org
Thu Nov 24 14:30:09 EST 2005


Update of /home/repository/bioruby/bioruby/bin
In directory pub.open-bio.org:/tmp/cvs-serv21764/bin

Modified Files:
	bioruby 
Log Message:
* global variable $bioruby_config and $bioruby_cache are removed (changed to
  use Bio::Shell::Core::Config & Cache, which have accessor methods like
  Bio::Shell.config(param, value), Bio::Shell.cache(param, value))


Index: bioruby
===================================================================
RCS file: /home/repository/bioruby/bioruby/bin/bioruby,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** bioruby	14 Nov 2005 02:01:53 -0000	1.6
--- bioruby	24 Nov 2005 19:30:07 -0000	1.7
***************
*** 48,54 ****
  begin
    require 'irb/completion'
!   $bioruby_cache[:READLINE] = true
  rescue LoadError
!   $bioruby_cache[:READLINE] = false
  end
  
--- 48,54 ----
  begin
    require 'irb/completion'
!   Bio::Shell.cache(:readline, true)
  rescue LoadError
!   Bio::Shell.cache(:readline, false)
  end
  
***************
*** 72,81 ****
    :RETURN   => "  ==> %s\n"
  }
! if $bioruby_config[:COLOR]
    IRB.conf[:PROMPT_MODE] = :BIORUBY_COLOR
  else
    IRB.conf[:PROMPT_MODE] = :BIORUBY
  end
! IRB.conf[:ECHO] = $bioruby_config[:ECHO] || false
  
  # irb/input-method.rb >= v1.5 (not in 1.8.2)
--- 72,81 ----
    :RETURN   => "  ==> %s\n"
  }
! if Bio::Shell.config(:color)
    IRB.conf[:PROMPT_MODE] = :BIORUBY_COLOR
  else
    IRB.conf[:PROMPT_MODE] = :BIORUBY
  end
! IRB.conf[:ECHO] = Bio::Shell.config(:echo) || false
  
  # irb/input-method.rb >= v1.5 (not in 1.8.2)



More information about the bioruby-cvs mailing list