[DRE-commits] [gem2deb] 03/15: Rename method to convey meaning

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Jan 23 19:37:36 UTC 2016


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

terceiro pushed a commit to branch master
in repository gem2deb.

commit 883fdd79c2ed7c8d93056faaf15cd5fa8d124677
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Jan 23 10:33:05 2016 -0200

    Rename method to convey meaning
---
 lib/gem2deb/dh_make_ruby.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/gem2deb/dh_make_ruby.rb b/lib/gem2deb/dh_make_ruby.rb
index 6c7a9ce..948388a 100644
--- a/lib/gem2deb/dh_make_ruby.rb
+++ b/lib/gem2deb/dh_make_ruby.rb
@@ -390,7 +390,7 @@ module Gem2Deb
     end
 
     def test_suite
-      test_suite_rspec or test_suite_rb
+      test_suite_rspec or test_suite_testunit_or_minitest
     end
 
     def test_suite_rspec
@@ -411,7 +411,7 @@ end
       end
     end
 
-    def test_suite_rb
+    def test_suite_testunit_or_minitest
       if File::directory?("test")
         extra_build_dependencies << 'rake'
         maybe_create("debian/ruby-tests.rake") do |f|

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



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