Rakefile in vertebrae-0.2.11 vs Rakefile in vertebrae-0.3.0
- old
+ new
@@ -9,31 +9,34 @@
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake'
-require 'jeweler'
-Jeweler::Tasks.new do |gem|
+require 'juwelier'
+Juwelier::Tasks.new do |gem|
+ # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
gem.name = "vertebrae"
gem.homepage = "http://github.com/controlshift/vertebrae"
gem.license = "MIT"
gem.summary = %Q{API Client Infrastructure}
gem.description = %Q{A set of low level infrastructure and reusable code for building API clients}
gem.email = "nathan@controlshiftlabs.com"
gem.authors = ["Nathan Woodhull"]
+
# dependencies defined in Gemfile
end
-Jeweler::RubygemsDotOrgTasks.new
+Juwelier::RubygemsDotOrgTasks.new
require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end
-RSpec::Core::RakeTask.new(:rcov) do |spec|
- spec.pattern = 'spec/**/*_spec.rb'
- spec.rcov = true
+desc "Code coverage detail"
+task :simplecov do
+ ENV['COVERAGE'] = "true"
+ Rake::Task['spec'].execute
end
task :default => :spec
require 'rdoc/task'