[DRE-commits] [gem2deb] 02/15: dh-make-ruby: stop creating debian/ruby-test-files.yaml

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Jan 23 19:37:35 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 8ff1aa3b3ab8082a9ddc1ba10bd3300b8684b5cb
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Jan 23 10:32:18 2016 -0200

    dh-make-ruby: stop creating debian/ruby-test-files.yaml
---
 debian/changelog            |  4 ++++
 lib/gem2deb/dh_make_ruby.rb | 14 +-------------
 2 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 05e4471..2f16b65 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,10 @@
 gem2deb (0.25) UNRELEASED; urgency=medium
 
   * debian/control: switch from git:// to https:// in Vcs-Git:
+  * dh-make-ruby: stop creating debian/ruby-test-files.yaml. In my experience
+    that almost never works out of the box.
+    - Note that dh_ruby still supports it, we just won't autogenerate that
+      when creating new packaging from scratch anymorel.
 
  -- Antonio Terceiro <terceiro at debian.org>  Sat, 09 Jan 2016 21:00:29 -0200
 
diff --git a/lib/gem2deb/dh_make_ruby.rb b/lib/gem2deb/dh_make_ruby.rb
index 5a01409..6c7a9ce 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_yaml or test_suite_rb
+      test_suite_rspec or test_suite_rb
     end
 
     def test_suite_rspec
@@ -411,18 +411,6 @@ end
       end
     end
 
-
-    def test_suite_yaml
-      if !metadata.test_files.empty?
-        maybe_create("debian/ruby-test-files.yaml") do |f|
-          YAML::dump(metadata.test_files, f)
-        end
-        true
-      else
-        false
-      end
-    end
-
     def test_suite_rb
       if File::directory?("test")
         extra_build_dependencies << 'rake'

-- 
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