[DRE-commits] [SCM] ruby-warden.git branch, master, updated. upstream/1.2.1-7-g4f4521c

Praveen Arimbrathodiyil praveen at debian.org
Tue Nov 13 19:12:48 UTC 2012


The following commit has been merged in the master branch:
commit d1546c26d1ebf368bef72e31ccf75afedb17d62c
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Nov 14 00:32:24 2012 +0530

    use ruby-tests.rake

diff --git a/debian/changelog b/debian/changelog
index 7e0f9e0..6f0b4c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,7 @@ ruby-warden (1.2.1-2) unstable; urgency=low
   * Upload to unstable
   * Install README.textfile as doc
   * Install History.rdoc as changelog
-  * Cleanup debian/ruby-tests.rb (remove commented lines)
+  * Use debian/ruby-tests.rake for tests
 
  -- Praveen Arimbrathodiyil <praveen at debian.org>  Wed, 14 Nov 2012 00:20:36 +0530
 
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 f6d0a8a..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1 +0,0 @@
-Dir['{spec}/**/*.rb'].each { |f| require f }

-- 
ruby-warden.git



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