Rakefile in koine-attributes-0.1.4 vs Rakefile in koine-attributes-0.2.0
- old
+ new
@@ -1,20 +1,19 @@
-require "bundler/gem_tasks"
-require "rspec/core/rake_task"
+require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
-task :default => :spec
+task default: :spec
namespace :test do
-
- desc "run tests and generate invoke coveralls"
+ desc 'run tests and generate invoke coveralls'
task :coveralls do
ENV['COVERALLS'] = 'true'
Rake::Task['test:coverage'].invoke
end
- desc "run tests and generate code coverage"
+ desc 'run tests and generate code coverage'
task :coverage do
ENV['COVERAGE'] = 'true'
Rake::Task[:spec].invoke
end
end