[DRE-commits] [SCM] ruby-rspec-expectations.git branch, master, updated. upstream/2.8.0-17-g0ea84a4

Cédric Boutillier cedric.boutillier at gmail.com
Fri May 11 14:03:54 UTC 2012


The following commit has been merged in the master branch:
commit 40102cedf2c651ce9f6003a9d0db2a7f644131cf
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Fri May 11 11:52:12 2012 +0200

    use rake to run the tests

diff --git a/debian/control b/debian/control
index b997599..3acb309 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Lucas Nussbaum <lucas at debian.org>, Cédric Boutillier <cedric.boutillier at gmail.com>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.1), ruby-rspec-mocks, ruby-diff-lcs, ruby-rspec-core
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.1), ruby-rspec-mocks, ruby-diff-lcs, ruby-rspec-core, rake
 Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-rspec-expectations.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-rspec-expectations.git;a=summary
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..89a753d
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  spec.pattern      = './spec/**/*_spec.rb'
+end
+
+task :default => :spec
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index 2179f56..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-$: << 'spec'
-Dir["./spec/rspec/{matchers,expectations}/*_spec.rb"].each { |file| require file }

-- 
ruby-rspec-expectations.git



More information about the Pkg-ruby-extras-commits mailing list