Rakefile in retrospec-0.4.0 vs Rakefile in retrospec-0.5.0

- old
+ new

@@ -1,36 +1,8 @@ # encoding: utf-8 - -require 'rubygems' -require 'bundler' -begin - Bundler.setup(:default, :development) -rescue Bundler::BundlerError => e - $stderr.puts e.message - $stderr.puts "Run `bundle install` to install missing gems" - exit e.status_code -end -require 'rake' - -require 'jeweler' -Jeweler::Tasks.new do |gem| - # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options - gem.name = "retrospec" - gem.homepage = "http://github.com/nwops/retrospec" - gem.license = "MIT" - gem.summary = %Q{A devops framework for automating your development workflow} - gem.description = %Q{Retrospec is a framework that allows the automation of repetitive file creation with just about any kind of language through the use of a pluggable architecture.} - gem.email = "corey@logicminds.biz" - gem.authors = ["Corey Osman"] - # dependencies defined in Gemfile -end -Jeweler::RubygemsDotOrgTasks.new - -require 'rspec/core' +require 'bundler/gem_tasks' require 'rspec/core/rake_task' -RSpec::Core::RakeTask.new(:spec) do |spec| - spec.pattern = FileList['spec/**/*_spec.rb'] -end +RSpec::Core::RakeTask.new(:spec) desc "Code coverage detail" task :simplecov do ENV['COVERAGE'] = "true" Rake::Task['spec'].execute