forked from ctran/annotate_models
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge changes from http://github.com/bumi/annotate_models/tree/master
- Loading branch information
Cuong Tran
committed
Mar 23, 2008
1 parent
7b5d2ed
commit 60fc98a
Showing
17 changed files
with
90 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
== 0.0.1 2008-02-27 | ||
== 1.0.2 2008-03-22 | ||
|
||
* Add contributions from Michael Bumann (http://github.com/bumi) | ||
* added an option "position" to choose to put the annotation, | ||
* spec/fixtures now also get annotated | ||
* added a task to remove the annotations | ||
* these options can be specified from command line as -d and -p [before|after] | ||
|
||
|
||
* 1 major enhancement: | ||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,9 @@ created comment block. | |
|
||
cd [your project] | ||
annotate | ||
annotate -d | ||
annotate -p [before|after] | ||
annotate -h | ||
|
||
== Source | ||
|
||
|
@@ -41,6 +44,7 @@ Released under the same license as Ruby. No Support. No Warranty. | |
|
||
== Modifications | ||
- [email protected] | ||
- [email protected] | ||
- Jack Danger at http://6brand.com/ | ||
- Cuong Tran - http://github.com/ctran | ||
- Jack Danger - http://github.com/JackDanger | ||
- Michael Bumann - http://github.com/bumi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require 'optparse' | ||
require 'annotate_models/tasks' | ||
|
||
Rake::Task['annotate_models'].invoke | ||
task = "annotate_models" | ||
|
||
OptionParser.new do |opts| | ||
opts.banner = "Usage: annotate [options]" | ||
opts.on('-d', '--delete') { task = "remove_annotation" } | ||
opts.on('-p', '--position [before|after]', ['before', 'after']) { |p| ENV['position'] = p } | ||
end.parse! | ||
|
||
Rake::Task[task].invoke |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Mon, 10 Mar 2008 02:26:29 -0500 | ||
Sat, 22 Mar 2008 21:58:55 -0500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,7 @@ <h1>README.txt</h1> | |
</tr> | ||
<tr class="top-aligned-row"> | ||
<td><strong>Last Update:</strong></td> | ||
<td>Mon Mar 10 01:50:15 -0500 2008</td> | ||
<td>Sat Mar 22 21:53:08 -0500 2008</td> | ||
</tr> | ||
</table> | ||
</div> | ||
|
@@ -103,6 +103,9 @@ <h2>Usage</h2> | |
<pre> | ||
cd [your project] | ||
annotate | ||
annotate -d | ||
annotate -p [before|after] | ||
annotate -h | ||
</pre> | ||
<h2>Source</h2> | ||
<pre> | ||
|
@@ -119,7 +122,9 @@ <h2>Author</h2> | |
<h2>Modifications</h2> | ||
<pre> | ||
- [email protected] | ||
- [email protected] | ||
- Cuong Tran - http://github.com/ctran | ||
- Jack Danger - http://github.com/JackDanger | ||
- Michael Bumann - http://github.com/bumi | ||
</pre> | ||
|
||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ | |
<h1>annotate-models</h1> | ||
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/annotate-models"; return false'> | ||
<p>Get Version</p> | ||
<a href="http://rubyforge.org/projects/annotate-models" class="numbers">1.0.1</a> | ||
<a href="http://rubyforge.org/projects/annotate-models" class="numbers">1.0.2</a> | ||
</div> | ||
<h1>→ ‘annotate-models’</h1> | ||
|
||
|
@@ -62,7 +62,13 @@ <h2>The basics</h2> | |
<h2>Demonstration of usage</h2> | ||
|
||
|
||
<p>Go to your <span class="caps">RAILS</span>_ROOT dir, then run <code>annotate</code></p> | ||
<p>Go to your project dir (RAILS_ROOT), then run: <code>annotate</code></p> | ||
|
||
|
||
<p>To remove annotations: <code>annotate -d</code></p> | ||
|
||
|
||
<p>To add annotations at the end of files: <code>annotate -p after</code></p> | ||
|
||
|
||
<h2>How to submit patches</h2> | ||
|
@@ -71,7 +77,7 @@ <h2>How to submit patches</h2> | |
<p>See <a href="http://drnicwilliams.com/2008/02/03/using-git-within-a-team/">Using Git within a project</a></p> | ||
|
||
|
||
<p>The trunk repository is <code>http://github.com/ctran/annotate_models</code>.</p> | ||
<p>The trunk repository is <code>http://github.com/ctran/annotate_models</code></p> | ||
|
||
|
||
<p>A svn mirror is on rubyforge <code>svn://rubyforge.org/var/svn/annotate-models/trunk</code></p> | ||
|
@@ -88,7 +94,7 @@ <h2>Contact</h2> | |
|
||
<p>Comments are welcome. Send an email to <a href="mailto:[email protected]">Cuong Tran</a></p> | ||
<p class="coda"> | ||
<a href="http://www.pragmaquest.com">Cuong Tran</a>, 10th March 2008<br> | ||
<a href="http://www.pragmaquest.com">Cuong Tran</a>, 22nd March 2008<br> | ||
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a> | ||
</p> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters