Skip to content

Commit 304cb62

Browse files
author
Cuong Tran
committed
First usable release
1 parent 1da0386 commit 304cb62

37 files changed

+63
-2719
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pkg

License.txt

+18-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
Copyright (c) 2008 FIXME full name
1+
The MIT License
22

3-
Permission is hereby granted, free of charge, to any person obtaining
4-
a copy of this software and associated documentation files (the
5-
"Software"), to deal in the Software without restriction, including
6-
without limitation the rights to use, copy, modify, merge, publish,
7-
distribute, sublicense, and/or sell copies of the Software, and to
8-
permit persons to whom the Software is furnished to do so, subject to
9-
the following conditions:
3+
Copyright (c) 2008 Dave Thomas
104

11-
The above copyright notice and this permission notice shall be
12-
included in all copies or substantial portions of the Software.
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
1311

14-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

Manifest.txt

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ script/destroy
1212
script/generate
1313
script/txt2html
1414
setup.rb
15+
tasks/annotate.rake
1516
tasks/deployment.rake
1617
tasks/environment.rake
1718
tasks/website.rake

config/hoe.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ def extra_deps
5858

5959
# == Optional
6060
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
61-
#p.extra_deps = [] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
62-
61+
p.extra_deps = [['sake', '1.0.13']] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
6362
#p.spec_extras = {} # A hash of extra values to set in the gemspec.
6463

6564
end

lib/annotate_models.rb

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
$:.unshift File.dirname(__FILE__)
2-
31
module AnnotateModels
4-
RAILS_ROOT = '.'
5-
MODEL_DIR = File.join(RAILS_ROOT, "app/models")
6-
FIXTURE_DIR = File.join(RAILS_ROOT, "test/fixtures")
2+
MODEL_DIR = "app/models"
3+
FIXTURE_DIR = "test/fixtures"
74
PREFIX = "== Schema Information"
85

96
# Simple quoting for the default column value

lib/annotate_models/version.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module AnnotateModels #:nodoc:
22
module VERSION #:nodoc:
3-
MAJOR = 0
3+
MAJOR = 1
44
MINOR = 0
5-
TINY = 1
5+
TINY = 0
66

77
STRING = [MAJOR, MINOR, TINY].join('.')
88
end

pkg/annotate_models-0.0.1.gem

-27 KB
Binary file not shown.

pkg/annotate_models-0.0.1.tgz

-24.5 KB
Binary file not shown.

pkg/annotate_models-0.0.1/History.txt

-4
This file was deleted.

pkg/annotate_models-0.0.1/License.txt

-20
This file was deleted.

pkg/annotate_models-0.0.1/Manifest.txt

-24
This file was deleted.

pkg/annotate_models-0.0.1/README.txt

-32
This file was deleted.

pkg/annotate_models-0.0.1/Rakefile

-4
This file was deleted.

pkg/annotate_models-0.0.1/config/hoe.rb

-70
This file was deleted.

pkg/annotate_models-0.0.1/config/requirements.rb

-17
This file was deleted.

pkg/annotate_models-0.0.1/lib/annotate_models.rb

-126
This file was deleted.

0 commit comments

Comments
 (0)