Rakefile in sk_calc-0.0.3 vs Rakefile in sk_calc-0.0.4

- old
+ new

@@ -1,35 +1,25 @@ #!/usr/bin/env rake require 'rake' require 'rdoc/task' require 'rspec' require 'rspec/core/rake_task' +require 'bundler/gem_tasks' desc 'Default: run specs.' task :default => :spec 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 code coverage" -RSpec::Core::RakeTask.new(:coverage) do |t| - t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default. - t.rcov = true - t.rcov_opts = ['--exclude', 'spec'] -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 -#require "bundler/gem_tasks" -########### to be dropped when we go public -require "bundler/gem_helper" -Bundler::GemHelper.install_tasks \ No newline at end of file