Rakefile in sk_calc-0.0.6 vs Rakefile in sk_calc-1.0.0
- old
+ new
@@ -1,8 +1,7 @@
#!/usr/bin/env rake
require 'rake'
-require 'rdoc/task'
require 'rspec'
require 'rspec/core/rake_task'
require 'bundler/gem_tasks'
desc 'Default: run specs.'
@@ -11,15 +10,5 @@
desc "Run specs"
RSpec::Core::RakeTask.new do |t|
t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
# Put spec opts in a file named .rspec in root
end
-
-desc 'Generate documentation.'
-Rake::RDocTask.new(:rdoc) do |rdoc|
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = 'SalesKing Calculation'
- rdoc.options << '--line-numbers' << '--inline-source'
- rdoc.rdoc_files.include('README')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
-