[BioRuby-cvs] bioruby/lib/bio/shell/rails/vendor/plugins/generators/bioruby/templates bioruby.rhtml, 1.2, 1.3 bioruby_controller.rb, 1.4, 1.5 bioruby_helper.rb, 1.2, 1.3

Katayama Toshiaki k at dev.open-bio.org
Thu Jun 28 10:56:27 UTC 2007


Update of /home/repository/bioruby/bioruby/lib/bio/shell/rails/vendor/plugins/generators/bioruby/templates
In directory dev.open-bio.org:/tmp/cvs-serv2813/templates

Modified Files:
	bioruby.rhtml bioruby_controller.rb bioruby_helper.rb 
Log Message:
* added bioruby logo
* if rails is started with ~/.bioruby, show Dir.pwd as a project dir
  instead of ".bioruby" (meaningless, although), otherwise show
  savedir as a "Project" directory in the left pane.


Index: bioruby_helper.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/rails/vendor/plugins/generators/bioruby/templates/bioruby_helper.rb,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** bioruby_helper.rb	16 Jan 2007 05:47:05 -0000	1.2
--- bioruby_helper.rb	28 Jun 2007 10:56:25 -0000	1.3
***************
*** 4,8 ****
  
    def project_workdir
!     Bio::Shell.cache[:workdir]
    end
  
--- 4,12 ----
  
    def project_workdir
!     if Bio::Shell.cache[:savedir].match(/\.bioruby$/)
!       Bio::Shell.cache[:workdir]
!     else
!       Bio::Shell.cache[:savedir]
!     end
    end
  

Index: bioruby.rhtml
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/rails/vendor/plugins/generators/bioruby/templates/bioruby.rhtml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** bioruby.rhtml	26 Jun 2007 08:39:47 -0000	1.2
--- bioruby.rhtml	28 Jun 2007 10:56:25 -0000	1.3
***************
*** 8,17 ****
  
  <div id="side">
!  <img src="/images/bioruby.png"><br>
  
   <div class="title">Project</div>
!   <ul>
!    <li><%= link_to "#{File.basename(project_workdir)}", "file://#{project_workdir}" %>
!   </ul>
  
   <div class="title">Functions</div>
--- 8,18 ----
  
  <div id="side">
!  <img src="/images/bioruby.png">
!  <br>
  
   <div class="title">Project</div>
!  <ul>
!   <li><%= link_to "#{File.basename(project_workdir)}", "file://#{project_workdir}" %>
!  </ul>
  
   <div class="title">Functions</div>
***************
*** 24,27 ****
--- 25,31 ----
   <div class="title">Local variables</div>
   <%= render :partial => "variables" %>
+ 
+  <br>
+  <a href="http://bioruby.org/"><img src="/images/bioruby.gif" border=0></a>
  </div>
  
***************
*** 30,33 ****
--- 34,38 ----
  
  <h1>BioRuby shell on Rails</h1>
+ 
  <%= yield %>
  

Index: bioruby_controller.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/rails/vendor/plugins/generators/bioruby/templates/bioruby_controller.rb,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** bioruby_controller.rb	28 Mar 2007 09:21:45 -0000	1.4
--- bioruby_controller.rb	28 Jun 2007 10:56:25 -0000	1.5
***************
*** 9,12 ****
--- 9,13 ----
      ActiveSupport::CoreExtensions::String::Conversions,
      ActiveSupport::CoreExtensions::String::Access,
+     ActiveSupport::CoreExtensions::String::Unicode,
      ActiveSupport::CoreExtensions::Numeric::Bytes,
      ActiveSupport::CoreExtensions::Numeric::Time,




More information about the bioruby-cvs mailing list