Newsgroups: comp.lang.ruby
From: Gregory Brown <gregory.t.br...@gmail.com>
Date: Tue, 29 Nov 2005 12:49:48 +0900
Local: Mon, Nov 28 2005 10:49 pm
Subject: [ANN] Ruport 0.2.9: Taggable DataSets, FasterCSV integration, and Pretty Printing, Oh my!
Hello again,
Seeing as it's been more than 3 days since the last Ruport release, I So... on with one of those release announcements we all love so much.... Skip to the bottom for download information and documentation / examples / etc === What is Ruport? Ruport is both a report generation / formatting framework and library. === Release Notes This will actually be the last stride towards a major release for at [ MY SPECIFIC BEG FOR HELP IS FOR SOMEONE TO WRITE A TUTORIAL! ] === Short Example this one liner would output the table foo as html to STDOUT using @report = query("SELECT * FROM foo").to_html === Long Example This code is from the example package and shows off a number of [ code ] } # This is doing the actual query and the logic of pruning based on tag query("SELECT * FROM address_book") do |data| data.apply_tags(tags) ghosts_in_ne = data.select { |row| row.tags.include?(:new_england) and row.tags.include?(:ghosts) }.map { |r| r["name"] } # anything that gets stuffed in @report will automatically be outputted and # This will automatically become the title of emailed reports. # Yep... there it is. The mailing system. Complex... isn't it? # But if you wanted something other than the contents of @report... [/code] === What's new in this Release: A ton! You can now make use of DataSet tagging (as shown above), set See the Changelog for details: === Requirements Ruport relies on Ruby DBI for all of it's DBMS interaction. It is Also, because Ruport needs to deal with very large datasets === Get it on *nix: sudo gem install ruport -t windows: gem install ruport -t === More Resources Example Package: (Highly Recommended!) http://rubyforge.org/frs/?group_id=856&release_id=3656 Source: http://rubyforge.org/frs/?group_id=856&release_id=3657 Documentation: CVS info (Current module: dev-ruport) News: === Thanks! You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||