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
data/tasks/rspec.rake
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require 'spec'
|
3
|
-
rescue LoadError
|
4
|
-
require 'rubygems'
|
5
|
-
require 'spec'
|
6
|
-
end
|
7
|
-
begin
|
8
|
-
require 'spec/rake/spectask'
|
9
|
-
rescue LoadError
|
10
|
-
puts <<-EOS
|
11
|
-
To use rspec for testing you must install rspec gem:
|
12
|
-
gem install rspec
|
13
|
-
EOS
|
14
|
-
exit(0)
|
15
|
-
end
|
16
|
-
|
17
|
-
desc "Run the specs under spec/models"
|
18
|
-
Spec::Rake::SpecTask.new do |t|
|
19
|
-
t.spec_opts = ['--options', "spec/spec.opts"]
|
20
|
-
t.spec_files = FileList['spec/**/*_spec.rb']
|
21
|
-
end
|