nofxx-annotate 2.3.2 → 3.0.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/Rakefile +12 -12
- data/VERSION +1 -1
- data/lib/annotate/railtie.rb +11 -0
- data/lib/annotate.rb +2 -0
- data/{annotate.gemspec → nofxx-annotate.gemspec} +9 -7
- metadata +17 -8
data/Rakefile
CHANGED
@@ -4,7 +4,7 @@ require 'rake'
|
|
4
4
|
begin
|
5
5
|
require 'jeweler'
|
6
6
|
Jeweler::Tasks.new do |gem|
|
7
|
-
gem.name = "annotate"
|
7
|
+
gem.name = "nofxx-annotate"
|
8
8
|
gem.summary = "Annotates Rails Models, routes, and others"
|
9
9
|
gem.email = "x@nofxx.com"
|
10
10
|
gem.homepage = "http://github.com/nofxx/annotate"
|
@@ -16,20 +16,20 @@ rescue LoadError
|
|
16
16
|
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
17
17
|
end
|
18
18
|
|
19
|
-
require 'spec/rake/spectask'
|
20
|
-
Spec::Rake::SpecTask.new(:spec) do |spec|
|
21
|
-
|
22
|
-
|
23
|
-
end
|
19
|
+
#require 'spec/rake/spectask'
|
20
|
+
# Spec::Rake::SpecTask.new(:spec) do |spec|
|
21
|
+
# spec.libs << 'lib' << 'spec'
|
22
|
+
# spec.spec_files = FileList['spec/**/*_spec.rb']
|
23
|
+
# end
|
24
24
|
|
25
|
-
Spec::Rake::SpecTask.new(:rcov) do |spec|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
end
|
25
|
+
# Spec::Rake::SpecTask.new(:rcov) do |spec|
|
26
|
+
# spec.libs << 'lib' << 'spec'
|
27
|
+
# spec.pattern = 'spec/**/*_spec.rb'
|
28
|
+
# spec.rcov = true
|
29
|
+
# end
|
30
30
|
|
31
31
|
|
32
|
-
task :default => :spec
|
32
|
+
# task :default => :spec
|
33
33
|
|
34
34
|
require 'rake/rdoctask'
|
35
35
|
Rake::RDocTask.new do |rdoc|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.0
|
data/lib/annotate.rb
CHANGED
@@ -2,6 +2,8 @@ $:.unshift(File.dirname(__FILE__)) unless
|
|
2
2
|
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
|
3
3
|
|
4
4
|
module Annotate
|
5
|
+
require 'my_plugin/railtie' if defined?(Rails)
|
6
|
+
|
5
7
|
def self.load_tasks
|
6
8
|
if File.exists?('Rakefile')
|
7
9
|
load 'Rakefile'
|
@@ -1,15 +1,15 @@
|
|
1
1
|
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{annotate}
|
8
|
-
s.version = "
|
7
|
+
s.name = %q{nofxx-annotate}
|
8
|
+
s.version = "3.0.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Cuong Tran", "Marcos Piccinini"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2010-05-10}
|
13
13
|
s.default_executable = %q{annotate}
|
14
14
|
s.email = %q{x@nofxx.com}
|
15
15
|
s.executables = ["annotate"]
|
@@ -22,13 +22,14 @@ Gem::Specification.new do |s|
|
|
22
22
|
"README.rdoc",
|
23
23
|
"Rakefile",
|
24
24
|
"VERSION",
|
25
|
-
"annotate.gemspec",
|
26
25
|
"bin/annotate",
|
27
26
|
"lib/annotate.rb",
|
28
27
|
"lib/annotate/annotate_models.rb",
|
29
28
|
"lib/annotate/annotate_routes.rb",
|
29
|
+
"lib/annotate/railtie.rb",
|
30
30
|
"lib/tasks/annotate_models.rake",
|
31
31
|
"lib/tasks/annotate_routes.rake",
|
32
|
+
"nofxx-annotate.gemspec",
|
32
33
|
"spec/annotate/annotate_models_spec.rb",
|
33
34
|
"spec/annotate/annotate_routes_spec.rb",
|
34
35
|
"spec/annotate_spec.rb",
|
@@ -38,7 +39,7 @@ Gem::Specification.new do |s|
|
|
38
39
|
s.homepage = %q{http://github.com/nofxx/annotate}
|
39
40
|
s.rdoc_options = ["--charset=UTF-8"]
|
40
41
|
s.require_paths = ["lib"]
|
41
|
-
s.rubygems_version = %q{1.3.
|
42
|
+
s.rubygems_version = %q{1.3.6}
|
42
43
|
s.summary = %q{Annotates Rails Models, routes, and others}
|
43
44
|
s.test_files = [
|
44
45
|
"spec/annotate/annotate_models_spec.rb",
|
@@ -57,3 +58,4 @@ Gem::Specification.new do |s|
|
|
57
58
|
else
|
58
59
|
end
|
59
60
|
end
|
61
|
+
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nofxx-annotate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 3
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
version: 3.0.0
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Cuong Tran
|
@@ -10,7 +15,7 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date:
|
18
|
+
date: 2010-05-10 00:00:00 -03:00
|
14
19
|
default_executable: annotate
|
15
20
|
dependencies: []
|
16
21
|
|
@@ -28,21 +33,23 @@ files:
|
|
28
33
|
- README.rdoc
|
29
34
|
- Rakefile
|
30
35
|
- VERSION
|
31
|
-
- annotate.gemspec
|
32
36
|
- bin/annotate
|
33
37
|
- lib/annotate.rb
|
34
38
|
- lib/annotate/annotate_models.rb
|
35
39
|
- lib/annotate/annotate_routes.rb
|
40
|
+
- lib/annotate/railtie.rb
|
36
41
|
- lib/tasks/annotate_models.rake
|
37
42
|
- lib/tasks/annotate_routes.rake
|
43
|
+
- nofxx-annotate.gemspec
|
38
44
|
- spec/annotate/annotate_models_spec.rb
|
39
45
|
- spec/annotate/annotate_routes_spec.rb
|
40
46
|
- spec/annotate_spec.rb
|
41
47
|
- spec/spec.opts
|
42
48
|
- spec/spec_helper.rb
|
43
|
-
has_rdoc:
|
49
|
+
has_rdoc: true
|
44
50
|
homepage: http://github.com/nofxx/annotate
|
45
|
-
licenses:
|
51
|
+
licenses: []
|
52
|
+
|
46
53
|
post_install_message:
|
47
54
|
rdoc_options:
|
48
55
|
- --charset=UTF-8
|
@@ -52,18 +59,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
52
59
|
requirements:
|
53
60
|
- - ">="
|
54
61
|
- !ruby/object:Gem::Version
|
62
|
+
segments:
|
63
|
+
- 0
|
55
64
|
version: "0"
|
56
|
-
version:
|
57
65
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
66
|
requirements:
|
59
67
|
- - ">="
|
60
68
|
- !ruby/object:Gem::Version
|
69
|
+
segments:
|
70
|
+
- 0
|
61
71
|
version: "0"
|
62
|
-
version:
|
63
72
|
requirements: []
|
64
73
|
|
65
74
|
rubyforge_project:
|
66
|
-
rubygems_version: 1.3.
|
75
|
+
rubygems_version: 1.3.6
|
67
76
|
signing_key:
|
68
77
|
specification_version: 3
|
69
78
|
summary: Annotates Rails Models, routes, and others
|