nofxx-annotate 2.2.5 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +6 -0
- data/History.txt +16 -16
- data/README.rdoc +59 -18
- data/Rakefile +48 -28
- data/bin/annotate +10 -8
- data/lib/annotate/annotate_models.rb +65 -28
- data/lib/annotate.rb +9 -9
- data/lib/tasks/annotate_models.rake +9 -4
- data/spec/annotate/annotate_models_spec.rb +10 -2
- data/spec/annotate/annotate_routes_spec.rb +1 -1
- data/spec/annotate_spec.rb +3 -4
- metadata +18 -43
- data/License.txt +0 -21
- data/Manifest.txt +0 -66
- data/annotate.gemspec +0 -39
- data/script/console +0 -10
- data/script/destroy +0 -14
- data/script/generate +0 -14
- data/setup.rb +0 -1585
- data/tasks/rspec.rake +0 -21
metadata
CHANGED
@@ -1,76 +1,48 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nofxx-annotate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
+
- Cuong Tran
|
7
8
|
- Marcos Piccinini
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
12
|
|
12
|
-
date:
|
13
|
+
date: 2009-06-11 00:00:00 -07:00
|
13
14
|
default_executable: annotate
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
version_requirements: !ruby/object:Gem::Requirement
|
19
|
-
requirements:
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 1.2.2
|
23
|
-
version:
|
24
|
-
- !ruby/object:Gem::Dependency
|
25
|
-
name: hoe
|
26
|
-
version_requirement:
|
27
|
-
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
requirements:
|
29
|
-
- - ">="
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version: 1.8.0
|
32
|
-
version:
|
33
|
-
description: Annotates Rails Models and Routes
|
34
|
-
email:
|
35
|
-
- x@nofxx.com
|
15
|
+
dependencies: []
|
16
|
+
|
17
|
+
description:
|
18
|
+
email: x@nofxx.com
|
36
19
|
executables:
|
37
20
|
- annotate
|
38
21
|
extensions: []
|
39
22
|
|
40
23
|
extra_rdoc_files:
|
41
|
-
- History.txt
|
42
|
-
- License.txt
|
43
|
-
- Manifest.txt
|
44
24
|
- README.rdoc
|
45
25
|
files:
|
26
|
+
- .gitignore
|
46
27
|
- History.txt
|
47
|
-
- License.txt
|
48
|
-
- Manifest.txt
|
49
28
|
- README.rdoc
|
50
29
|
- Rakefile
|
51
|
-
- annotate.gemspec
|
52
30
|
- bin/annotate
|
53
31
|
- lib/annotate.rb
|
54
32
|
- lib/annotate/annotate_models.rb
|
55
33
|
- lib/annotate/annotate_routes.rb
|
56
34
|
- lib/tasks/annotate_models.rake
|
57
35
|
- lib/tasks/annotate_routes.rake
|
58
|
-
- script/console
|
59
|
-
- script/destroy
|
60
|
-
- script/generate
|
61
|
-
- setup.rb
|
62
36
|
- spec/annotate/annotate_models_spec.rb
|
63
37
|
- spec/annotate/annotate_routes_spec.rb
|
64
38
|
- spec/annotate_spec.rb
|
65
39
|
- spec/spec.opts
|
66
40
|
- spec/spec_helper.rb
|
67
|
-
|
68
|
-
has_rdoc: true
|
41
|
+
has_rdoc: false
|
69
42
|
homepage: http://github.com/nofxx/annotate
|
70
43
|
post_install_message:
|
71
44
|
rdoc_options:
|
72
|
-
- --
|
73
|
-
- README.rdoc
|
45
|
+
- --charset=UTF-8
|
74
46
|
require_paths:
|
75
47
|
- lib
|
76
48
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -87,10 +59,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
59
|
version:
|
88
60
|
requirements: []
|
89
61
|
|
90
|
-
rubyforge_project:
|
62
|
+
rubyforge_project:
|
91
63
|
rubygems_version: 1.2.0
|
92
64
|
signing_key:
|
93
|
-
specification_version:
|
94
|
-
summary: Annotates Rails Models and
|
95
|
-
test_files:
|
96
|
-
|
65
|
+
specification_version: 3
|
66
|
+
summary: Annotates Rails Models, routes, and others
|
67
|
+
test_files:
|
68
|
+
- spec/annotate/annotate_models_spec.rb
|
69
|
+
- spec/annotate/annotate_routes_spec.rb
|
70
|
+
- spec/spec_helper.rb
|
71
|
+
- spec/annotate_spec.rb
|
data/License.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License
|
2
|
-
|
3
|
-
Copyright (c) 2008 Dave Thomas
|
4
|
-
|
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:
|
11
|
-
|
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.
|
data/Manifest.txt
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
History.txt
|
2
|
-
License.txt
|
3
|
-
Manifest.txt
|
4
|
-
README.rdoc
|
5
|
-
Rakefile
|
6
|
-
annotate.gemspec
|
7
|
-
bin/annotate
|
8
|
-
lib/annotate.rb
|
9
|
-
lib/annotate/annotate_models.rb
|
10
|
-
lib/annotate/annotate_routes.rb
|
11
|
-
lib/tasks/annotate_models.rake
|
12
|
-
lib/tasks/annotate_routes.rake
|
13
|
-
script/console
|
14
|
-
script/destroy
|
15
|
-
script/generate
|
16
|
-
setup.rb
|
17
|
-
spec/annotate/annotate_models_spec.rb
|
18
|
-
spec/annotate/annotate_routes_spec.rb
|
19
|
-
spec/annotate_spec.rb
|
20
|
-
spec/spec.opts
|
21
|
-
spec/spec_helper.rb
|
22
|
-
tasks/rspec.rake
|
23
|
-
History.txt
|
24
|
-
License.txt
|
25
|
-
Manifest.txt
|
26
|
-
README.rdoc
|
27
|
-
Rakefile
|
28
|
-
annotate.gemspec
|
29
|
-
bin/annotate
|
30
|
-
lib/annotate.rb
|
31
|
-
lib/annotate/annotate_models.rb
|
32
|
-
lib/annotate/annotate_routes.rb
|
33
|
-
lib/tasks/annotate_models.rake
|
34
|
-
lib/tasks/annotate_routes.rake
|
35
|
-
script/console
|
36
|
-
script/destroy
|
37
|
-
script/generate
|
38
|
-
setup.rb
|
39
|
-
spec/annotate/annotate_models_spec.rb
|
40
|
-
spec/annotate/annotate_routes_spec.rb
|
41
|
-
spec/annotate_spec.rb
|
42
|
-
spec/spec.opts
|
43
|
-
spec/spec_helper.rb
|
44
|
-
tasks/rspec.rake
|
45
|
-
History.txt
|
46
|
-
License.txt
|
47
|
-
Manifest.txt
|
48
|
-
README.rdoc
|
49
|
-
Rakefile
|
50
|
-
annotate.gemspec
|
51
|
-
bin/annotate
|
52
|
-
lib/annotate.rb
|
53
|
-
lib/annotate/annotate_models.rb
|
54
|
-
lib/annotate/annotate_routes.rb
|
55
|
-
lib/tasks/annotate_models.rake
|
56
|
-
lib/tasks/annotate_routes.rake
|
57
|
-
script/console
|
58
|
-
script/destroy
|
59
|
-
script/generate
|
60
|
-
setup.rb
|
61
|
-
spec/annotate/annotate_models_spec.rb
|
62
|
-
spec/annotate/annotate_routes_spec.rb
|
63
|
-
spec/annotate_spec.rb
|
64
|
-
spec/spec.opts
|
65
|
-
spec/spec_helper.rb
|
66
|
-
tasks/rspec.rake
|
data/annotate.gemspec
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
Gem::Specification.new do |s|
|
4
|
-
s.name = %q{annotate}
|
5
|
-
s.version = "2.2.5"
|
6
|
-
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = ["Marcos Piccinini"]
|
9
|
-
s.date = %q{2008-12-28}
|
10
|
-
s.default_executable = %q{annotate}
|
11
|
-
s.description = %q{Annotates Rails Models and Routes}
|
12
|
-
s.email = ["x@nofxx.com"]
|
13
|
-
s.executables = ["annotate"]
|
14
|
-
s.extra_rdoc_files = ["History.txt", "License.txt", "Manifest.txt", "README.rdoc"]
|
15
|
-
s.files = ["History.txt", "License.txt", "Manifest.txt", "README.rdoc", "Rakefile", "annotate.gemspec", "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", "script/console", "script/destroy", "script/generate", "setup.rb", "spec/annotate/annotate_models_spec.rb", "spec/annotate/annotate_routes_spec.rb", "spec/annotate_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "tasks/rspec.rake"]
|
16
|
-
s.has_rdoc = true
|
17
|
-
s.homepage = %q{http://github.com/nofxx/annotate}
|
18
|
-
s.rdoc_options = ["--main", "README.rdoc"]
|
19
|
-
s.require_paths = ["lib"]
|
20
|
-
s.rubyforge_project = %q{annotate}
|
21
|
-
s.rubygems_version = %q{1.3.1}
|
22
|
-
s.summary = %q{Annotates Rails Models and Routes}
|
23
|
-
|
24
|
-
if s.respond_to? :specification_version then
|
25
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
26
|
-
s.specification_version = 2
|
27
|
-
|
28
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
29
|
-
s.add_development_dependency(%q<newgem>, [">= 1.2.2"])
|
30
|
-
s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
|
31
|
-
else
|
32
|
-
s.add_dependency(%q<newgem>, [">= 1.2.2"])
|
33
|
-
s.add_dependency(%q<hoe>, [">= 1.8.0"])
|
34
|
-
end
|
35
|
-
else
|
36
|
-
s.add_dependency(%q<newgem>, [">= 1.2.2"])
|
37
|
-
s.add_dependency(%q<hoe>, [">= 1.8.0"])
|
38
|
-
end
|
39
|
-
end
|
data/script/console
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# File: script/console
|
3
|
-
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
|
4
|
-
|
5
|
-
libs = " -r irb/completion"
|
6
|
-
# Perhaps use a console_lib to store any extra methods I may want available in the cosole
|
7
|
-
# libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
|
8
|
-
libs << " -r #{File.dirname(__FILE__) + '/../lib/annotate.rb'}"
|
9
|
-
puts "Loading annotate gem"
|
10
|
-
exec "#{irb} #{libs} --simple-prompt"
|
data/script/destroy
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'rubigen'
|
6
|
-
rescue LoadError
|
7
|
-
require 'rubygems'
|
8
|
-
require 'rubigen'
|
9
|
-
end
|
10
|
-
require 'rubigen/scripts/destroy'
|
11
|
-
|
12
|
-
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
-
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
14
|
-
RubiGen::Scripts::Destroy.new.run(ARGV)
|
data/script/generate
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'rubigen'
|
6
|
-
rescue LoadError
|
7
|
-
require 'rubygems'
|
8
|
-
require 'rubigen'
|
9
|
-
end
|
10
|
-
require 'rubigen/scripts/generate'
|
11
|
-
|
12
|
-
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
-
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
14
|
-
RubiGen::Scripts::Generate.new.run(ARGV)
|