aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/Rakefile')
-rwxr-xr-x[-rw-r--r--]activemodel/Rakefile20
1 files changed, 1 insertions, 19 deletions
diff --git a/activemodel/Rakefile b/activemodel/Rakefile
index 3fffc0d021..0a10912695 100644..100755
--- a/activemodel/Rakefile
+++ b/activemodel/Rakefile
@@ -1,8 +1,5 @@
dir = File.dirname(__FILE__)
-gem 'rdoc', '>= 2.5.9'
-require 'rdoc'
-
require 'rake/testtask'
task :default => :test
@@ -17,26 +14,11 @@ namespace :test do
task :isolated do
ruby = File.join(*RbConfig::CONFIG.values_at('bindir', 'RUBY_INSTALL_NAME'))
Dir.glob("#{dir}/test/**/*_test.rb").all? do |file|
- system(ruby, '-w', "-I#{dir}/lib", "-I#{dir}/test", file)
+ sh(ruby, '-w', "-I#{dir}/lib", "-I#{dir}/test", file)
end or raise "Failures"
end
end
-
-require 'rdoc/task'
-
-# Generate the RDoc documentation
-RDoc::Task.new do |rdoc|
- rdoc.rdoc_dir = "doc"
- rdoc.title = "Active Model"
- rdoc.options << '-f' << 'horo'
- rdoc.options << '--charset' << 'utf-8'
- rdoc.options << '--main' << 'README.rdoc'
- rdoc.rdoc_files.include("README.rdoc", "CHANGELOG")
- rdoc.rdoc_files.include("lib/**/*.rb")
-end
-
-
require 'rake/packagetask'
require 'rake/gempackagetask'