From: Robert MannI Date: 2006-10-11T20:53:28+09:00 Subject: Re: [ANN] newgem - Create gems for your libraries and apps ------=_Part_24262_6378634.1160567572378 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline This is great. You're cooking up one sweet Ruby library after another. Calling it "gemify" isn't an option? Sounds sweeter. On 10/11/06, Dr Nic wrote: > > Now you can take any library or Rails plugin or command line > application, gemify it, and easily share it with the Ruby world. > > With gems you get in-built version support (you can specify which > version of a gem you want when you use it via the require_gem method), > an encapsulated, consistent folder structure for your bin/lib/test > folders, and you get cross-platform support for bin apps. Too much > niftiness to ignore, really. > > The New Gem Generator is like the rails command for rails applications, > but it creates the folders and starting files for a new gem. It's called > newgem. > > Installation > > gem install newgem > > Create new gem > > newgem map_by_method > creating: map_by_method > creating: map_by_method/CHANGELOG > creating: map_by_method/README > creating: map_by_method/lib > creating: map_by_method/lib/map_by_method > creating: map_by_method/lib/map_by_method.rb > creating: map_by_method/lib/map_by_method/version.rb > creating: map_by_method/Rakefile > creating: map_by_method/test > creating: map_by_method/test/all_tests.rb > creating: map_by_method/test/test_helper.rb > creating: map_by_method/test/map_by_method_test.rb > creating: map_by_method/examples > creating: map_by_method/bin > > And away you go. The rest of the tutorial and comments are at: > http://drnicwilliams.com/2006/10/11/generating-new-gems/ > > I hope this encourages you to share more code with others (both outside > and inside your own workplace). > > Nic > > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_24262_6378634.1160567572378--