Rakefile in peekaboo-0.2.1 vs Rakefile in peekaboo-0.3.0
- old
+ new
@@ -1,7 +1,8 @@
require 'rubygems'
-require 'rake'
+require 'bundler/setup'
+
require 'spec/rake/spectask'
require 'rcov/rcovtask'
require 'yard'
Spec::Rake::SpecTask.new(:spec) do |t|
@@ -9,12 +10,10 @@
t.verbose = true
end
Rcov::RcovTask.new(:rcov) do |t|
t.test_files = FileList['spec/**/*_spec.rb']
- t.rcov_opts = ['--exclude', '/gems/,spec'] # /gems/,/Library/,spec,.bundle,config
+ t.rcov_opts = ['--exclude', '/gems/,spec']
t.verbose = true
end
-YARD::Rake::YardocTask.new(:yard) do |t|
- t.files = ["lib/**/*.rb", "-", "CHANGELOG.md"]
-end
+YARD::Rake::YardocTask.new(:yard)