lib/apimaster/generators/templates/Rakefile in apimaster-0.0.2 vs lib/apimaster/generators/templates/Rakefile in apimaster-0.0.3

- old
+ new

@@ -1,19 +1,5 @@ -require 'rake/gempackagetask' -require 'rubygems/specification' -require 'date' -require 'bundler' +# encoding: utf-8 +# +# Copyright (C) 2011-2012 AdMaster, Inc. -task :default => [:spec] - -require 'spec/rake/spectask' -desc "Run specs" -Spec::Rake::SpecTask.new do |t| - t.spec_files = FileList['spec/**/*_spec.rb'] - t.spec_opts = %w(-fs --color) - t.spec_opts << '--loadby' << 'random' - - t.rcov_opts << '--exclude' << 'spec,.bundle' - t.rcov = ENV.has_key?('NO_RCOV') ? ENV['NO_RCOV'] != 'true' : true - t.rcov_opts << '--text-summary' - t.rcov_opts << '--sort' << 'coverage' << '--sort-reverse' -end +Dir["./app/tasks/**/*.rake"].sort.each { |ext| load ext }