eigenclass logo
MAIN  Index  Search  Changes  PageRank  Login

rcodetools 0.8.0

rcodetools is a collection of Ruby code manipulation tools. It includes xmpfilter and editor-independent Ruby development helper tools, as well as emacs and vim interfaces.

update.png rcodetools 0.8.1 fixes a problem with xmpfilter and Ruby 1.8.7p71 on Windows.

rubikitch has been working on rcodetools for a long time, and has done all the work in this release (and nearly all of rcodetools too, at this point). All I've done is fail to apply his patches in a timely manner and delay the release, for which I apologize to him and to all rcodetools users.

Tools included in rcodetools

rcodetools comprises:

  • xmpfilter: Automagic Test::Unit assertions/RSpec expectations and code
  • annotations
  • rct-complete: Accurate method/class/constant etc. completions
  • rct-doc: Document browsing and code navigator
  • rct-meth-args: Precise method info (meta-prog. aware) and TAGS generation
  • rct-fork: Pre-load heavy library(Rails etc) and speed up
  • rct-complete/rct-doc (server)
  • rct-fork-client: Run Ruby programs from state the rct-fork server has
  • ruby-toggle-file: Toggle implementation file and test file
  • rbtest: Embedded Test::Unit for small scripts

Changelog

Here are the user-visible changes in rcodetools since 0.7.0.

  • Support Ruby 1.9!
  • xmpfilter: multi-line annotation
  • xmpfilter --expectations generates expectations by Jay Fields
  • anything-rcodetools.el: new elisp
  • --tmpfile, --tempfile: use temporary file instead of open3 on un*x
  • rcodetools.el: smarter xmpfilter-command
  • rcodetools.el: rct-fork interface
  • rct-fork: require 'rubygems' initially
  • rct-fork: more stable


rct-meth-args and rails - Peter (2008-08-06 (Mit) 08:17:36)

On a debian system with ruby 1.8.7 (2008-05-31 patchlevel 0) [i686-linux] and Rails 2.1.0 typing

 $ rails lala
 $ cd lala
 $ rct-meth-args config/environment.rb

ends with

 ...
 Builder::XmlBase#tag! (...)
 Builder::XmlBase#method_missing (sym, *args, &block)
 Segmentation fault

Is this my fault?

Any hints using rcodetools with Rails?

Name:
Comment:
TextFormattingRules
Preview:

xml crash - cris (2008-08-06 (Wed) 12:53:19)

You should remove debian libxml-ruby package and install it via gems. If you have installed any c-based gems on ruby 1.8.6 and upgraded to 1.8.7, you could also have this issues.

Migration between 1.8.x should be done from scratch.

Name:
Comment:
TextFormattingRules
Preview:

Use this form to create a new top-level comment; for direct replies to existing comments, use the text entries you'll find below.

Name:
Subject:

TextFormattingRules
Preview:
Last modified:2008/08/04 19:02:06
Keyword(s):[blog] [ruby] [rcodetools] [release]
References: