<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>License.txt</filename>
    </added>
    <added>
      <filename>templates/License.txt</filename>
    </added>
    <added>
      <filename>templates/website/index.html</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,9 +1,11 @@
 +++ 0.9.4 
 
-+ 3 minor enhancement
++ 5 minor enhancements
+	+ Pass your full name into the generator to be inserted into License.txt, index.txt, Rakefile etc
   + 'Licence' =&gt; 'License' (thx Peter Burns)
   + Generates a blank index.html so that 'rake package' works straight away
   + Includes :local_deploy which does tasks :website_generate and :install_gem
+  + License.txt generated + this gem has a License.txt file (MIT license)
 
 +++ 0.9.3 20/4/2007
 </diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,5 @@
 History.txt
+License.txt
 Manifest.txt
 README
 Rakefile
@@ -10,6 +11,7 @@ scripts/txt2html
 scripts/txt2js
 setup.rb
 templates/History.txt
+templates/License.txt
 templates/Manifest.txt
 templates/Rakefile
 templates/app.rb</diff>
      <filename>Manifest.txt</filename>
    </modified>
    <modified>
      <diff>@@ -15,6 +15,7 @@ templates = File.dirname(__FILE__) + '/../templates/'
 OPTIONS = {
   :import_path =&gt; nil,
   :version     =&gt; '0.0.1',
+  :full_name   =&gt; nil,
   :bin_name    =&gt; nil
 }
 parser = OptionParser.new do |opts|
@@ -33,6 +34,9 @@ BANNER
   opts.on(&quot;-i&quot;, &quot;--import_path=PATH&quot;, String,
           &quot;Path where your files could be copied from.&quot;,
           &quot;Default: none&quot;) { |OPTIONS[:import_path]| }
+  opts.on(&quot;-n&quot;, &quot;--full_name=PATH&quot;, String,
+          &quot;Your name to be inserted into generated files.&quot;,
+          &quot;Default: ENV['USERNAME'] || ENV['USER']&quot;) { |OPTIONS[:full_name]| }
   opts.on(&quot;-v&quot;, &quot;--version=YOUR_VERSION&quot;, String,
           &quot;Version of the gem you are creating.&quot;,
           &quot;Default: 0.0.1&quot;) { |OPTIONS[:version]| }
@@ -42,6 +46,7 @@ BANNER
 end
 OPTIONS[:version] = OPTIONS[:version].to_s.split(/\./)
 version_str       = OPTIONS[:version].join('.')
+author            = OPTIONS[:full_name] || ENV['USERNAME'] || ENV['USER']
 
 gem_name = project_name = ARGV[0]
 parser.parse!([&quot;-h&quot;]) unless gem_name
@@ -52,10 +57,9 @@ lib_project_name = project_name + '/lib/' + project_name
 version = project_name + &quot;/lib/&quot; + project_name + &quot;/version.rb&quot;
 readme, setup = %w(README.txt setup.rb).
 	collect {|f| project_name + '/' + f}
-template_files = %w(Rakefile Manifest.txt History.txt scripts/txt2html website/index.txt website/index.html website/template.rhtml)
+template_files = %w(Rakefile History.txt License.txt Manifest.txt scripts/txt2html website/index.txt website/index.html website/template.rhtml)
 copy_files = %w(website/javascripts/rounded_corners_lite.inc.js website/stylesheets/screen.css)
 
-
 test = project_name + &quot;/test&quot;
 main = project_name + &quot;/lib/&quot; + project_name + &quot;.rb&quot;
 test_helper = test + &quot;/test_helper.rb&quot;
@@ -65,9 +69,6 @@ examples = project_name + '/examples'
 bin      = project_name + '/bin'
 folders  = %w( scripts website website/javascripts website/stylesheets)
 
-# Rakefile variables
-author = ENV['USERNAME'] || ENV['USER'] || 'you'
-
 FileUtils.rm_rf project_name
 
 puts &quot;creating: &quot; + project_name</diff>
      <filename>bin/newgem</filename>
    </modified>
    <modified>
      <diff>@@ -27,4 +27,4 @@ This code is free to use under the terms of the MIT license.
 
 h2. Contact
 
-Comments are welcome. Send an email to &quot;Dr Nic Williams&quot;:mailto:drnicwilliams@gmail.com.
+Comments are welcome. Send an email to #{author}.</diff>
      <filename>templates/website/index.txt</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>aa3595ba8f8cac7c18a849c486e85469f5592ad6</id>
    </parent>
  </parents>
  <author>
    <name>nicwilliams</name>
    <email>nicwilliams@b8dfb574-5f1f-0410-9469-b441dc4e948f</email>
  </author>
  <url>http://github.com/drnic/newgem/commit/9951fe9fe6ea9a0a589b1077d8a77749a984ec83</url>
  <id>9951fe9fe6ea9a0a589b1077d8a77749a984ec83</id>
  <committed-date>2007-05-18T10:38:06-07:00</committed-date>
  <authored-date>2007-05-18T10:38:06-07:00</authored-date>
  <message>Added license files
Can pass Full Name into newgem via -n/--full_name parameter


git-svn-id: svn+ssh://rubyforge.org/var/svn/newgem/trunk@57 b8dfb574-5f1f-0410-9469-b441dc4e948f</message>
  <tree>d5ab019c8ab35b5736bfbba741700fa12939f96d</tree>
  <committer>
    <name>nicwilliams</name>
    <email>nicwilliams@b8dfb574-5f1f-0410-9469-b441dc4e948f</email>
  </committer>
</commit>
