public
Fork of drnic/newgem
Description: newgem - New Gem Generator for RubyGems
Homepage: http://newgem.rubyforge.org
Clone URL: git://github.com/wycats/newgem.git
Search Repo:
nicwilliams (author)
Mon Mar 31 07:40:47 -0700 2008
newgem /
name age message
folder .gitignore Mon Mar 31 07:40:34 -0700 2008 fixed extconf test file name [nicwilliams]
folder History.txt Mon Mar 31 07:40:43 -0700 2008 failed compilation destroyes *.o/so/bundle/dll ... [nicwilliams]
folder License.txt Fri May 18 10:38:06 -0700 2007 Added license files [nicwilliams]
folder Manifest.txt Mon Mar 31 07:40:43 -0700 2008 failed compilation destroyes *.o/so/bundle/dll ... [nicwilliams]
folder README.txt Fri Mar 14 06:27:50 -0700 2008 0.18 - README.txt updated for hoe [nicwilliams]
folder Rakefile Mon Aug 20 00:13:43 -0700 2007 == 0.13.0 2007-08-20 [nicwilliams]
folder Todo.txt Fri Jun 15 05:59:15 -0700 2007 -V option shows current newgem version [thx Ger... [nicwilliams]
folder app_generators/ Mon Mar 31 07:40:37 -0700 2008 requirements.rb no longer loads main lib file; ... [nicwilliams]
folder bin/ Wed Feb 20 03:38:57 -0800 2008 remove options from 'env ruby' in newgem bin [nicwilliams]
folder bundles/ Sun Jun 17 02:17:49 -0700 2007 Added RubyGem bundle for TextMate [nicwilliams]
folder config/ Sun Feb 03 02:49:49 -0800 2008 == 0.17.0 2008-02-03 [nicwilliams]
folder install.rb Mon Oct 09 09:10:54 -0700 2006 Initial dump of original code [nicwilliams]
folder lib/ Mon Mar 31 07:40:31 -0700 2008 extconf generates test file [nicwilliams]
folder newgem_generators/ Mon Mar 24 17:51:26 -0700 2008 Updated generators for ruby1.9 - removed {|opti... [nicwilliams]
folder newgem_theme_generators/ Mon Mar 24 17:59:07 -0700 2008 added missing new theme [nicwilliams]
folder rubygems_generators/ Mon Mar 31 07:40:45 -0700 2008 test for compile success restricted to output f... [nicwilliams]
folder script/ Sun Nov 04 01:19:36 -0800 2007 * Application generator inserts scopes passed i... [nicwilliams]
folder setup.rb Wed Oct 11 09:30:49 -0700 2006 v0.3 - added setup.rb to gem + templates [nicwilliams]
folder tasks/ Wed Oct 17 16:37:18 -0700 2007 Added manifest:refresh task [nicwilliams]
folder test/ Mon Mar 31 07:40:39 -0700 2008 extconf generator creates .autotest file for *.... [nicwilliams]
folder website/ Mon Mar 31 07:40:47 -0700 2008 0.20.1 [nicwilliams]
README.txt
= New Gem Generator

* http://newgem.rubyforge.org

== DESCRIPTION:

Quickly bundle any Ruby libraries into a RubyGem and share it with the world, your colleagues, or perhaps just with 
yourself amongst your projects.

RubyGems are centrally stored, versioned, and support dependencies between other gems, so they are the ultimate way to 
bundle libraries, executables, associated tests, examples, and more.

Within this gem, you get one thing - <code>newgem</code> - an executable to create your own gems. Your new gems will 
include designated folders for Ruby code, test files, executables, and even a default website page for you to explain 
your project, and which instantly uploads to RubyForge website (which looks just like this one by default)
  
== BASIC USAGE:

Go to the folder where you want to create your new gem folder structure, and run the <code>newgem</code> command to 
generate your gem scaffolding.

<pre>$ cd ~/ruby_projects
$ newgem wizzo
creating: wizzo
creating: wizzo/CHANGELOG.txt
creating: wizzo/README.txt
creating: wizzo/lib
creating: wizzo/script
creating: wizzo/website
creating: wizzo/website/javascripts
creating: wizzo/website/stylesheets
creating: wizzo/lib/wizzo
creating: wizzo/lib/wizzo.rb
creating: wizzo/lib/wizzo/version.rb
creating: wizzo/bin
creating: wizzo/test
creating: wizzo/test/test_helper.rb
creating: wizzo/test/test_wizzo.rb
creating: wizzo/examples
creating: wizzo/setup.rb
creating: wizzo/Rakefile
creating: wizzo/Manifest.txt
creating: wizzo/History.txt
creating: wizzo/script/generate
creating: wizzo/script/txt2html
creating: wizzo/website/index.txt
creating: wizzo/website/template.rhtml
copying: wizzo/website/javascripts/rounded_corners_lite.inc.js
copying: wizzo/website/stylesheets/screen.css
NOW - update wizzo/Rakefile with gem description, etc
</pre>

As of 0.10.0 - you can generate test::unit or rspec test stubs via the -t, --test-with options

== SYNOPSIS:

Now modify the constants at the top of *config/hoe.rb*, with your name, email and the location where you'll host your 
website for the gem. The defaults are tied to RubyForge for uploading the gems and the website.

== REQUIREMENTS:

* hoe
* rubyforge

== INSTALL:

The <code>newgem</code> application is distributed itself as a RubyGem and is available immediately after installation.


<pre syntax="ruby">sudo gem install newgem</pre>

Alternately, download the gem and install manually.

== LICENSE:

(The MIT License)

Copyright (c) 2008 FIX

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.