Rails: March 2007 Archives

toggle.el

| | Comments (0)

I just released toggle.el, allowing you to quickly open corresponding files via a dynamic mapping.

From the description:

This package provides the ability to quickly open a corresponding file for the current buffer by using a bi-directional mapping of regular expression pairs. You can select a mapping style from toggle-mapping-styles using the toggle-style function or set your default style via the toggle-mapping-style variable.

There are 3 different mapping styles in this version: zentest, rails, and ruby. Feel free to submit more and I'll incorporate them.

Example Mapping (ruby style):

blah.rb <-> test_blah.rb
lib/blah.rb <-> test/test_blah.rb

Get it (and other packages I'll release soon) via: http://www.emacswiki.org/cgi-bin/wiki/RyanDavis

Allows you to lay out HTML using ASCII art. Stolen from psykotic's code posted to reddit: http://programming.reddit.com/info/k9dx/comments

SYNOPSIS:

require 'box_layout'

page_template = <<-END
----------
|        |
----------
| |    | |
| |    | |
| |    | |
| |    | |
----------
|        |
----------
END

layout = BoxLayout.html page_template
puts "<title>cute</title>"
puts "<style>* { border: 1px solid black }</style>"
puts layout % %w[header left body right footer].map {|s| "**#{s}**" }

1.0.0 / 2007-03-24

  • 1 major enhancement
    • Birthday!

ImageScience is a clean and happy Ruby library that generates thumbnails -- and kicks the living crap out of RMagick. Oh, and it doesn't leak memory like a sieve. :) For more information including build steps, see http://seattlerb.rubyforge.org/

Changes:

1.1.1 / 2007-03-08

  • 5 minor enhancements:
    • Added error handler that raises with information about what went wrong.
    • thumbnail is now pure ruby, everything now uses resize.
    • Produces cleaner JPEG files, with a small cost to file size/speed.
    • resize now uses Catmull-Rom spline filter for better quality.
    • resize copies existing ICC Profile to thumbnail, producing better color.
    • ICC Profile NOT copied for PNG as it seems to be buggy.
  • 1 bug fix:
    • Fixed rdoc

About this Archive

This page is a archive of entries in the Rails category from March 2007.

Rails: February 2007 is the previous archive.

Rails: April 2007 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.1