BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

Reporting tool Ruport releases version 1.2

by Werner Schuster on Aug 30, 2007 |
Ruport is an extensible reporting system written and extensible with Ruby. It provides help with the input, with support for a wide range of sources such as CSV or ActiveRecord models and more. The output side is supported by formatters for CSV, HTML or PDF.

Ruport has been gaining in popularity. Projects in need of professional looking reports, for instance, Jeremy McAnally's Google Summer of Code project dcov, use Ruport for formatting their results.

 A new release, version 1.2, was just published and it comes with a useful set of improvements. New features in 1.2:
  • Data::Feeder allows for custom transformations and filters on data
  • Grouping#sigma added (Thanks Dave Nelson)
  • Formatter::PDF#draw_text! will draw text at an absolute position, ignoring margins
  • Formatter::Template provides a simple templating system for renderer options
Users of Ruport interested in upgrading should watch out for the list of breaking changes in 1.2 to see if they need to update their code:
  • acts_as_reportable now uses real association names
  • Data::Table constructors now yield Data::Feeder objects instead of Data::Table
  • append_hash, append_array, and append_record removed from Data::Table
  • Renderer::Hooks changed signature for renderable_data() to renderable_data(format)
  • Formatter::PDF#draw_text no longer changes the position of the drawing cursor
  • Ruport 0.7 style stage building syntax removed
  • ·
An ongoing effort is the Ruport Book, a free book complementing  the existing Ruport API documentation and demonstrating how to use Ruport. For more projects around Ruport, such as Rails support, see http://code.rubyreports.org/.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT