Commit b1ab589f by Cuong Tran

change the gem name to annotate-models so rubyforge is happy

parent 7f96c0c8
AnnotateModels == AnnotateModels
==============
Add a comment summarizing the current schema to the top of each ActiveRecord model source file. Add a comment summarizing the current schema to the top of each ActiveRecord model source file.
...@@ -21,29 +20,27 @@ Note that this code will blow away the initial comment block in your models if i ...@@ -21,29 +20,27 @@ Note that this code will blow away the initial comment block in your models if i
previously added by annotate models, so you don't want to add additional text to an automatically previously added by annotate models, so you don't want to add additional text to an automatically
created comment block. created comment block.
Install == Install
=======
sudo gem install sake annotate_models sudo gem install sake annotate_models
Usage == Usage
=====
cd [your project] cd [your project]
annotate annotate
Source == Source
======
http://github.com/ctran/annotate_models http://github.com/ctran/annotate_models
Author: == Author
Dave Thomas Dave Thomas
Pragmatic Programmers, LLC Pragmatic Programmers, LLC
Released under the same license as Ruby. No Support. No Warranty. Released under the same license as Ruby. No Support. No Warranty.
Modifications by: == Modifications
- alex@pivotallabs.com - alex@pivotallabs.com
- ctran@pragmaquest.com - ctran@pragmaquest.com
...@@ -3,7 +3,7 @@ require 'annotate_models/version' ...@@ -3,7 +3,7 @@ require 'annotate_models/version'
AUTHOR = 'Dave Thomas' # can also be an array of Authors AUTHOR = 'Dave Thomas' # can also be an array of Authors
EMAIL = "ctran@pragmaquest.com" EMAIL = "ctran@pragmaquest.com"
DESCRIPTION = "Add a comment summarizing the current schema to the top of each ActiveRecord model source file" DESCRIPTION = "Add a comment summarizing the current schema to the top of each ActiveRecord model source file"
GEM_NAME = 'annotate_models' # what ppl will type to install your gem GEM_NAME = 'annotate-models' # what ppl will type to install your gem
RUBYFORGE_PROJECT = 'annotate-models' # The unix name for your project RUBYFORGE_PROJECT = 'annotate-models' # The unix name for your project
HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org" HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
DOWNLOAD_PATH = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}" DOWNLOAD_PATH = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" /> <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> <title>
annotate_models annotate-models
</title> </title>
<script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script> <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
<style> <style>
...@@ -30,12 +30,12 @@ ...@@ -30,12 +30,12 @@
<body> <body>
<div id="main"> <div id="main">
<h1>annotate_models</h1> <h1>annotate-models</h1>
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/annotate-models"; return false'> <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/annotate-models"; return false'>
<p>Get Version</p> <p>Get Version</p>
<a href="http://rubyforge.org/projects/annotate-models" class="numbers">1.0.0</a> <a href="http://rubyforge.org/projects/annotate-models" class="numbers">1.0.0</a>
</div> </div>
<h1>&#x2192; &#8216;annotate_models&#8217;</h1> <h1>&#x2192; &#8216;annotate-models&#8217;</h1>
<h2>What</h2> <h2>What</h2>
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<p><pre class='syntax'> <p><pre class='syntax'>
<span class="ident">sudo</span> <span class="ident">gem</span> <span class="ident">install</span> <span class="ident">annotate_models</span> <span class="ident">sudo</span> <span class="ident">gem</span> <span class="ident">install</span> <span class="ident">annotate</span><span class="punct">-</span><span class="ident">models</span>
</pre></p> </pre></p>
......
h1. annotate_models h1. annotate-models
h1. &#x2192; 'annotate_models' h1. &#x2192; 'annotate-models'
h2. What h2. What
...@@ -9,7 +9,7 @@ h2. What ...@@ -9,7 +9,7 @@ h2. What
h2. Installing h2. Installing
<pre syntax="ruby"> <pre syntax="ruby">
sudo gem install annotate_models sudo gem install annotate-models
</pre> </pre>
h2. The basics h2. The basics
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</div> </div>
<%= body %> <%= body %>
<p class="coda"> <p class="coda">
<a href="ctran@pragmaquest.com">Cuong Tran</a>, <%= modified.pretty %><br> <a href="http://www.pragmaquest.com">Cuong Tran</a>, <%= modified.pretty %><br>
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a> Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
</p> </p>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment