Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
annotate
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
annotate
Commits
b1ab589f
Commit
b1ab589f
authored
Feb 29, 2008
by
Cuong Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change the gem name to annotate-models so rubyforge is happy
parent
7f96c0c8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
19 deletions
+16
-19
README.txt
README.txt
+7
-10
hoe.rb
config/hoe.rb
+1
-1
index.html
website/index.html
+4
-4
index.txt
website/index.txt
+3
-3
template.rhtml
website/template.rhtml
+1
-1
No files found.
README.txt
View file @
b1ab589f
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
config/hoe.rb
View file @
b1ab589f
...
@@ -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
}
"
...
...
website/index.html
View file @
b1ab589f
...
@@ -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>
→
‘
annotate
_
models
’
</h1>
<h1>
→
‘
annotate
-
models
’
</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>
...
...
website/index.txt
View file @
b1ab589f
h1. annotate
_
models
h1. annotate
-
models
h1. → 'annotate
_
models'
h1. → '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
...
...
website/template.rhtml
View file @
b1ab589f
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment