Commit 32dbcc0b by Prem Sichanugrist

Silent Rake which keeps complaining us to switch to rdoc/task

parent 5be67595
...@@ -11,3 +11,4 @@ gem "fog" ...@@ -11,3 +11,4 @@ gem "fog"
gem "bundler" gem "bundler"
gem "cocaine" gem "cocaine"
gem "mime-types" gem "mime-types"
gem "rdoc", :require => false
...@@ -44,6 +44,7 @@ GEM ...@@ -44,6 +44,7 @@ GEM
net-ssh (2.1.4) net-ssh (2.1.4)
nokogiri (1.4.4) nokogiri (1.4.4)
rake (0.9.2) rake (0.9.2)
rdoc (3.7)
rspec (2.6.0) rspec (2.6.0)
rspec-core (~> 2.6.0) rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0) rspec-expectations (~> 2.6.0)
...@@ -72,5 +73,6 @@ DEPENDENCIES ...@@ -72,5 +73,6 @@ DEPENDENCIES
mime-types mime-types
mocha mocha
rake rake
rdoc
shoulda shoulda
sqlite3-ruby (~> 1.3.0) sqlite3-ruby (~> 1.3.0)
...@@ -4,7 +4,7 @@ require 'bundler/setup' ...@@ -4,7 +4,7 @@ require 'bundler/setup'
require 'rake' require 'rake'
require 'rake/testtask' require 'rake/testtask'
require 'rake/rdoctask' require 'rdoc/task'
$LOAD_PATH << File.join(File.dirname(__FILE__), 'lib') $LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
require 'paperclip' require 'paperclip'
...@@ -31,7 +31,7 @@ task :shell do |t| ...@@ -31,7 +31,7 @@ task :shell do |t|
end end
desc 'Generate documentation for the paperclip plugin.' desc 'Generate documentation for the paperclip plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc| RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'doc' rdoc.rdoc_dir = 'doc'
rdoc.title = 'Paperclip' rdoc.title = 'Paperclip'
rdoc.options << '--line-numbers' << '--inline-source' rdoc.options << '--line-numbers' << '--inline-source'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment