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
8ecd23ee
Commit
8ecd23ee
authored
May 06, 2009
by
Cuong Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update gemspec
parent
72f0d4b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
32 deletions
+32
-32
Rakefile
Rakefile
+28
-28
annotate.gemspec
annotate.gemspec
+4
-4
No files found.
Rakefile
View file @
8ecd23ee
%w[rubygems rake rake/clean fileutils newgem rubigen]
.
each
{
|
f
|
require
f
}
require
File
.
dirname
(
__FILE__
)
+
'/lib/annotate'
# Generate all the Rake tasks
# Run 'rake -T' to see list of generated tasks (from gem root directory)
$hoe
=
Hoe
.
new
(
'annotate'
,
Annotate
::
VERSION
)
do
|
p
|
p
.
developer
(
'Cuong Tran'
,
'ctran@pragmaquest.com'
)
p
.
changes
=
p
.
paragraphs_of
(
"History.txt"
,
0
..
1
).
join
(
"
\n\n
"
)
p
.
rubyforge_name
=
'annotate-models'
p
.
url
=
"http://github.com/ctran/annotate_models"
p
.
summary
=
"Annotates Rails Models, routes, and others"
p
.
description
=
"Annotates Rails Models, routes, and others"
p
.
extra_dev_deps
=
[
[
'newgem'
,
">=
#{
::
Newgem
::
VERSION
}
"
]
]
p
.
clean_globs
|=
%w[**/.DS_Store tmp *.log]
path
=
(
p
.
rubyforge_name
==
p
.
name
)
?
p
.
rubyforge_name
:
"
\#
{p.rubyforge_name}/
\#
{p.name}"
p
.
remote_rdoc_dir
=
File
.
join
(
path
.
gsub
(
/^
#{
p
.
rubyforge_name
}
\/?/
,
''
),
'rdoc'
)
p
.
rsync_args
=
'-av --delete --ignore-errors'
end
require
'newgem/tasks'
# load /tasks/*.rake
Dir
[
'tasks/**/*.rake'
].
each
{
|
t
|
load
t
}
# TODO - want other tests/tasks run by default? Add them to the list
# task :default => [:spec, :features]
%w[rubygems rake rake/clean fileutils newgem rubigen]
.
each
{
|
f
|
require
f
}
require
File
.
dirname
(
__FILE__
)
+
'/lib/annotate'
# Generate all the Rake tasks
# Run 'rake -T' to see list of generated tasks (from gem root directory)
$hoe
=
Hoe
.
new
(
'annotate'
,
Annotate
::
VERSION
)
do
|
p
|
p
.
developer
(
'Cuong Tran'
,
'ctran@pragmaquest.com'
)
p
.
changes
=
p
.
paragraphs_of
(
"History.txt"
,
0
..
1
).
join
(
"
\n\n
"
)
p
.
rubyforge_name
=
'annotate-models'
p
.
url
=
"http://github.com/ctran/annotate_models"
p
.
summary
=
"Annotates Rails Models, routes, and others"
p
.
description
=
"Annotates Rails Models, routes, and others"
p
.
extra_dev_deps
=
[
[
'newgem'
,
">=
#{
::
Newgem
::
VERSION
}
"
]
]
p
.
clean_globs
|=
%w[**/.DS_Store tmp *.log]
path
=
(
p
.
rubyforge_name
==
p
.
name
)
?
p
.
rubyforge_name
:
"
\#
{p.rubyforge_name}/
\#
{p.name}"
p
.
remote_rdoc_dir
=
File
.
join
(
path
.
gsub
(
/^
#{
p
.
rubyforge_name
}
\/?/
,
''
),
'rdoc'
)
p
.
rsync_args
=
'-av --delete --ignore-errors'
end
require
'newgem/tasks'
# load /tasks/*.rake
Dir
[
'tasks/**/*.rake'
].
each
{
|
t
|
load
t
}
# TODO - want other tests/tasks run by default? Add them to the list
# task :default => [:spec, :features]
annotate.gemspec
View file @
8ecd23ee
...
...
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
s
.
required_rubygems_version
=
Gem
::
Requirement
.
new
(
">= 0"
)
if
s
.
respond_to?
:required_rubygems_version
=
s
.
authors
=
[
"Cuong Tran"
]
s
.
date
=
%q{2009-05-0
1
}
s
.
date
=
%q{2009-05-0
6
}
s
.
default_executable
=
%q{annotate}
s
.
description
=
%q{Annotates Rails Models, routes, and others}
s
.
email
=
[
"ctran@pragmaquest.com"
]
...
...
@@ -26,14 +26,14 @@ Gem::Specification.new do |s|
s
.
specification_version
=
2
if
Gem
::
Version
.
new
(
Gem
::
RubyGemsVersion
)
>=
Gem
::
Version
.
new
(
'1.2.0'
)
then
s
.
add_development_dependency
(
%q<newgem>
,
[
">= 1.
3.0
"
])
s
.
add_development_dependency
(
%q<newgem>
,
[
">= 1.
4.1
"
])
s
.
add_development_dependency
(
%q<hoe>
,
[
">= 1.8.0"
])
else
s
.
add_dependency
(
%q<newgem>
,
[
">= 1.
3.0
"
])
s
.
add_dependency
(
%q<newgem>
,
[
">= 1.
4.1
"
])
s
.
add_dependency
(
%q<hoe>
,
[
">= 1.8.0"
])
end
else
s
.
add_dependency
(
%q<newgem>
,
[
">= 1.
3.0
"
])
s
.
add_dependency
(
%q<newgem>
,
[
">= 1.
4.1
"
])
s
.
add_dependency
(
%q<hoe>
,
[
">= 1.8.0"
])
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