[DRE-commits] [ruby-re2] 02/08: use ruby-tests.rake

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Aug 19 05:41:51 UTC 2017


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository ruby-re2.

commit 877c5276f3abae5dac5c087706f97e2512bec5de
Author: Pirate Praveen <praveen at debian.org>
Date:   Sat Aug 19 11:02:47 2017 +0530

    use ruby-tests.rake
---
 debian/ruby-tests.rake | 7 +++++++
 debian/ruby-tests.rb   | 3 ---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..dcc1601
--- /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 c0e7468..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-$: << 'spec' << 'lib' << 'ext' << '.'
-
-Dir['{spec}/**/*_spec.rb'].each { |f| require f }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-re2.git



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