The second release of TentSteak is out and available as a gem on rubyforge ("gem install tent_steak"). This version introduces a handful of new form helpers, a couple method renames, editable HTML tables, and some application bootstrappers for kickstarting Camping and initializing ActiveRecord. It''s still in active development, and I''d very much appreciate suggestions, feature requests, and even code review. On tap for the next release is: a thorough test suite; a bit of housecleaning to better modularize the now-huge tent_steak.rb file into smaller bits; and a very simple authentication add-on. Plus whatever else I happen to need for my own Camping projects. Enjoy! ---- CHANGES: * HTML Forms * Added new form field helpers: input_text, input_password, input_submit, input_hidden, and input_checkbox. * Renamed: * file_field => input_file * select_field => select_menu * HTML Tables * Added support for regexp''s in tablerow option :rowclass * New support for editable table columns * Renamed auto_table option :database_columns to :methods * auto_table used to expand row objects into cell arrays; now defers expansion to tablerow(:methods) * auto_table fixed to better handle non-AR row objects * Can pass a block to grouping_table for custom blank rows * Application Helpers * New method init_db to encapsulate AR startup * New method add_local_paths to add local (non-gem) libraries to $LOAD_PATH * New method run_app to run Camping app; supports mongrel, webrick, and CGI * New method extract_form_fields to extract changed data after a posted table edit John -- "The Internet is not something you just dump something on. It''s not a big truck. It''s a series of tubes." --Senator Ted Stevens, R-AK John R. Sheets http://bark.metacasa.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/camping-list/attachments/20070619/3fef6230/attachment.html
On Jun 19, 2007, at 10:22 AM, John Sheets wrote:> The second release of TentSteak is out and available as a gem on > rubyforge ("gem install tent_steak").Sorry, I should have mentioned: project info and API docs at: http://rubyforge.org/projects/tentsteak/ http://tentsteak.rubyforge.org/ John -- "The Internet is not something you just dump something on. It''s not a big truck. It''s a series of tubes." --Senator Ted Stevens, R-AK John R. Sheets http://bark.metacasa.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/camping-list/attachments/20070619/be0ac605/attachment-0001.html
On 6/19/07, John Sheets <fisheye at metacasa.net> wrote:> Sorry, I should have mentioned: project info and API docs at: > > http://rubyforge.org/projects/tentsteak/ > http://tentsteak.rubyforge.org/Steak: piece of meat Stake: a rod used for securing things to the ground TentSteak: A tent made out of meat? A hard piece of meat used to secure a tent to the ground? Could you explain? Geoffrey Grosenbach boss at topfunky.com ........................ Blog | http://nubyonrails.com Podcast | http://podcast.rubyonrails.com Screencast | http://peepcode.com
On Jun 19, 2007, at 2:08 PM, Geoffrey Grosenbach wrote:> Steak: piece of meat > Stake: a rod used for securing things to the ground > > TentSteak: A tent made out of meat? A hard piece of meat used to > secure a tent to the ground? > > Could you explain?TentSteak is one step up from TentBurger. Or is that one step up from TarpSteak? I can never keep it straight. Really it''s just yummy cuisine for Camping apps. Come to think of it, I should really create a vegan-friendly sister project, TentTofu -- it has half the features of TentSteak, but at least you can''t catch Mad CGI Disease from it. (c: Give ''er a try and let me know what you think.... John -- "The Internet is not something you just dump something on. It''s not a big truck. It''s a series of tubes." --Senator Ted Stevens, R-AK John R. Sheets http://bark.metacasa.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/camping-list/attachments/20070619/fdf8e70d/attachment.html
On Tue Jun 19, 2007 at 07:51:25PM -0500, John Sheets wrote:> On Jun 19, 2007, at 2:08 PM, Geoffrey Grosenbach wrote: > > > Steak: piece of meat > > Stake: a rod used for securing things to the ground > > > > TentSteak: A tent made out of meat? A hard piece of meat used to > > secure a tent to the ground? > > > > Could you explain? > > TentSteak is one step up from TentBurger. Or is that one step up from > TarpSteak? I can never keep it straight. Really it''s just yummy cuisine > for Camping apps. Come to think of it, I should really create a > vegan-friendly sister project, TentTofu -- it has half the features ofmy local supermarket has a ''tofu steak''. its not very good..> TentSteak, but at least you can''t catch Mad CGI Disease from it.sorry what is this thing again. something about automating mixins? i''ll pass ! unless it involves A1 sauce and lots of Tabasco
On Jun 19, 2007, at 7:53 PM, carmen wrote:> sorry what is this thing again. something about automating mixins? > i''ll pass ! unless it involves A1 sauce and lots of TabascoThat''s a small part of it. The bulk of it is currently helper methods for stuff like building HTML tables and forms. More to come soon. John -- "The Internet is not something you just dump something on. It''s not a big truck. It''s a series of tubes." --Senator Ted Stevens, R-AK John R. Sheets http://bark.metacasa.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/camping-list/attachments/20070619/565b27b1/attachment-0001.html