Rakefile in credentials-1.0.1 vs Rakefile in credentials-2.0.0
- old
+ new
@@ -1,20 +2 @@
-require 'rake'
-require 'spec/rake/spectask'
-require 'rcov/rcovtask'
-
-desc 'Default: run specs.'
-task :default => :spec
-
-desc 'Run the specs'
-Spec::Rake::SpecTask.new(:spec) do |t|
- t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
- t.spec_files = FileList['spec/**/*_spec.rb']
-end
-
-desc 'Output test coverage of plugin.'
-Rcov::RcovTask.new(:rcov) do |rcov|
- rcov.pattern = 'spec/**/*_spec.rb'
- rcov.output_dir = 'rcov'
- rcov.verbose = true
- rcov.rcov_opts << '--exclude "test_app/config/*"'
-end
+Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
\ No newline at end of file