[DRE-commits] [ruby-rack-contrib] 03/10: remove unecessary(?) usage of minitest-hooks

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Jul 14 23:34:17 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-rack-contrib.

commit 24b8ec1cfcb1389338d8564314e555a03839667e
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Jul 14 20:13:28 2015 -0300

    remove unecessary(?) usage of minitest-hooks
---
 ...t-spec_rack_locale.rb-skip-minitest-hooks.patch | 26 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/0002-test-spec_rack_locale.rb-skip-minitest-hooks.patch b/debian/patches/0002-test-spec_rack_locale.rb-skip-minitest-hooks.patch
new file mode 100644
index 0000000..b3cf77b
--- /dev/null
+++ b/debian/patches/0002-test-spec_rack_locale.rb-skip-minitest-hooks.patch
@@ -0,0 +1,26 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Tue, 14 Jul 2015 20:12:29 -0300
+Subject: test/spec_rack_locale.rb: skip minitest-hooks
+
+removing this does not seem to have any effect on the test suite
+---
+ test/spec_rack_locale.rb | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/test/spec_rack_locale.rb b/test/spec_rack_locale.rb
+index 2099fc5..ffacb9f 100644
+--- a/test/spec_rack_locale.rb
++++ b/test/spec_rack_locale.rb
+@@ -1,12 +1,10 @@
+ require 'minitest/autorun'
+-require 'minitest/hooks'
+ require 'rack/mock'
+ 
+ begin
+   require './lib/rack/contrib/locale'
+ 
+   describe "Rack::Locale" do
+-    include Minitest::Hooks
+ 
+     before(:all) do
+       # Set the locales that will be used at various points in the tests
diff --git a/debian/patches/series b/debian/patches/series
index b1c7de0..6542767 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Remove-dependency-on-git-version-bump.patch
+0002-test-spec_rack_locale.rb-skip-minitest-hooks.patch

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



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