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
7d4f2152
Commit
7d4f2152
authored
Jan 30, 2011
by
Weston Triemstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more build experimentation
parent
fc0bb12e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
85 additions
and
21 deletions
+85
-21
Rakefile
Rakefile
+25
-20
VERSION.yml
VERSION.yml
+1
-1
netsign-annotate.gemspec
netsign-annotate.gemspec
+59
-0
No files found.
Rakefile
View file @
7d4f2152
# require 'rubygems'
require
'rake'
require
'
lib/annotate'
require
File
.
dirname
(
__FILE__
)
+
'/
lib/annotate'
# want other tests/tasks run by default? Add them to the list
task
:default
=>
[
:spec
]
...
...
@@ -7,39 +8,43 @@ task :default => [:spec]
begin
require
'jeweler'
Jeweler
::
Tasks
.
new
do
|
gem
|
gem
.
name
=
"annotate"
gem
.
name
=
"
netsign-
annotate"
gem
.
executables
=
"annotate"
gem
.
summary
=
"Annotates Rails Models, routes, fixtures, and others based on the database schema."
gem
.
description
=
gem
.
summary
gem
.
description
=
"Packaged for netSIGN, gem experimentation"
gem
.
email
=
[
"alex@stinky.com"
,
'ctran@pragmaquest.com'
,
"x@nofxx.com"
]
gem
.
homepage
=
"http
://github.com/ctran/annotate
"
gem
.
homepage
=
"http
s://github.com/miyucy/annotate_models
"
gem
.
authors
=
[
'Cuong Tran'
,
"Alex Chaffee"
,
"Marcos Piccinini"
]
gem
.
files
=
FileList
[
"[A-Z]*.*"
,
"{bin,lib,tasks,spec}/**/*"
]
gem
.
rubyforge_project
=
"annotate"
gem
.
rubyforge_project
=
"
netsign-
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
# Jeweler::RubyforgeTasks.new do |rubyforge|
# rubyforge.doc_task = "rdoc"
# end
Jeweler
::
GemcutterTasks
.
new
rescue
LoadError
puts
"Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
require
'spec/rake/spectask'
Spec
::
Rake
::
SpecTask
.
new
(
:spec
)
do
|
spec
|
spec
.
libs
<<
'lib'
<<
'spec'
spec
.
spec_files
=
FileList
[
'spec/**/*_spec.rb'
]
end
Spec
::
Rake
::
SpecTask
.
new
(
:rcov
)
do
|
spec
|
spec
.
libs
<<
'lib'
<<
'spec'
spec
.
pattern
=
'spec/**/*_spec.rb'
spec
.
rcov
=
true
end
# Dir["#{File.dirname(__FILE)}/tasks/*.rake"].sort.each { |ext| load ext }
# require 'spec/rake/spectask'
# Spec::Rake::SpecTask.new(:spec) do |spec|
# spec.libs << 'lib' << 'spec'
# spec.spec_files = FileList['spec/**/*_spec.rb']
# end
#
# Spec::Rake::SpecTask.new(:rcov) do |spec|
# spec.libs << 'lib' << 'spec'
# spec.pattern = 'spec/**/*_spec.rb'
# spec.rcov = true
# end
require
'rake/rdoctask'
Rake
::
RDocTask
.
new
do
|
rdoc
|
...
...
VERSION.yml
View file @
7d4f2152
---
:major
:
2
:minor
:
4
:patch
:
2
:patch
:
3
netsign-annotate.gemspec
0 → 100644
View file @
7d4f2152
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
Gem
::
Specification
.
new
do
|
s
|
s
.
name
=
%q{netsign-annotate}
s
.
version
=
"2.4.3"
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{2011-01-30}
s
.
default_executable
=
%q{annotate}
s
.
description
=
%q{Packaged for netSIGN, gem experimentation}
s
.
email
=
[
"alex@stinky.com"
,
"ctran@pragmaquest.com"
,
"x@nofxx.com"
]
s
.
executables
=
[
"annotate"
]
s
.
extra_rdoc_files
=
[
"README.rdoc"
]
s
.
files
=
[
"History.txt"
,
"README.rdoc"
,
"VERSION.yml"
,
"bin/annotate"
,
"lib/annotate.rb"
,
"lib/annotate/annotate_models.rb"
,
"lib/annotate/annotate_routes.rb"
,
"lib/tasks/annotate_models.rake"
,
"lib/tasks/annotate_routes.rake"
,
"lib/tasks/migrate.rake"
,
"spec/annotate/annotate_models_spec.rb"
,
"spec/annotate/annotate_routes_spec.rb"
,
"spec/annotate_spec.rb"
,
"spec/spec.opts"
,
"spec/spec_helper.rb"
]
s
.
homepage
=
%q{https://github.com/miyucy/annotate_models}
s
.
require_paths
=
[
"lib"
]
s
.
rubyforge_project
=
%q{netsign-annotate}
s
.
rubygems_version
=
%q{1.3.7}
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
::
VERSION
)
>=
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