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
366f3ae2
Commit
366f3ae2
authored
Jan 18, 2010
by
Masatoshi Iwasaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change gem name and update install instruction to use custom gem
parent
45f3cc08
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
72 additions
and
15 deletions
+72
-15
.README.rdoc.swp
.README.rdoc.swp
+0
-0
README.rdoc
README.rdoc
+3
-3
Rakefile
Rakefile
+7
-9
VERSION.yml
VERSION.yml
+1
-1
annotate.gemspec
annotate.gemspec
+2
-2
masa-iwasaki-annotate.gemspec
masa-iwasaki-annotate.gemspec
+59
-0
No files found.
.README.rdoc.swp
0 → 100644
View file @
366f3ae2
File added
README.rdoc
View file @
366f3ae2
...
...
@@ -40,14 +40,14 @@ Also, if you pass the -r option, it'll annotate routes.rb with the output of "ra
From rubyforge:
sudo gem install annotate
sudo gem install
masa-iwasaki-
annotate
From github:
git clone git://github.com/
ctran
/annotate_models.git annotate
git clone git://github.com/
masa-iwasaki
/annotate_models.git annotate
cd annotate
rake gem
sudo gem install pkg/annotate-*.gem
sudo gem install pkg/annotate-
masa-iwasaki-
*.gem
== USAGE
...
...
Rakefile
View file @
366f3ae2
...
...
@@ -8,24 +8,22 @@ task :default => [:spec]
begin
require
'jeweler'
Jeweler
::
Tasks
.
new
do
|
gem
|
gem
.
name
=
"annotate"
gem
.
name
=
"
masa-iwasaki-
annotate"
gem
.
executables
=
"annotate-rails"
gem
.
summary
=
"Annotates Rails Models, routes, fixtures, and others based on the database schema."
gem
.
description
=
gem
.
summary
gem
.
email
=
[
"alex@stinky.com"
,
'ctran@pragmaquest.com'
,
"x@nofxx.com"
]
gem
.
homepage
=
"http://github.com/
ctran
/annotate"
gem
.
authors
=
[
'Cuong Tran'
,
"Alex Chaffee"
,
"Marcos Piccinini"
]
gem
.
description
=
"Rename an executable file from 'annotate' to 'annotate-rails' to avoid conflict with gdlib2"
gem
.
email
=
[
"alex@stinky.com"
,
'ctran@pragmaquest.com'
,
"x@nofxx.com"
,
'mstshiwasaki@gmail.com'
]
gem
.
homepage
=
"http://github.com/
masa-iwasaki
/annotate"
gem
.
authors
=
[
'Cuong Tran'
,
"Alex Chaffee"
,
"Marcos Piccinini"
,
'Masatoshi Iwasaki'
]
gem
.
files
=
FileList
[
"[A-Z]*.*"
,
"{bin,lib,tasks,spec}/**/*"
]
gem
.
rubyforge_project
=
"annotate"
# note that Jeweler automatically reads the version from VERSION.yml
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler
::
RubyforgeTasks
.
new
do
|
rubyforge
|
rubyforge
.
doc_task
=
"rdoc"
end
rescue
LoadError
puts
"Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
...
...
VERSION.yml
View file @
366f3ae2
---
:major
:
2
:minor
:
4
:patch
:
1
:patch
:
2
annotate.gemspec
View file @
366f3ae2
...
...
@@ -5,11 +5,11 @@
Gem
::
Specification
.
new
do
|
s
|
s
.
name
=
%q{annotate}
s
.
version
=
"2.4.
0
"
s
.
version
=
"2.4.
2
"
s
.
required_rubygems_version
=
Gem
::
Requirement
.
new
(
">= 0"
)
if
s
.
respond_to?
:required_rubygems_version
=
s
.
authors
=
[
"Cuong Tran"
,
"Alex Chaffee"
,
"Marcos Piccinini"
]
s
.
date
=
%q{2010-01-1
7
}
s
.
date
=
%q{2010-01-1
8
}
s
.
default_executable
=
%q{annotate-rails}
s
.
description
=
%q{Annotates Rails Models, routes, fixtures, and others based on the database schema.}
s
.
email
=
[
"alex@stinky.com"
,
"ctran@pragmaquest.com"
,
"x@nofxx.com"
]
...
...
masa-iwasaki-annotate.gemspec
0 → 100644
View file @
366f3ae2
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
Gem
::
Specification
.
new
do
|
s
|
s
.
name
=
%q{masa-iwasaki-annotate}
s
.
version
=
"2.4.2"
s
.
required_rubygems_version
=
Gem
::
Requirement
.
new
(
">= 0"
)
if
s
.
respond_to?
:required_rubygems_version
=
s
.
authors
=
[
"Cuong Tran"
,
"Alex Chaffee"
,
"Marcos Piccinini"
,
"Masatoshi Iwasaki"
]
s
.
date
=
%q{2010-01-18}
s
.
default_executable
=
%q{annotate-rails}
s
.
description
=
%q{Rename an executable file from 'annotate' to 'annotate-rails' to avoid conflict with gdlib2}
s
.
email
=
[
"alex@stinky.com"
,
"ctran@pragmaquest.com"
,
"x@nofxx.com"
,
"mstshiwasaki@gmail.com"
]
s
.
executables
=
[
"annotate-rails"
]
s
.
extra_rdoc_files
=
[
"README.rdoc"
]
s
.
files
=
[
"History.txt"
,
"README.rdoc"
,
"VERSION.yml"
,
"bin/annotate-rails"
,
"lib/annotate.rb"
,
"lib/annotate/annotate_models.rb"
,
"lib/annotate/annotate_routes.rb"
,
"lib/tasks/annotate_models.rake"
,
"lib/tasks/annotate_routes.rake"
,
"spec/annotate/annotate_models_spec.rb"
,
"spec/annotate/annotate_routes_spec.rb"
,
"spec/annotate_spec.rb"
,
"spec/spec.opts"
,
"spec/spec_helper.rb"
,
"tasks/migrate.rake"
]
s
.
homepage
=
%q{http://github.com/masa-iwasaki/annotate}
s
.
rdoc_options
=
[
"--charset=UTF-8"
]
s
.
require_paths
=
[
"lib"
]
s
.
rubygems_version
=
%q{1.3.5}
s
.
summary
=
%q{Annotates Rails Models, routes, fixtures, and others based on the database schema.}
s
.
test_files
=
[
"spec/annotate/annotate_models_spec.rb"
,
"spec/annotate/annotate_routes_spec.rb"
,
"spec/annotate_spec.rb"
,
"spec/spec_helper.rb"
]
if
s
.
respond_to?
:specification_version
then
current_version
=
Gem
::
Specification
::
CURRENT_SPECIFICATION_VERSION
s
.
specification_version
=
3
if
Gem
::
Version
.
new
(
Gem
::
RubyGemsVersion
)
>=
Gem
::
Version
.
new
(
'1.2.0'
)
then
else
end
else
end
end
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