Fix spec task and add .travis.yml - reportable - Fork of reportable required by WarVox, from hdm/reportable.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 9dcbbc9188b7f1749a7997cff911484d8cc84f24
(DIR) parent 0afe9dbd5fb5cf6f67e834bea55b61e0a15223c9
(HTM) Author: Martin Kavalar <martin@sauspiel.de>
Date: Thu, 25 Oct 2012 15:23:19 +0200
Fix spec task and add .travis.yml
Diffstat:
A .travis.yml | 4 ++++
M Rakefile | 10 +++-------
2 files changed, 7 insertions(+), 7 deletions(-)
---
(DIR) diff --git a/.travis.yml b/.travis.yml
@@ -0,0 +1,4 @@
+language: ruby
+rvm:
+ - 1.9.3
+script: "rake spec"
(DIR) diff --git a/Rakefile b/Rakefile
@@ -4,15 +4,14 @@ require 'bundler'
Bundler.setup
Bundler.require
-require 'spec/rake/spectask'
-require 'simplabs/excellent/rake'
+require "rspec/core/rake_task"
+
desc 'Default: run specs.'
task :default => :spec
desc 'Run the specs'
-Spec::Rake::SpecTask.new(:spec) do |t|
- t.spec_files = FileList['spec/**/*_spec.rb']
+RSpec::Core::RakeTask.new(:spec) do |spec|
end
YARD::Rake::YardocTask.new(:doc) do |t|
@@ -20,6 +19,3 @@ YARD::Rake::YardocTask.new(:doc) do |t|
t.options = ['--no-private', '--title', 'Reportable Documentation']
end
-Simplabs::Excellent::Rake::ExcellentTask.new(:excellent) do |t|
- t.paths = %w(lib)
-end