[DRE-commits] [ruby-handlebars-assets] 01/01: fix tests

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Jan 13 07:42:57 UTC 2016


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

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

commit 0995c32ecfdff94e6df84ee68adaa66582f8cc4e
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Jan 13 13:04:12 2016 +0530

    fix tests
---
 debian/changelog                            |  6 ++++++
 debian/patches/0004-require-slim-haml.patch | 13 +++++++++++++
 debian/patches/series                       |  1 +
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c6f0700..e078a53 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ruby-handlebars-assets (2:0.21.0-3) unstable; urgency=medium
+
+  * Fix test failures with 0004-require-slim-haml.patch
+
+ -- Pirate Praveen <praveen at debian.org>  Wed, 13 Jan 2016 13:04:02 +0530
+
 ruby-handlebars-assets (2:0.21.0-2) unstable; urgency=medium
 
   * Reupload to unstable 
diff --git a/debian/patches/0004-require-slim-haml.patch b/debian/patches/0004-require-slim-haml.patch
new file mode 100644
index 0000000..73564ba
--- /dev/null
+++ b/debian/patches/0004-require-slim-haml.patch
@@ -0,0 +1,13 @@
+Index: ruby-handlebars-assets/test/test_helper.rb
+===================================================================
+--- ruby-handlebars-assets.orig/test/test_helper.rb
++++ ruby-handlebars-assets/test/test_helper.rb
+@@ -4,6 +4,8 @@ require 'handlebars_assets/handlebars_te
+ require 'handlebars_assets/handlebars'
+ 
+ require 'minitest/autorun'
++require 'haml'
++require 'slim'
+ 
+ module SprocketsScope
+   # Try to act like sprockets.
diff --git a/debian/patches/series b/debian/patches/series
index 93cddbd..b1d538e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 engine-root.patch
 0002-Fix-slimbars-test.patch
 0003-Reset-path-before-each-test-to-fix-the-first-one.patch
+0004-require-slim-haml.patch

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



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