public
Description: Treat an ActiveRecord model as a file attachment, storing its patch, size, content type, etc.
Homepage: http://weblog.techno-weenie.net
Clone URL: git://github.com/technoweenie/attachment_fu.git
Click here to lend your support to: attachment_fu and make a donation at www.pledgie.com !
Fixed RDoc documentation generation
nbibler (author)
Wed Jun 11 09:58:45 -0700 2008
commit  92384bf33ee3d1934c843119337f1164d58b7461
tree    f47d00a70744e6003d40fc758424392a1ff15f15
parent  d2a3164676876fb0598c8e0203610e056d45ac51
...
1
2
3
4
5
6
7
8
9
 
10
11
12
13
14
 
15
16
17
...
1
2
3
 
4
5
 
 
 
6
7
8
9
 
 
10
11
12
13
0
@@ -1,17 +1,13 @@
0
 require 'rake'
0
 require "rake/rdoctask"
0
 require 'rake/gempackagetask'
0
-require File.join(File.dirname(__FILE__), 'spec', 'spec_helper')
0
 require 'spec/rake/spectask'
0
 require 'spec/rake/verify_rcov'
0
-
0
-rdoc_files = FileList["{bin,lib,example_configs}/**/*"].to_a
0
-extra_rdoc_files = %w(README COPYRIGHT RELEASES CHANGELOG)
0
+require 'fileutils'
0
 
0
 Rake::RDocTask.new do |rd|
0
   rd.main = "README"
0
- rd.rdoc_files.include(rdoc_files, extra_rdoc_files)
0
- rd.rdoc_dir = "doc/rdoc/"
0
+ rd.rdoc_files.include("README", "CHANGELOG", "lib/**/*.rb")
0
 end
0
 
0
 desc "Run all examples with RCov"

Comments

    No one has commented yet.